1 write to m_typeBuilder
System.Private.CoreLib (1)
src\System\Reflection\Emit\RuntimeEnumBuilder.cs (1)
308
m_typeBuilder
= new RuntimeTypeBuilder(name, visibility | TypeAttributes.Sealed, typeof(Enum), null, module, PackingSize.Unspecified, TypeBuilder.UnspecifiedTypeSize, null);
45 references to m_typeBuilder
System.Private.CoreLib (45)
src\System\Reflection\Emit\RuntimeEnumBuilder.cs (41)
33
FieldBuilder fieldBuilder =
m_typeBuilder
.DefineField(
44
return
m_typeBuilder
.CreateTypeInfo();
48
internal int TypeToken =>
m_typeBuilder
.TypeToken;
54
public override string Name =>
m_typeBuilder
.Name;
59
public override Guid GUID =>
m_typeBuilder
.GUID;
72
return
m_typeBuilder
.InvokeMember(name, invokeAttr, binder, target, args, modifiers, culture, namedParameters);
75
public override Module Module =>
m_typeBuilder
.Module;
77
public override Assembly Assembly =>
m_typeBuilder
.Assembly;
79
public override RuntimeTypeHandle TypeHandle =>
m_typeBuilder
.TypeHandle;
81
public override string? FullName =>
m_typeBuilder
.FullName;
83
public override string? AssemblyQualifiedName =>
m_typeBuilder
.AssemblyQualifiedName;
85
public override string? Namespace =>
m_typeBuilder
.Namespace;
87
public override Type? BaseType =>
m_typeBuilder
.BaseType;
95
return
m_typeBuilder
.GetConstructor(bindingAttr, binder, callConvention,
102
return
m_typeBuilder
.GetConstructors(bindingAttr);
110
return
m_typeBuilder
.GetMethod(name, bindingAttr);
112
return
m_typeBuilder
.GetMethod(name, bindingAttr, binder, callConvention, types, modifiers);
118
return
m_typeBuilder
.GetMethods(bindingAttr);
124
return
m_typeBuilder
.GetField(name, bindingAttr);
130
return
m_typeBuilder
.GetFields(bindingAttr);
137
return
m_typeBuilder
.GetInterface(name, ignoreCase);
143
return
m_typeBuilder
.GetInterfaces();
149
return
m_typeBuilder
.GetEvent(name, bindingAttr);
155
return
m_typeBuilder
.GetEvents();
168
return
m_typeBuilder
.GetProperties(bindingAttr);
174
return
m_typeBuilder
.GetNestedTypes(bindingAttr);
180
return
m_typeBuilder
.GetNestedType(name, bindingAttr);
186
return
m_typeBuilder
.GetMember(name, type, bindingAttr);
192
return
m_typeBuilder
.GetMembers(bindingAttr);
197
return
m_typeBuilder
.GetInterfaceMap(interfaceType);
203
return
m_typeBuilder
.GetEvents(bindingAttr);
208
return
m_typeBuilder
.Attributes;
248
return
m_typeBuilder
.GetElementType();
253
return
m_typeBuilder
.HasElementType;
267
return
m_typeBuilder
.GetCustomAttributes(inherit);
273
return
m_typeBuilder
.GetCustomAttributes(attributeType, inherit);
279
m_typeBuilder
.SetCustomAttribute(con, binaryAttribute);
283
public override Type? DeclaringType =>
m_typeBuilder
.DeclaringType;
287
public override Type? ReflectedType =>
m_typeBuilder
.ReflectedType;
292
return
m_typeBuilder
.IsDefined(attributeType, inherit);
311
m_underlyingField =
m_typeBuilder
.DefineField("value__", underlyingType, FieldAttributes.Public | FieldAttributes.SpecialName | FieldAttributes.RTSpecialName);
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (2)
527
tmpTypeBldr = enumBldr.
m_typeBuilder
;
925
typeBuilder = type is RuntimeEnumBuilder enumBuilder ? enumBuilder.
m_typeBuilder
: type as RuntimeTypeBuilder;
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (1)
220
if (type != enumBldr.
m_typeBuilder
.m_bakedRuntimeType && type != underlyingType)
src\System\Reflection\Emit\SignatureHelper.cs (1)
370
RuntimeTypeBuilder rtBuilder = reBuilder.
m_typeBuilder
;