[SRE] Added TypeBuilder.DefineNestedType overload.
authorMarcos Henrich <marcos.henrich@xamarin.com>
Fri, 24 Apr 2015 12:13:40 +0000 (13:13 +0100)
committerMarcos Henrich <marcos.henrich@xamarin.com>
Mon, 6 Jul 2015 11:36:25 +0000 (12:36 +0100)
mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs

index edf6d58852807e250a372202a96240db1ef8aa41..9eff8440e156e0f529df1291592e687f10bcd466 100644 (file)
@@ -448,6 +448,12 @@ namespace System.Reflection.Emit
                        return DefineNestedType (name, attr, parent, null, packSize, UnspecifiedTypeSize);
                }
 
+               public TypeBuilder DefineNestedType (string name, TypeAttributes attr, Type parent, PackingSize packSize,
+                                                    int typeSize)
+               {
+                       return DefineNestedType (name, attr, parent, null, packSize, typeSize);
+               }
+
                [ComVisible (true)]
                public ConstructorBuilder DefineConstructor (MethodAttributes attributes, CallingConventions callingConvention, Type[] parameterTypes)
                {