31 references to GetNativeTypeHandle
System.Private.CoreLib (31)
src\System\Enum.CoreCLR.cs (2)
21
CorElementType elementType = rt.
GetNativeTypeHandle
().AsMethodTable()->GetPrimitiveCorElementType();
71
RuntimeType? underlyingType = s_underlyingTypes[(int)enumType.
GetNativeTypeHandle
().AsMethodTable()->GetPrimitiveCorElementType()];
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (1)
101
TypeHandle th = targetTypeHandle.GetRuntimeType().
GetNativeTypeHandle
();
src\System\RuntimeHandles.cs (13)
293
Debug.Assert(!type.
GetNativeTypeHandle
().IsTypeDesc);
294
object result = InternalAlloc(type.
GetNativeTypeHandle
().AsMethodTable());
304
Debug.Assert(!type.
GetNativeTypeHandle
().IsTypeDesc);
306
InternalAllocNoChecks(type.
GetNativeTypeHandle
().AsMethodTable(), ObjectHandleOnStack.Create(ref result));
456
TypeHandle typeHandle = type.
GetNativeTypeHandle
();
536
TypeHandle typeHandle = type.
GetNativeTypeHandle
();
557
TypeHandle typeHandle = type.
GetNativeTypeHandle
();
660
TypeHandle th = type.
GetNativeTypeHandle
();
676
bool ret = TypeHandle.CanCastToForReflection(type.
GetNativeTypeHandle
(), target.
GetNativeTypeHandle
());
691
TypeHandle typeHandle = type.
GetNativeTypeHandle
();
1194
MethodTable* pMT = destNullableType.
GetNativeTypeHandle
().AsMethodTable();
1659
TypeHandle th = declaringType.
GetNativeTypeHandle
();
src\System\RuntimeType.BoxCache.cs (1)
40
TypeHandle handle = rt.
GetNativeTypeHandle
();
src\System\RuntimeType.CoreCLR.cs (14)
1754
TypeHandle typeHandle =
GetNativeTypeHandle
();
3360
TypeHandle th =
GetNativeTypeHandle
();
3402
TypeHandle th =
GetNativeTypeHandle
();
3418
TypeHandle th =
GetNativeTypeHandle
();
3430
TypeHandle th =
GetNativeTypeHandle
();
3448
TypeHandle th =
GetNativeTypeHandle
();
3460
TypeHandle th =
GetNativeTypeHandle
();
3472
TypeHandle th =
GetNativeTypeHandle
();
3482
TypeHandle th =
GetNativeTypeHandle
();
3493
TypeHandle th =
GetNativeTypeHandle
();
3505
TypeHandle th =
GetNativeTypeHandle
();
3517
TypeHandle th =
GetNativeTypeHandle
();
3670
TypeHandle th =
GetNativeTypeHandle
();
3680
CorElementType ret = (CorElementType)
GetNativeTypeHandle
().GetCorElementType();