Base:
property
FieldType
System.Reflection.FieldInfo.FieldType
15 references to FieldType
System.Private.CoreLib (15)
src\libraries\System.Private.CoreLib\src\System\Reflection\FieldAccessor.cs (12)
43
RuntimeType fieldType = (RuntimeType)_fieldInfo.
FieldType
;
149
_fieldInfo.
FieldType
);
169
ref Unsafe.AsRef<byte>(_addressOrOffset.ToPointer())), _fieldInfo.
FieldType
);
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);
199
if (_fieldInfo.DeclaringType is not null && ((RuntimeType)_fieldInfo.
FieldType
).IsNullableOfT)
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);
370
if (((RuntimeType)_fieldInfo.
FieldType
).IsActualValueType)
372
((RuntimeType)_fieldInfo.
FieldType
).CheckValue(ref value, binder, culture, invokeAttr);
375
else if (!ReferenceEquals(value.GetType(), _fieldInfo.
FieldType
))
377
((RuntimeType)_fieldInfo.
FieldType
).CheckValue(ref value, binder, culture, invokeAttr);
src\System\Reflection\RtFieldInfo.cs (3)
96
return RuntimeFieldHandle.GetValueDirect(this, (RuntimeType)
FieldType
, obj, (RuntimeType?)DeclaringType);
112
RuntimeFieldHandle.SetValueDirect(this, (RuntimeType)
FieldType
, obj, value, (RuntimeType?)DeclaringType);
149
ModifiedType.Create(
FieldType
, GetSignature());