1 write to m_declaringType
System.Private.CoreLib (1)
src\System\Reflection\RuntimeFieldInfo.cs (1)
21
m_declaringType
= declaringType;
21 references to m_declaringType
System.Private.CoreLib (21)
src\libraries\System.Private.CoreLib\src\System\Reflection\FieldAccessor.cs (8)
21
Debug.Assert(_fieldInfo.
m_declaringType
!= null);
23
if (_fieldInfo.
m_declaringType
.ContainsGenericParameters ||
24
_fieldInfo.
m_declaringType
.IsNullableOfT)
178
object? ret = RuntimeFieldHandle.GetValue(_fieldInfo, obj, (RuntimeType)_fieldInfo.FieldType, _fieldInfo.
m_declaringType
, ref isClassInitialized);
193
return RuntimeFieldHandle.GetValue(_fieldInfo, obj, (RuntimeType)_fieldInfo.FieldType, _fieldInfo.
m_declaringType
, ref isClassInitialized);
303
RuntimeFieldHandle.SetValue(_fieldInfo, obj, value, (RuntimeType)_fieldInfo.FieldType, _fieldInfo.
m_declaringType
, ref isClassInitialized);
330
RuntimeFieldHandle.SetValue(_fieldInfo, obj, value, (RuntimeType)_fieldInfo.FieldType, _fieldInfo.
m_declaringType
, ref isClassInitialized);
352
if (!_fieldInfo.
m_declaringType
.IsInstanceOfType(target))
src\System\Reflection\MdFieldInfo.cs (7)
37
ReferenceEquals(
m_declaringType
, m.
m_declaringType
);
45
internal override RuntimeModule GetRuntimeModule() { return
m_declaringType
.GetRuntimeModule(); }
52
ReferenceEquals(fi.
m_declaringType
,
m_declaringType
) &&
56
HashCode.Combine(m_tkField.GetHashCode(),
m_declaringType
.GetUnderlyingNativeHandle().GetHashCode());
118
(int)fieldMarshal.Length,
m_declaringType
).FieldType;
src\System\Reflection\RtFieldInfo.cs (2)
77
HashCode.Combine(m_fieldHandle.GetHashCode(),
m_declaringType
.GetUnderlyingNativeHandle().GetHashCode());
146
internal Signature GetSignature() => new Signature(this,
m_declaringType
);
src\System\Reflection\RuntimeFieldInfo.cs (4)
32
return
m_declaringType
;
35
internal RuntimeType GetRuntimeType() { return
m_declaringType
; }
43
public override Type? DeclaringType => m_reflectedTypeCache.IsGlobal ? null :
m_declaringType
;
48
public override bool IsCollectible =>
m_declaringType
.IsCollectible;