1 instantiation of FieldBuilderImpl
System.Reflection.Emit (1)
System\Reflection\Emit\TypeBuilderImpl.cs (1)
266
var field = new
FieldBuilderImpl
(this, fieldName, type, attributes, requiredCustomModifiers, optionalCustomModifiers);
16 references to FieldBuilderImpl
System.Reflection.Emit (16)
System\Reflection\Emit\ModuleBuilderImpl.cs (10)
302
private void PopulateFieldDefinitionHandles(List<
FieldBuilderImpl
> fieldDefinitions)
304
foreach (
FieldBuilderImpl
field in fieldDefinitions)
635
foreach (
FieldBuilderImpl
field in typeBuilder._fieldDefinitions)
927
private FieldDefinitionHandle AddFieldDefinition(
FieldBuilderImpl
field, BlobBuilder fieldSignature) =>
1042
if (member is
FieldBuilderImpl
fb && Equals(fb.Module) && !fb.DeclaringType!.IsGenericTypeDefinition)
1074
if (field is
FieldBuilderImpl
fb && Equals(fb.Module))
1279
FieldBuilderImpl
field = (
FieldBuilderImpl
)_globalTypeBuilder.DefineInitializedData(name, data, attributes);
1315
FieldBuilderImpl
field = (
FieldBuilderImpl
)_globalTypeBuilder.DefineUninitializedData(name, size, attributes);
System\Reflection\Emit\TypeBuilderImpl.cs (6)
36
internal readonly List<
FieldBuilderImpl
> _fieldDefinitions = new();
266
var
field = new FieldBuilderImpl(this, fieldName, type, attributes, requiredCustomModifiers, optionalCustomModifiers);
466
((
FieldBuilderImpl
)fdBuilder).SetData(data);
882
foreach (
FieldBuilderImpl
fieldInfo in _fieldDefinitions)
905
private static BindingFlags GetBindingFlags(
FieldBuilderImpl
field)
941
foreach (
FieldBuilderImpl
fieldInfo in _fieldDefinitions)