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