Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcos Henrich <marcos.henrich@xamarin.com>2015-04-24 15:13:40 +0300
committerMarcos Henrich <marcos.henrich@xamarin.com>2015-07-06 14:36:25 +0300
commita4c2f42e061129466c872230884c0165d4df9d54 (patch)
treed94e1d77a47eaf05267488c62fffc7b3018176a8 /mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
parentb3ced10029924875998e9bf0187d726b3f6883a7 (diff)
[SRE] Added TypeBuilder.DefineNestedType overload.
Diffstat (limited to 'mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs')
-rw-r--r--mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs b/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
index edf6d588528..9eff8440e15 100644
--- a/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
+++ b/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
@@ -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)
{