c2230278b3
* AssemblyInfo.cs.in : add IgnoreClassInitializers attr to all. * generator/ObjectGen.cs : add custom-attr generation for objects. * glib/ClassInitializerAttribute.cs : obsolete * glib/IgnoreClassInitializersAttribute.cs : new assembly attr to avoid a blind GetMethods reflection. * glib/Makefile.am : add files * glib/TypeInitializerAttribute.cs : new attr to specify init method to be run at type registration. * gtk/Widget.custom : remove the ClassInitializerAttr. * gtk/Gtk.metadata : add a custom-attr node to GtkWidget. * sample/Subclass.cs : use the IgnoreClassInitializers attr. svn path=/trunk/gtk-sharp/; revision=85480
7 lines
229 B
C#
7 lines
229 B
C#
using System.Reflection;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
[assembly:AssemblyVersion("@API_VERSION@")]
|
|
[assembly:AssemblyDelaySign(false)]
|
|
[assembly:AssemblyKeyFile("gtk-sharp.snk")]
|
|
[assembly:GLib.IgnoreClassInitializers]
|