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