Base:
property
TypeHandle
System.Type.TypeHandle
34 references to TypeHandle
System.Private.CoreLib (34)
src\libraries\System.Private.CoreLib\src\System\Enum.cs (9)
770
result = parsed ? InternalBoxEnum(rt.
TypeHandle
, longScratch) : null;
2225
InternalBoxEnum(ValidateRuntimeType(enumType).
TypeHandle
, value);
2228
InternalBoxEnum(ValidateRuntimeType(enumType).
TypeHandle
, value);
2231
InternalBoxEnum(ValidateRuntimeType(enumType).
TypeHandle
, value);
2234
InternalBoxEnum(ValidateRuntimeType(enumType).
TypeHandle
, value);
2238
InternalBoxEnum(ValidateRuntimeType(enumType).
TypeHandle
, value);
2242
InternalBoxEnum(ValidateRuntimeType(enumType).
TypeHandle
, value);
2245
InternalBoxEnum(ValidateRuntimeType(enumType).
TypeHandle
, value);
2249
InternalBoxEnum(ValidateRuntimeType(enumType).
TypeHandle
, unchecked((long)value));
src\libraries\System.Private.CoreLib\src\System\Reflection\FieldAccessor.cs (6)
53
_methodTable = (MethodTable*)fieldType.
TypeHandle
.Value;
60
_methodTable = (MethodTable*)fieldType.
TypeHandle
.Value;
66
_methodTable = (MethodTable*)fieldType.
TypeHandle
.Value;
71
_methodTable = (MethodTable*)fieldType.
TypeHandle
.Value;
95
_methodTable = (MethodTable*)fieldType.
TypeHandle
.Value;
100
_methodTable = (MethodTable*)fieldType.
TypeHandle
.Value;
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (1)
914
return RuntimeHelpers.Box(ref RuntimeHelpers.GetRawData(value), type.
TypeHandle
)!;
src\System\Reflection\Associates.cs (2)
54
RuntimeType[] genericArguments = declaredType.
TypeHandle
.GetInstantiationInternal();
62
genericArgumentHandles[i] = genericArguments[i].
TypeHandle
.Value;
src\System\Reflection\Emit\DynamicILGenerator.cs (5)
498
return m_scope.GetTokenFor(rtType.
TypeHandle
);
508
return m_scope.GetTokenFor(runtimeField.FieldHandle, rtType.
TypeHandle
);
518
return m_scope.GetTokenFor(rtMeth.MethodHandle, rtType.
TypeHandle
);
528
return m_scope.GetTokenFor(rtMeth.MethodHandle, rtType.
TypeHandle
);
823
typeHandle = vaMeth.m_method.GetDeclaringTypeInternal().
TypeHandle
.Value;
src\System\Reflection\Emit\SignatureHelper.cs (2)
755
int token = dynamicScope.GetTokenFor(rtType.
TypeHandle
);
778
int token = dynamicScope.GetTokenFor(rtType.
TypeHandle
);
src\System\Reflection\RuntimeCustomAttributeData.cs (1)
1701
RuntimeTypeHandle attributeTypeHandle = attributeType.
TypeHandle
;
src\System\RuntimeHandles.cs (4)
235
IntPtr typeHandle = genericParameter.
TypeHandle
.Value;
261
genericParameter1.
TypeHandle
.Value,
262
genericParameter2.
TypeHandle
.Value
760
IntPtr ptr = inst.
TypeHandle
.Value;
src\System\RuntimeType.CoreCLR.cs (4)
953
new MdFieldInfo(tkField, fieldAttributes, declaringType.
TypeHandle
, m_runtimeTypeCache, bindingFlags);
2720
RuntimeTypeHandle ifaceRtTypeHandle = ifaceRtType.
TypeHandle
;
2722
TypeHandle
.VerifyInterfaceIsImplemented(ifaceRtTypeHandle);
2749
RuntimeMethodHandleInternal classRtMethodHandle =
TypeHandle
.GetInterfaceMethodImplementation(ifaceRtTypeHandle, ifaceRtMethodHandle);