19 references to IsTypeDesc
System.Private.CoreLib (19)
src\System\Array.CoreCLR.cs (4)
156
Debug.Assert(!destTH.
IsTypeDesc
&& destTH.AsMethodTable()->IsValueType);
198
Debug.Assert(!srcTH.
IsTypeDesc
&& srcTH.AsMethodTable()->IsValueType);
523
if (arrayElementTypeHandle.
IsTypeDesc
)
632
if (thElem.
IsTypeDesc
)
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (3)
436
if (handle.
IsTypeDesc
)
778
/// <remarks>This is only safe to call if <see cref="
IsTypeDesc
"/> returned <see langword="false"/>.</remarks>
782
Debug.Assert(!
IsTypeDesc
);
src\System\RuntimeType.CoreCLR.cs (11)
3375
if (th.
IsTypeDesc
)
3390
bool isValueType = !th.
IsTypeDesc
&& th.AsMethodTable()->IsValueType;
3403
if (th.
IsTypeDesc
)
3420
bool isEnum = !th.
IsTypeDesc
&& th.AsMethodTable()->ParentMethodTable == Runtime.CompilerServices.TypeHandle.TypeHandleOf<Enum>().AsMethodTable();
3432
bool isInterface = !th.
IsTypeDesc
&& th.AsMethodTable()->IsInterface;
3444
bool isByRefLike = !th.
IsTypeDesc
&& th.AsMethodTable()->IsByRefLike;
3454
bool isDelegate = !th.
IsTypeDesc
&& th.AsMethodTable()->ParentMethodTable == Runtime.CompilerServices.TypeHandle.TypeHandleOf<MulticastDelegate>().AsMethodTable();
3465
bool isConstructedGenericType = !th.
IsTypeDesc
&& th.AsMethodTable()->IsConstructedGenericType;
3477
bool isGenericType = !th.
IsTypeDesc
&& th.AsMethodTable()->HasInstantiation;
3489
bool isGenericTypeDefinition = !th.
IsTypeDesc
&& th.AsMethodTable()->IsGenericTypeDefinition;
3645
bool isNullable = !th.
IsTypeDesc
&& th.AsMethodTable()->IsNullable;
src\System\TypedReference.CoreCLR.cs (1)
32
MethodTable* pMethodTable = typeHandle.
IsTypeDesc