2004-07-17 Martin Baulig <martin@ximian.com>
authorMartin Baulig <martin@novell.com>
Sat, 17 Jul 2004 16:49:14 +0000 (16:49 -0000)
committerMartin Baulig <martin@novell.com>
Sat, 17 Jul 2004 16:49:14 +0000 (16:49 -0000)
* TypeBuilder.cs (TypeBuilder.UnspecifiedTypeSize): Use -1, not 0.

svn path=/trunk/mcs/; revision=31259

mcs/class/corlib/System.Reflection.Emit/ChangeLog
mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs

index 99bd772d1a6aceb9f12d223f0aff5506cde19d4f..85c6ad9c159977feba37d89b2889ce5535f48e92 100644 (file)
@@ -1,3 +1,7 @@
+2004-07-17  Martin Baulig  <martin@ximian.com>
+
+       * TypeBuilder.cs (TypeBuilder.UnspecifiedTypeSize): Use -1, not 0.
+
 2004-07-07  Miguel de Icaza  <miguel@ximian.com>
 
        * LocalBuilder.cs: Remove MakePinned, we are now going to use
index 1f6884bdc126fb0adb607c41b5f8c1e178d43852..4f595cc66389a81f8b8f05f74577d471a2dcaab3 100644 (file)
@@ -74,7 +74,7 @@ namespace System.Reflection.Emit {
        private Type created;
        string fullname;
 
-       public const int UnspecifiedTypeSize = 0;
+       public const int UnspecifiedTypeSize = -1;
 
                protected override TypeAttributes GetAttributeFlagsImpl () {
                        return attrs;