diff --git a/generator/GObjectVM.cs b/generator/GObjectVM.cs index 8aac614d8..00ae03428 100644 --- a/generator/GObjectVM.cs +++ b/generator/GObjectVM.cs @@ -54,6 +54,8 @@ namespace GtkSharp.Generation { public void Generate (GenerationInfo gen_info, ObjectBase implementor) { + gen_info.CurrentMember = Name; + if (!CanGenerate (gen_info, implementor)) throw new NotSupportedException (String.Format ("Cannot generate virtual method {0}.{1}. Make sure a writable glue path was provided to the generator.", container_type.Name, this.CallString));