38 references to IsTypeDesc
System.Private.CoreLib (38)
src\System\Array.CoreCLR.cs (7)
164if (!srcTH.IsTypeDesc && !destTH.IsTypeDesc) 237Debug.Assert(!destTH.IsTypeDesc && destTH.AsMethodTable()->IsValueType); 279Debug.Assert(!srcTH.IsTypeDesc && srcTH.AsMethodTable()->IsValueType); 463if (arrayElementTypeHandle.IsTypeDesc) 504if (arrayElementTypeHandle.IsTypeDesc) 673if (thElem.IsTypeDesc)
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (8)
39if (elementTH.IsTypeDesc || !elementTH.AsMethodTable()->IsPrimitive) // Enum is included 102Debug.Assert(!th.IsTypeDesc); // TypeDesc can't be used as generic parameter 1084/// <remarks>This is only safe to call if <see cref="IsTypeDesc"/> returned <see langword="false"/>.</remarks> 1088Debug.Assert(!IsTypeDesc); 1138if (!srcTH.IsTypeDesc && destTH.IsTypeDesc) 1147if (!srcTH.IsTypeDesc 1148&& !destTH.IsTypeDesc
src\System\RuntimeHandles.cs (8)
281Debug.Assert(!type.GetNativeTypeHandle().IsTypeDesc); 292Debug.Assert(!type.GetNativeTypeHandle().IsTypeDesc); 445if (typeHandle.IsTypeDesc) 525if (typeHandle.IsTypeDesc) 546if (typeHandle.IsTypeDesc) 649if (th.IsTypeDesc || th.AsMethodTable()->IsArray) 680if (typeHandle.IsTypeDesc) 1634Debug.Assert(!th.IsTypeDesc);
src\System\RuntimeType.BoxCache.cs (1)
42if (handle.IsTypeDesc)
src\System\RuntimeType.CoreCLR.cs (13)
1774if (typeHandle.IsTypeDesc) 3380if (th.IsTypeDesc || th.AsMethodTable()->IsArray) 3423if (th.IsTypeDesc) 3438bool isValueType = !th.IsTypeDesc && th.AsMethodTable()->IsValueType; 3451if (th.IsTypeDesc) 3468bool isEnum = !th.IsTypeDesc && th.AsMethodTable()->ParentMethodTable == Runtime.CompilerServices.TypeHandle.TypeHandleOf<Enum>().AsMethodTable(); 3480bool isInterface = !th.IsTypeDesc && th.AsMethodTable()->IsInterface; 3492bool isByRefLike = !th.IsTypeDesc && th.AsMethodTable()->IsByRefLike; 3502bool isDelegate = !th.IsTypeDesc && th.AsMethodTable()->ParentMethodTable == Runtime.CompilerServices.TypeHandle.TypeHandleOf<MulticastDelegate>().AsMethodTable(); 3513bool isConstructedGenericType = !th.IsTypeDesc && th.AsMethodTable()->IsConstructedGenericType; 3525bool isGenericType = !th.IsTypeDesc && th.AsMethodTable()->HasInstantiation; 3537bool isGenericTypeDefinition = !th.IsTypeDesc && th.AsMethodTable()->IsGenericTypeDefinition; 3690bool isNullable = !th.IsTypeDesc && th.AsMethodTable()->IsNullable;
src\System\TypedReference.CoreCLR.cs (1)
55MethodTable* pMethodTable = typeHandle.IsTypeDesc