29 references to GetNativeTypeHandle
System.Private.CoreLib (29)
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 (11)
293
Debug.Assert(!type.
GetNativeTypeHandle
().IsTypeDesc);
294
object result = InternalAlloc(type.
GetNativeTypeHandle
().AsMethodTable());
465
TypeHandle typeHandle = type.
GetNativeTypeHandle
();
545
TypeHandle typeHandle = type.
GetNativeTypeHandle
();
566
TypeHandle typeHandle = type.
GetNativeTypeHandle
();
669
TypeHandle th = type.
GetNativeTypeHandle
();
685
bool ret = TypeHandle.CanCastToForReflection(type.
GetNativeTypeHandle
(), target.
GetNativeTypeHandle
());
700
TypeHandle typeHandle = type.
GetNativeTypeHandle
();
1203
MethodTable* pMT = destNullableType.
GetNativeTypeHandle
().AsMethodTable();
1668
TypeHandle th = declaringType.
GetNativeTypeHandle
();
src\System\RuntimeType.BoxCache.cs (1)
40
TypeHandle handle = rt.
GetNativeTypeHandle
();
src\System\RuntimeType.CoreCLR.cs (14)
1730
TypeHandle typeHandle =
GetNativeTypeHandle
();
3339
TypeHandle th =
GetNativeTypeHandle
();
3381
TypeHandle th =
GetNativeTypeHandle
();
3397
TypeHandle th =
GetNativeTypeHandle
();
3409
TypeHandle th =
GetNativeTypeHandle
();
3427
TypeHandle th =
GetNativeTypeHandle
();
3439
TypeHandle th =
GetNativeTypeHandle
();
3451
TypeHandle th =
GetNativeTypeHandle
();
3461
TypeHandle th =
GetNativeTypeHandle
();
3472
TypeHandle th =
GetNativeTypeHandle
();
3484
TypeHandle th =
GetNativeTypeHandle
();
3496
TypeHandle th =
GetNativeTypeHandle
();
3649
TypeHandle th =
GetNativeTypeHandle
();
3659
CorElementType ret = (CorElementType)
GetNativeTypeHandle
().GetCorElementType();