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)
102TypeHandle th = targetTypeHandle.GetRuntimeType().GetNativeTypeHandle();
src\System\RuntimeHandles.cs (11)
296Debug.Assert(!type.GetNativeTypeHandle().IsTypeDesc); 297object result = InternalAlloc(type.GetNativeTypeHandle().AsMethodTable()); 475TypeHandle typeHandle = type.GetNativeTypeHandle(); 556TypeHandle typeHandle = type.GetNativeTypeHandle(); 578TypeHandle typeHandle = type.GetNativeTypeHandle(); 682TypeHandle th = type.GetNativeTypeHandle(); 698bool ret = TypeHandle.CanCastToForReflection(type.GetNativeTypeHandle(), target.GetNativeTypeHandle()); 713TypeHandle typeHandle = type.GetNativeTypeHandle(); 1242MethodTable* pMT = destNullableType.GetNativeTypeHandle().AsMethodTable(); 1716TypeHandle th = declaringType.GetNativeTypeHandle();
src\System\RuntimeType.BoxCache.cs (1)
41TypeHandle handle = rt.GetNativeTypeHandle();
src\System\RuntimeType.CoreCLR.cs (15)
1782TypeHandle typeHandle = GetNativeTypeHandle(); 3286TypeHandle th = GetNativeTypeHandle(); 3394TypeHandle th = GetNativeTypeHandle(); 3437TypeHandle th = GetNativeTypeHandle(); 3453TypeHandle th = GetNativeTypeHandle(); 3465TypeHandle th = GetNativeTypeHandle(); 3483TypeHandle th = GetNativeTypeHandle(); 3495TypeHandle th = GetNativeTypeHandle(); 3507TypeHandle th = GetNativeTypeHandle(); 3517TypeHandle th = GetNativeTypeHandle(); 3528TypeHandle th = GetNativeTypeHandle(); 3540TypeHandle th = GetNativeTypeHandle(); 3552TypeHandle th = GetNativeTypeHandle(); 3703TypeHandle th = GetNativeTypeHandle(); 3713CorElementType ret = (CorElementType)GetNativeTypeHandle().GetCorElementType();