29 references to GetNativeTypeHandle
System.Private.CoreLib (29)
src\System\Enum.CoreCLR.cs (2)
21CorElementType elementType = rt.GetNativeTypeHandle().AsMethodTable()->GetPrimitiveCorElementType(); 71RuntimeType? underlyingType = s_underlyingTypes[(int)enumType.GetNativeTypeHandle().AsMethodTable()->GetPrimitiveCorElementType()];
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (1)
101TypeHandle th = targetTypeHandle.GetRuntimeType().GetNativeTypeHandle();
src\System\RuntimeHandles.cs (11)
293Debug.Assert(!type.GetNativeTypeHandle().IsTypeDesc); 294object result = InternalAlloc(type.GetNativeTypeHandle().AsMethodTable()); 465TypeHandle typeHandle = type.GetNativeTypeHandle(); 545TypeHandle typeHandle = type.GetNativeTypeHandle(); 566TypeHandle typeHandle = type.GetNativeTypeHandle(); 669TypeHandle th = type.GetNativeTypeHandle(); 685bool ret = TypeHandle.CanCastToForReflection(type.GetNativeTypeHandle(), target.GetNativeTypeHandle()); 700TypeHandle typeHandle = type.GetNativeTypeHandle(); 1203MethodTable* pMT = destNullableType.GetNativeTypeHandle().AsMethodTable(); 1668TypeHandle th = declaringType.GetNativeTypeHandle();
src\System\RuntimeType.BoxCache.cs (1)
40TypeHandle handle = rt.GetNativeTypeHandle();
src\System\RuntimeType.CoreCLR.cs (14)
1754TypeHandle typeHandle = GetNativeTypeHandle(); 3376TypeHandle th = GetNativeTypeHandle(); 3418TypeHandle th = GetNativeTypeHandle(); 3434TypeHandle th = GetNativeTypeHandle(); 3446TypeHandle th = GetNativeTypeHandle(); 3464TypeHandle th = GetNativeTypeHandle(); 3476TypeHandle th = GetNativeTypeHandle(); 3488TypeHandle th = GetNativeTypeHandle(); 3498TypeHandle th = GetNativeTypeHandle(); 3509TypeHandle th = GetNativeTypeHandle(); 3521TypeHandle th = GetNativeTypeHandle(); 3533TypeHandle th = GetNativeTypeHandle(); 3686TypeHandle th = GetNativeTypeHandle(); 3696CorElementType ret = (CorElementType)GetNativeTypeHandle().GetCorElementType();