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 class RtFieldInfo : RuntimeFieldInfo, IRuntimeFieldInfo
35 references to RuntimeFieldInfo
System.Private.CoreLib (35)
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 ?? 501private int GetTokenFor(RuntimeFieldInfo runtimeField) 506private 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 (7)
28internal static IList<CustomAttributeData> GetCustomAttributesInternal(RuntimeFieldInfo target) 1202internal static bool IsDefined(RuntimeFieldInfo field, RuntimeType caType) 1360internal static object[] GetCustomAttributes(RuntimeFieldInfo field, RuntimeType caType) 2123internal static void GetCustomAttributes(RuntimeFieldInfo field, RuntimeType caType, ref RuntimeType.ListBuilder<Attribute> pcas) 2152internal static bool IsDefined(RuntimeFieldInfo field, RuntimeType? caType) 2235private static MarshalAsAttribute? GetMarshalAsCustomAttribute(RuntimeFieldInfo field) 2250private static FieldOffsetAttribute? GetFieldOffsetCustomAttribute(RuntimeFieldInfo field)
src\System\Reflection\RuntimeFieldInfo.cs (1)
45public sealed override bool HasSameMetadataDefinitionAs(MemberInfo other) => HasSameMetadataDefinitionAsCore<RuntimeFieldInfo>(other);
src\System\RuntimeHandles.cs (2)
1552internal static ref byte GetFieldDataReference(object target, RuntimeFieldInfo field) 1561internal static ref byte GetFieldDataReference(ref byte target, RuntimeFieldInfo field)
src\System\RuntimeType.CoreCLR.cs (17)
315T[] list = (T[])(object)new RuntimeFieldInfo[1] { 789private RuntimeFieldInfo[] PopulateFields(Filter filter) 791ListBuilder<RuntimeFieldInfo> list = default; 832private unsafe void PopulateRtFields(Filter filter, RuntimeType declaringType, ref ListBuilder<RuntimeFieldInfo> list) 849ReadOnlySpan<IntPtr> fieldHandles, RuntimeType declaringType, ref ListBuilder<RuntimeFieldInfo> list) 888RuntimeFieldInfo runtimeFieldInfo = 895private void PopulateLiteralFields(Filter filter, RuntimeType declaringType, ref ListBuilder<RuntimeFieldInfo> list) 945RuntimeFieldInfo runtimeFieldInfo = 1411private MemberInfoCache<RuntimeFieldInfo>? m_fieldInfoCache; 1685internal RuntimeFieldInfo[] GetFieldList(MemberListType listType, string? name) 2571RuntimeFieldInfo[] cache = Cache.GetFieldList(listType, name); 2578RuntimeFieldInfo fieldInfo = cache[i]; 2919RuntimeFieldInfo[] cache = Cache.GetFieldList(listType, name); 2927RuntimeFieldInfo fieldInfo = cache[i]; 3179private static RuntimeFieldInfo? GetFieldWithSameMetadataDefinitionAs(RuntimeType runtimeType, MemberInfo field) 3181RuntimeFieldInfo[] cache = runtimeType.Cache.GetFieldList(MemberListType.CaseSensitive, field.Name); 3185RuntimeFieldInfo candidate = cache[i];