Browse Source

2008-01-29 Zoltan Varga <[email protected]>

	* ModuleBuilder.cs: Fix build.

svn path=/trunk/mcs/; revision=94307
Zoltan Varga 18 years ago
parent
commit
2bb04fcdbd

+ 2 - 0
mcs/class/corlib/System.Reflection.Emit/ChangeLog

@@ -1,5 +1,7 @@
 2008-01-29  Zoltan Varga  <[email protected]>
 
+	* ModuleBuilder.cs: Fix build.
+
 	* AssemblyBuilder.cs (GetTypes): Implement this entirely in managed code.
 
 	* ModuleBuilder.cs (GetTypes): Replace TypeBuilders with their created types to

+ 1 - 1
mcs/class/corlib/System.Reflection.Emit/ModuleBuilder.cs

@@ -472,7 +472,7 @@ namespace System.Reflection.Emit {
 
 			// MS replaces the typebuilders with their created types
 			for (int i = 0; i < copy.Length; ++i)
-				if (types [i].IsCreated ())
+				if (types [i].is_created)
 					copy [i] = types [i].CreateType ();
 
 			return copy;