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); 29protected override TypeInfo CreateTypeInfoCore() => _typeBuilder.CreateTypeInfo(); 33FieldBuilder fieldBuilder = _typeBuilder.DefineField( 42_typeBuilder.SetCustomAttribute(con, binaryAttribute); 44public override Guid GUID => _typeBuilder.GUID; 46public override string Name => _typeBuilder.Name; 48public override Module Module => _typeBuilder.Module; 50public override Assembly Assembly => _typeBuilder.Assembly; 52public override RuntimeTypeHandle TypeHandle => _typeBuilder.TypeHandle; 54public override string? FullName => _typeBuilder.FullName; 56public override string? AssemblyQualifiedName => _typeBuilder.AssemblyQualifiedName; 58public override string? Namespace => _typeBuilder.Namespace; 60public override Type? BaseType => _typeBuilder.BaseType; 70public override Type? DeclaringType => _typeBuilder.DeclaringType; 72public override Type? ReflectedType => _typeBuilder.ReflectedType; 90public override Type? GetElementType() => _typeBuilder.GetElementType(); 92protected override bool HasElementTypeImpl() => _typeBuilder.HasElementType; 94protected override TypeAttributes GetAttributeFlagsImpl() => _typeBuilder.Attributes;
System\Reflection\Emit\ModuleBuilderImpl.cs (5)
1007Debug.Assert(eb._typeBuilder.IsCreated()); 1009return eb._typeBuilder._handle; 1024return en._typeBuilder._handle; 1146return eb._typeBuilder._handle; 1247_typeDefinitions.Add(enumBuilder._typeBuilder);