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(); 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();