2 instantiations of RtFieldInfo
System.Private.CoreLib (2)
src\System\RuntimeType.CoreCLR.cs (2)
323new RtFieldInfo(field, ReflectedType, m_runtimeTypeCache, bindingFlags) 907new RtFieldInfo(runtimeFieldHandle, declaringType, m_runtimeTypeCache, bindingFlags);
16 references to RtFieldInfo
System.Private.CoreLib (16)
src\libraries\System.Private.CoreLib\src\System\Reflection\FieldAccessor.cs (2)
13private readonly RtFieldInfo _fieldInfo; 20_fieldInfo = (RtFieldInfo)fieldInfo;
src\System\Reflection\RtFieldInfo.cs (2)
52return o is RtFieldInfo m && m.m_fieldHandle == m_fieldHandle; 72obj is RtFieldInfo fi &&
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (1)
48if (f is not RtFieldInfo rtField)
src\System\RuntimeHandles.cs (10)
1505internal static extern bool IsFastPathSupported(RtFieldInfo field); 1508internal static extern int GetInstanceFieldOffset(RtFieldInfo field); 1511internal static extern IntPtr GetStaticFieldAddress(RtFieldInfo field); 1520GetFieldDataReference(((RtFieldInfo)field).GetFieldDesc(), ObjectHandleOnStack.Create(ref target), ByteRefOnStack.Create(ref fieldDataRef)); 1529int offset = GetInstanceFieldOffset((RtFieldInfo)field); 1539internal static int GetToken(RtFieldInfo field) 1555internal static object? GetValue(RtFieldInfo field, object? instance, RuntimeType fieldType, RuntimeType? declaringType, ref bool isClassInitialized) 1576internal static object? GetValueDirect(RtFieldInfo field, RuntimeType fieldType, TypedReference typedRef, RuntimeType? contextType) 1598internal static void SetValue(RtFieldInfo field, object? obj, object? value, RuntimeType fieldType, RuntimeType? declaringType, ref bool isClassInitialized) 1617internal static void SetValueDirect(RtFieldInfo field, RuntimeType fieldType, TypedReference typedRef, object? value, RuntimeType? contextType)
src\System\RuntimeType.CoreCLR.cs (1)
304if (candidate is RtFieldInfo candidateRtFI && candidateRtFI.GetFieldDesc() == field.Value)