2 types derived from RuntimeFieldInfo
System.Private.CoreLib (2)
src\System\Reflection\MdFieldInfo.cs (1)
11
internal sealed unsafe class MdFieldInfo :
RuntimeFieldInfo
src\System\Reflection\RtFieldInfo.cs (1)
12
internal sealed unsafe class RtFieldInfo :
RuntimeFieldInfo
, IRuntimeFieldInfo
29 references to RuntimeFieldInfo
System.Private.CoreLib (29)
src\libraries\System.Private.CoreLib\src\System\TypedReference.cs (2)
33
RuntimeFieldInfo
field = flds[i] as
RuntimeFieldInfo
?? throw new ArgumentException(SR.Argument_MustBeRuntimeFieldInfo);
src\System\Reflection\Emit\DynamicILGenerator.cs (4)
144
RuntimeFieldInfo
runtimeField = field as
RuntimeFieldInfo
??
495
private int GetTokenFor(
RuntimeFieldInfo
runtimeField)
500
private int GetTokenFor(
RuntimeFieldInfo
runtimeField, RuntimeType rtType)
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (2)
150
private int GetMemberRefOfFieldInfo(int tkType, RuntimeTypeHandle declaringType,
RuntimeFieldInfo
runtimeField)
1203
else if (field is
RuntimeFieldInfo
rtField)
src\System\Reflection\RuntimeCustomAttributeData.cs (1)
28
internal static IList<CustomAttributeData> GetCustomAttributesInternal(
RuntimeFieldInfo
target)
src\System\Reflection\RuntimeFieldInfo.cs (1)
45
public sealed override bool HasSameMetadataDefinitionAs(MemberInfo other) => HasSameMetadataDefinitionAsCore<
RuntimeFieldInfo
>(other);
src\System\RuntimeHandles.cs (2)
1245
internal static ref byte GetFieldDataReference(object target,
RuntimeFieldInfo
field)
1254
internal static ref byte GetFieldDataReference(ref byte target,
RuntimeFieldInfo
field)
src\System\RuntimeType.CoreCLR.cs (17)
322
T[] list = (T[])(object)new
RuntimeFieldInfo
[1] {
807
private
RuntimeFieldInfo
[] PopulateFields(Filter filter)
809
ListBuilder<
RuntimeFieldInfo
> list = default;
858
private unsafe void PopulateRtFields(Filter filter, RuntimeType declaringType, ref ListBuilder<
RuntimeFieldInfo
> list)
878
IntPtr* ppFieldHandles, int count, RuntimeType declaringType, ref ListBuilder<
RuntimeFieldInfo
> list)
917
RuntimeFieldInfo
runtimeFieldInfo =
924
private void PopulateLiteralFields(Filter filter, RuntimeType declaringType, ref ListBuilder<
RuntimeFieldInfo
> list)
974
RuntimeFieldInfo
runtimeFieldInfo =
1449
private MemberInfoCache<
RuntimeFieldInfo
>? m_fieldInfoCache;
1741
internal
RuntimeFieldInfo
[] GetFieldList(MemberListType listType, string? name)
2611
RuntimeFieldInfo
[] cache = Cache.GetFieldList(listType, name);
2618
RuntimeFieldInfo
fieldInfo = cache[i];
2943
RuntimeFieldInfo
[] cache = Cache.GetFieldList(listType, name);
2951
RuntimeFieldInfo
fieldInfo = cache[i];
3203
private static
RuntimeFieldInfo
? GetFieldWithSameMetadataDefinitionAs(RuntimeType runtimeType, MemberInfo field)
3205
RuntimeFieldInfo
[] cache = runtimeType.Cache.GetFieldList(MemberListType.CaseSensitive, field.Name);
3209
RuntimeFieldInfo
candidate = cache[i];