31 references to GetNativeTypeHandle
System.Private.CoreLib (31)
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 (13)
293Debug.Assert(!type.GetNativeTypeHandle().IsTypeDesc); 294object result = InternalAlloc(type.GetNativeTypeHandle().AsMethodTable()); 304Debug.Assert(!type.GetNativeTypeHandle().IsTypeDesc); 306InternalAllocNoChecks(type.GetNativeTypeHandle().AsMethodTable(), ObjectHandleOnStack.Create(ref result)); 456TypeHandle typeHandle = type.GetNativeTypeHandle(); 536TypeHandle typeHandle = type.GetNativeTypeHandle(); 557TypeHandle typeHandle = type.GetNativeTypeHandle(); 660TypeHandle th = type.GetNativeTypeHandle(); 676bool ret = TypeHandle.CanCastToForReflection(type.GetNativeTypeHandle(), target.GetNativeTypeHandle()); 691TypeHandle typeHandle = type.GetNativeTypeHandle(); 1194MethodTable* pMT = destNullableType.GetNativeTypeHandle().AsMethodTable(); 1659TypeHandle th = declaringType.GetNativeTypeHandle();
src\System\RuntimeType.BoxCache.cs (1)
40TypeHandle handle = rt.GetNativeTypeHandle();
src\System\RuntimeType.CoreCLR.cs (14)
1754TypeHandle typeHandle = GetNativeTypeHandle(); 3360TypeHandle th = GetNativeTypeHandle(); 3402TypeHandle th = GetNativeTypeHandle(); 3418TypeHandle th = GetNativeTypeHandle(); 3430TypeHandle th = GetNativeTypeHandle(); 3448TypeHandle th = GetNativeTypeHandle(); 3460TypeHandle th = GetNativeTypeHandle(); 3472TypeHandle th = GetNativeTypeHandle(); 3482TypeHandle th = GetNativeTypeHandle(); 3493TypeHandle th = GetNativeTypeHandle(); 3505TypeHandle th = GetNativeTypeHandle(); 3517TypeHandle th = GetNativeTypeHandle(); 3670TypeHandle th = GetNativeTypeHandle(); 3680CorElementType ret = (CorElementType)GetNativeTypeHandle().GetCorElementType();