30 references to GetNativeTypeHandle
System.Private.CoreLib (30)
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(); 1200MethodTable* pMT = destNullableType.GetNativeTypeHandle().AsMethodTable(); 1665TypeHandle th = declaringType.GetNativeTypeHandle();
src\System\RuntimeType.BoxCache.cs (1)
40TypeHandle handle = rt.GetNativeTypeHandle();
src\System\RuntimeType.CoreCLR.cs (15)
1781TypeHandle typeHandle = GetNativeTypeHandle(); 3285TypeHandle th = GetNativeTypeHandle(); 3393TypeHandle th = GetNativeTypeHandle(); 3435TypeHandle th = GetNativeTypeHandle(); 3451TypeHandle th = GetNativeTypeHandle(); 3463TypeHandle th = GetNativeTypeHandle(); 3481TypeHandle th = GetNativeTypeHandle(); 3493TypeHandle th = GetNativeTypeHandle(); 3505TypeHandle th = GetNativeTypeHandle(); 3515TypeHandle th = GetNativeTypeHandle(); 3526TypeHandle th = GetNativeTypeHandle(); 3538TypeHandle th = GetNativeTypeHandle(); 3550TypeHandle th = GetNativeTypeHandle(); 3701TypeHandle th = GetNativeTypeHandle(); 3711CorElementType ret = (CorElementType)GetNativeTypeHandle().GetCorElementType();