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