4 instantiations of TypeHandle
System.Private.CoreLib (4)
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (2)
713return new(ElementType); 790return new TypeHandle((void*)RuntimeTypeHandle.ToIntPtr(typeof(T).TypeHandle));
src\System\RuntimeType.CoreCLR.cs (1)
2407return new TypeHandle((void*)m_handle);
src\System\TypedReference.CoreCLR.cs (1)
21TypeHandle typeHandle = new((void*)value._type);
28 references to TypeHandle
System.Private.CoreLib (28)
src\System\Array.CoreCLR.cs (4)
154TypeHandle destTH = pDestArrayMT->GetArrayElementTypeHandle(); 196TypeHandle srcTH = pSrcArrayMT->GetArrayElementTypeHandle(); 519TypeHandle arrayElementTypeHandle = pMethodTable->GetArrayElementTypeHandle(); 631TypeHandle thElem = pArrayMT->GetArrayElementTypeHandle();
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (5)
434TypeHandle handle = type.GetNativeTypeHandle(); 705/// Gets a <see cref="TypeHandle"/> for the element type of the current type. 709public TypeHandle GetArrayElementTypeHandle() 766/// Gets whether or not this <see cref="TypeHandle"/> wraps a <c>TypeDesc</c> pointer. 788public static TypeHandle TypeHandleOf<T>()
src\System\RuntimeHandles.cs (1)
90internal TypeHandle GetNativeTypeHandle()
src\System\RuntimeType.CoreCLR.cs (15)
2405internal unsafe TypeHandle GetNativeTypeHandle() 3372TypeHandle th = GetNativeTypeHandle(); 3388TypeHandle th = GetNativeTypeHandle(); 3400TypeHandle th = GetNativeTypeHandle(); 3406bool isEnum = th.AsMethodTable()->ParentMethodTable == Runtime.CompilerServices.TypeHandle.TypeHandleOf<Enum>().AsMethodTable(); 3418TypeHandle th = GetNativeTypeHandle(); 3420bool isEnum = !th.IsTypeDesc && th.AsMethodTable()->ParentMethodTable == Runtime.CompilerServices.TypeHandle.TypeHandleOf<Enum>().AsMethodTable(); 3430TypeHandle th = GetNativeTypeHandle(); 3442TypeHandle th = GetNativeTypeHandle(); 3452TypeHandle th = GetNativeTypeHandle(); 3454bool isDelegate = !th.IsTypeDesc && th.AsMethodTable()->ParentMethodTable == Runtime.CompilerServices.TypeHandle.TypeHandleOf<MulticastDelegate>().AsMethodTable(); 3463TypeHandle th = GetNativeTypeHandle(); 3475TypeHandle th = GetNativeTypeHandle(); 3487TypeHandle th = GetNativeTypeHandle(); 3643TypeHandle th = GetNativeTypeHandle();
src\System\StubHelpers.cs (1)
581internal TypeHandle m_Array;
src\System\TypedReference.CoreCLR.cs (2)
21TypeHandle typeHandle = new((void*)value._type); 33? TypeHandle.TypeHandleOf<UIntPtr>().AsMethodTable()