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)
43RuntimeType fieldType = (RuntimeType)_fieldInfo.FieldType; 149_fieldInfo.FieldType); 169ref Unsafe.AsRef<byte>(_addressOrOffset.ToPointer())), _fieldInfo.FieldType); 178object? ret = RuntimeFieldHandle.GetValue(_fieldInfo, obj, (RuntimeType)_fieldInfo.FieldType, _fieldInfo.m_declaringType, ref isClassInitialized); 193return RuntimeFieldHandle.GetValue(_fieldInfo, obj, (RuntimeType)_fieldInfo.FieldType, _fieldInfo.m_declaringType, ref isClassInitialized); 199if (_fieldInfo.DeclaringType is not null && ((RuntimeType)_fieldInfo.FieldType).IsNullableOfT) 303RuntimeFieldHandle.SetValue(_fieldInfo, obj, value, (RuntimeType)_fieldInfo.FieldType, _fieldInfo.m_declaringType, ref isClassInitialized); 330RuntimeFieldHandle.SetValue(_fieldInfo, obj, value, (RuntimeType)_fieldInfo.FieldType, _fieldInfo.m_declaringType, ref isClassInitialized); 370if (((RuntimeType)_fieldInfo.FieldType).IsActualValueType) 372((RuntimeType)_fieldInfo.FieldType).CheckValue(ref value, binder, culture, invokeAttr); 375else if (!ReferenceEquals(value.GetType(), _fieldInfo.FieldType)) 377((RuntimeType)_fieldInfo.FieldType).CheckValue(ref value, binder, culture, invokeAttr);
src\System\Reflection\RtFieldInfo.cs (3)
96return RuntimeFieldHandle.GetValueDirect(this, (RuntimeType)FieldType, obj, (RuntimeType?)DeclaringType); 112RuntimeFieldHandle.SetValueDirect(this, (RuntimeType)FieldType, obj, value, (RuntimeType?)DeclaringType); 149ModifiedType.Create(FieldType, GetSignature());