2 writes to _module
System.Reflection.Emit (2)
System\Reflection\Emit\TypeBuilderImpl.cs (2)
48
_module
= module;
58
_module
= module;
15 references to _module
System.Reflection.Emit (15)
System\Reflection\Emit\TypeBuilderImpl.cs (15)
86
internal ModuleBuilderImpl GetModuleBuilder() =>
_module
;
193
parameterTypes, requiredCustomModifiers, optionalCustomModifiers,
_module
, this);
215
(_typeParent.GetGenericTypeDefinition() is TypeBuilderImpl ||
_module
.ContainsTypeBuilder(_typeParent.GetGenericArguments())))
309
returnTypeOptionalCustomModifiers, parameterTypes, parameterTypeRequiredCustomModifiers, parameterTypeOptionalCustomModifiers,
_module
, this);
375
return
_module
.DefineNestedType(name, attr, parent, interfaces, packSize, typeSize, this);
397
returnTypeOptionalCustomModifiers, parameterTypes, parameterTypeRequiredCustomModifiers, parameterTypeOptionalCustomModifiers,
_module
, this);
425
return new ConstructorBuilderImpl(ConstructorInfo.TypeConstructorName, attr, CallingConventions.Standard, null, null, null,
_module
, this);
452
TypeBuilderImpl? valueClassType =
_module
.FindTypeBuilderWithName(strValueClassName, false);
459
valueClassType = (TypeBuilderImpl)
_module
.DefineType(strValueClassName, typeAttributes,
_module
.GetTypeFromCoreAssembly(CoreTypeId.ValueType), PackingSize.Size1, size);
576
_typeParent =
_module
.GetTypeFromCoreAssembly(CoreTypeId.Object);
616
public override Assembly Assembly =>
_module
.Assembly;
617
public override Module Module =>
_module
;
650
protected override bool IsValueTypeImpl() => IsSubclassOf(
_module
.GetTypeFromCoreAssembly(CoreTypeId.ValueType));
1153
foreach (TypeBuilderImpl type in
_module
.GetNestedTypeBuilders(this))