39 references to IsTypeDesc
System.Private.CoreLib (39)
src\System\Array.CoreCLR.cs (5)
75if (srcTH.IsTypeDesc || destTH.IsTypeDesc) 150if (arrayElementTypeHandle.IsTypeDesc) 191if (arrayElementTypeHandle.IsTypeDesc) 322if (thElem.IsTypeDesc)
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (10)
39if (elementTH.IsTypeDesc || !elementTH.AsMethodTable()->IsPrimitive) // Enum is included 102Debug.Assert(!th.IsTypeDesc); // TypeDesc can't be used as generic parameter 1158/// <remarks>This is only safe to call if <see cref="IsTypeDesc"/> returned <see langword="false"/>.</remarks> 1162Debug.Assert(!IsTypeDesc); 1170/// <remarks>This is only safe to call if <see cref="IsTypeDesc"/> returned <see langword="true"/>.</remarks> 1174Debug.Assert(IsTypeDesc); 1224if (!srcTH.IsTypeDesc && destTH.IsTypeDesc) 1233if (!srcTH.IsTypeDesc 1234&& !destTH.IsTypeDesc
src\System\RuntimeHandles.cs (8)
53return (h.IsTypeDesc 293Debug.Assert(!type.GetNativeTypeHandle().IsTypeDesc); 466if (typeHandle.IsTypeDesc) 546if (typeHandle.IsTypeDesc) 567if (typeHandle.IsTypeDesc) 670if (th.IsTypeDesc || th.AsMethodTable()->IsArray) 701if (typeHandle.IsTypeDesc) 1666Debug.Assert(!th.IsTypeDesc);
src\System\RuntimeType.BoxCache.cs (1)
42if (handle.IsTypeDesc)
src\System\RuntimeType.CoreCLR.cs (14)
1731if (typeHandle.IsTypeDesc) 3236bool isCollectible = th.IsTypeDesc ? th.AsTypeDesc()->IsCollectible : th.AsMethodTable()->IsCollectible; 3343if (th.IsTypeDesc || th.AsMethodTable()->IsArray) 3387if (th.IsTypeDesc) 3402bool isValueType = !th.IsTypeDesc && th.AsMethodTable()->IsValueType; 3415if (th.IsTypeDesc) 3432bool isEnum = !th.IsTypeDesc && th.AsMethodTable()->ParentMethodTable == Runtime.CompilerServices.TypeHandle.TypeHandleOf<Enum>().AsMethodTable(); 3444bool isInterface = !th.IsTypeDesc && th.AsMethodTable()->IsInterface; 3456bool isByRefLike = !th.IsTypeDesc && th.AsMethodTable()->IsByRefLike; 3466bool isDelegate = !th.IsTypeDesc && th.AsMethodTable()->ParentMethodTable == Runtime.CompilerServices.TypeHandle.TypeHandleOf<MulticastDelegate>().AsMethodTable(); 3477bool isConstructedGenericType = !th.IsTypeDesc && th.AsMethodTable()->IsConstructedGenericType; 3489bool isGenericType = !th.IsTypeDesc && th.AsMethodTable()->HasInstantiation; 3501bool isGenericTypeDefinition = !th.IsTypeDesc && th.AsMethodTable()->IsGenericTypeDefinition; 3652bool isNullable = !th.IsTypeDesc && th.AsMethodTable()->IsNullable;
src\System\TypedReference.CoreCLR.cs (1)
55MethodTable* pMethodTable = typeHandle.IsTypeDesc