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