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