Base:
property
TypeHandle
System.Type.TypeHandle
18 references to TypeHandle
System.Private.CoreLib (18)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Enum.cs (9)
770
result = parsed ? InternalBoxEnum(rt.
TypeHandle
, longScratch) : null;
2226
InternalBoxEnum(ValidateRuntimeType(enumType).
TypeHandle
, value);
2229
InternalBoxEnum(ValidateRuntimeType(enumType).
TypeHandle
, value);
2232
InternalBoxEnum(ValidateRuntimeType(enumType).
TypeHandle
, value);
2235
InternalBoxEnum(ValidateRuntimeType(enumType).
TypeHandle
, value);
2239
InternalBoxEnum(ValidateRuntimeType(enumType).
TypeHandle
, value);
2243
InternalBoxEnum(ValidateRuntimeType(enumType).
TypeHandle
, value);
2246
InternalBoxEnum(ValidateRuntimeType(enumType).
TypeHandle
, value);
2250
InternalBoxEnum(ValidateRuntimeType(enumType).
TypeHandle
, unchecked((long)value));
System\Array.NativeAot.cs (2)
112
? arrayType.
TypeHandle
124
MethodTable* eeType = arrayType.
TypeHandle
.ToMethodTable();
System\Enum.NativeAot.cs (2)
30
return enumType.
TypeHandle
.ToMethodTable()->ElementType switch
71
return new EETypePtr(rt.
TypeHandle
.ToMethodTable()).CorElementType;
System\InvokeUtils.cs (1)
385
if (dstEEType == typeof(void*).TypeHandle.ToMethodTable() || RuntimeImports.AreTypesAssignable(pSourceType: srcPointer.GetPointerType().
TypeHandle
.ToMethodTable(), pTargetType: dstEEType))
System\Runtime\InteropServices\Marshal.NativeAot.cs (2)
29
return RuntimeInteropData.GetStructUnsafeStructSize(t.
TypeHandle
);
160
return PInvokeMarshal.GetDelegateForFunctionPointer(ptr, t.
TypeHandle
);
System\Runtime\InteropServices\TypeMapLazyDictionary.NativeAot.cs (2)
23
RuntimeTypeHandle typeMapGroupHandle = typeMapGroup.
TypeHandle
;
66
RuntimeTypeHandle typeMapGroupHandle = typeMapGroup.
TypeHandle
;