1 write to _typeBuilder
System.Reflection.Emit (1)
System\Reflection\Emit\EnumBuilderImpl.cs (1)
19
_typeBuilder
= new TypeBuilderImpl(name, visibility | TypeAttributes.Sealed, typeof(Enum), module,
23 references to _typeBuilder
System.Reflection.Emit (23)
System\Reflection\Emit\EnumBuilderImpl.cs (18)
23
_underlyingField =
_typeBuilder
.DefineField("value__", underlyingType, FieldAttributes.Public | FieldAttributes.SpecialName | FieldAttributes.RTSpecialName);
29
protected override TypeInfo CreateTypeInfoCore() =>
_typeBuilder
.CreateTypeInfo();
33
FieldBuilder fieldBuilder =
_typeBuilder
.DefineField(
42
_typeBuilder
.SetCustomAttribute(con, binaryAttribute);
44
public override Guid GUID =>
_typeBuilder
.GUID;
46
public override string Name =>
_typeBuilder
.Name;
48
public override Module Module =>
_typeBuilder
.Module;
50
public override Assembly Assembly =>
_typeBuilder
.Assembly;
52
public override RuntimeTypeHandle TypeHandle =>
_typeBuilder
.TypeHandle;
54
public override string? FullName =>
_typeBuilder
.FullName;
56
public override string? AssemblyQualifiedName =>
_typeBuilder
.AssemblyQualifiedName;
58
public override string? Namespace =>
_typeBuilder
.Namespace;
60
public override Type? BaseType =>
_typeBuilder
.BaseType;
70
public override Type? DeclaringType =>
_typeBuilder
.DeclaringType;
72
public override Type? ReflectedType =>
_typeBuilder
.ReflectedType;
90
public override Type? GetElementType() =>
_typeBuilder
.GetElementType();
92
protected override bool HasElementTypeImpl() =>
_typeBuilder
.HasElementType;
94
protected override TypeAttributes GetAttributeFlagsImpl() =>
_typeBuilder
.Attributes;
System\Reflection\Emit\ModuleBuilderImpl.cs (5)
1004
Debug.Assert(eb.
_typeBuilder
.IsCreated());
1006
return eb.
_typeBuilder
._handle;
1021
return en.
_typeBuilder
._handle;
1143
return eb.
_typeBuilder
._handle;
1244
_typeDefinitions.Add(enumBuilder.
_typeBuilder
);