39 references to IsTypeDesc
System.Private.CoreLib (39)
src\System\Array.CoreCLR.cs (5)
80if (srcTH.IsTypeDesc || destTH.IsTypeDesc) 155if (arrayElementTypeHandle.IsTypeDesc) 196if (arrayElementTypeHandle.IsTypeDesc) 328if (thElem.IsTypeDesc)
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (10)
40if (elementTH.IsTypeDesc || !elementTH.AsMethodTable()->IsPrimitive) // Enum is included 103Debug.Assert(!th.IsTypeDesc); // TypeDesc can't be used as generic parameter 1237/// <remarks>This is only safe to call if <see cref="IsTypeDesc"/> returned <see langword="false"/>.</remarks> 1242Debug.Assert(!IsTypeDesc); 1250/// <remarks>This is only safe to call if <see cref="IsTypeDesc"/> returned <see langword="true"/>.</remarks> 1255Debug.Assert(IsTypeDesc); 1305if (!srcTH.IsTypeDesc && destTH.IsTypeDesc) 1314if (!srcTH.IsTypeDesc 1315&& !destTH.IsTypeDesc
src\System\RuntimeHandles.cs (8)
53return (h.IsTypeDesc 296Debug.Assert(!type.GetNativeTypeHandle().IsTypeDesc); 476if (typeHandle.IsTypeDesc) 557if (typeHandle.IsTypeDesc) 579if (typeHandle.IsTypeDesc) 683if (th.IsTypeDesc || th.AsMethodTable()->IsArray) 714if (typeHandle.IsTypeDesc) 1717Debug.Assert(!th.IsTypeDesc);
src\System\RuntimeType.BoxCache.cs (1)
43if (handle.IsTypeDesc)
src\System\RuntimeType.CoreCLR.cs (14)
1783if (typeHandle.IsTypeDesc) 3288bool isCollectible = th.IsTypeDesc ? th.AsTypeDesc()->IsCollectible : th.AsMethodTable()->IsCollectible; 3395if (th.IsTypeDesc || th.AsMethodTable()->IsArray) 3440if (th.IsTypeDesc) 3455bool isValueType = !th.IsTypeDesc && th.AsMethodTable()->IsValueType; 3468if (th.IsTypeDesc) 3485bool isEnum = !th.IsTypeDesc && th.AsMethodTable()->ParentMethodTable == Runtime.CompilerServices.TypeHandle.TypeHandleOf<Enum>().AsMethodTable(); 3497bool isInterface = !th.IsTypeDesc && th.AsMethodTable()->IsInterface; 3509bool isByRefLike = !th.IsTypeDesc && th.AsMethodTable()->IsByRefLike; 3519bool isDelegate = !th.IsTypeDesc && th.AsMethodTable()->ParentMethodTable == Runtime.CompilerServices.TypeHandle.TypeHandleOf<MulticastDelegate>().AsMethodTable(); 3530bool isConstructedGenericType = !th.IsTypeDesc && th.AsMethodTable()->IsConstructedGenericType; 3542bool isGenericType = !th.IsTypeDesc && th.AsMethodTable()->HasInstantiation; 3554bool isGenericTypeDefinition = !th.IsTypeDesc && th.AsMethodTable()->IsGenericTypeDefinition; 3705bool isNullable = !th.IsTypeDesc && th.AsMethodTable()->IsNullable;
src\System\TypedReference.CoreCLR.cs (1)
39MethodTable* pMethodTable = typeHandle.IsTypeDesc