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);
18 references to FieldBuilderImpl
System.Reflection.Emit (18)
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)
924
private FieldDefinitionHandle AddFieldDefinition(
FieldBuilderImpl
field, BlobBuilder fieldSignature) =>
1039
if (member is
FieldBuilderImpl
fb && Equals(fb.Module) && !fb.DeclaringType!.IsGenericTypeDefinition)
1071
if (field is
FieldBuilderImpl
fb && Equals(fb.Module))
1276
FieldBuilderImpl
field = (
FieldBuilderImpl
)_globalTypeBuilder.DefineInitializedData(name, data, attributes);
1312
FieldBuilderImpl
field = (
FieldBuilderImpl
)_globalTypeBuilder.DefineUninitializedData(name, size, attributes);
System\Reflection\Emit\TypeBuilderImpl.cs (8)
36
internal readonly List<
FieldBuilderImpl
> _fieldDefinitions = new();
266
var
field = new FieldBuilderImpl(this, fieldName, type, attributes, requiredCustomModifiers, optionalCustomModifiers);
466
((
FieldBuilderImpl
)fdBuilder).SetData(data);
843
foreach (
FieldBuilderImpl
fieldInfo in _fieldDefinitions)
866
private static BindingFlags GetBindingFlags(
FieldBuilderImpl
field)
881
List<
FieldBuilderImpl
> candidates = new List<
FieldBuilderImpl
>(_fieldDefinitions.Count);
882
foreach (
FieldBuilderImpl
fieldInfo in _fieldDefinitions)