41 references to IsTypeDesc
System.Private.CoreLib (41)
src\System\Array.CoreCLR.cs (7)
178
if (!srcTH.
IsTypeDesc
&& !destTH.
IsTypeDesc
)
251
Debug.Assert(!destTH.
IsTypeDesc
&& destTH.AsMethodTable()->IsValueType);
293
Debug.Assert(!srcTH.
IsTypeDesc
&& srcTH.AsMethodTable()->IsValueType);
477
if (arrayElementTypeHandle.
IsTypeDesc
)
518
if (arrayElementTypeHandle.
IsTypeDesc
)
687
if (thElem.
IsTypeDesc
)
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (10)
39
if (elementTH.
IsTypeDesc
|| !elementTH.AsMethodTable()->IsPrimitive) // Enum is included
102
Debug.Assert(!th.
IsTypeDesc
); // TypeDesc can't be used as generic parameter
1100
/// <remarks>This is only safe to call if <see cref="
IsTypeDesc
"/> returned <see langword="false"/>.</remarks>
1104
Debug.Assert(!
IsTypeDesc
);
1112
/// <remarks>This is only safe to call if <see cref="
IsTypeDesc
"/> returned <see langword="true"/>.</remarks>
1116
Debug.Assert(
IsTypeDesc
);
1166
if (!srcTH.
IsTypeDesc
&& destTH.
IsTypeDesc
)
1175
if (!srcTH.
IsTypeDesc
1176
&& !destTH.
IsTypeDesc
src\System\RuntimeHandles.cs (9)
53
return (h.
IsTypeDesc
293
Debug.Assert(!type.GetNativeTypeHandle().
IsTypeDesc
);
304
Debug.Assert(!type.GetNativeTypeHandle().
IsTypeDesc
);
457
if (typeHandle.
IsTypeDesc
)
537
if (typeHandle.
IsTypeDesc
)
558
if (typeHandle.
IsTypeDesc
)
661
if (th.
IsTypeDesc
|| th.AsMethodTable()->IsArray)
692
if (typeHandle.
IsTypeDesc
)
1660
Debug.Assert(!th.
IsTypeDesc
);
src\System\RuntimeType.BoxCache.cs (1)
42
if (handle.
IsTypeDesc
)
src\System\RuntimeType.CoreCLR.cs (13)
1755
if (typeHandle.
IsTypeDesc
)
3361
if (th.
IsTypeDesc
|| th.AsMethodTable()->IsArray)
3405
if (th.
IsTypeDesc
)
3420
bool isValueType = !th.
IsTypeDesc
&& th.AsMethodTable()->IsValueType;
3433
if (th.
IsTypeDesc
)
3450
bool isEnum = !th.
IsTypeDesc
&& th.AsMethodTable()->ParentMethodTable == Runtime.CompilerServices.TypeHandle.TypeHandleOf<Enum>().AsMethodTable();
3462
bool isInterface = !th.
IsTypeDesc
&& th.AsMethodTable()->IsInterface;
3474
bool isByRefLike = !th.
IsTypeDesc
&& th.AsMethodTable()->IsByRefLike;
3484
bool isDelegate = !th.
IsTypeDesc
&& th.AsMethodTable()->ParentMethodTable == Runtime.CompilerServices.TypeHandle.TypeHandleOf<MulticastDelegate>().AsMethodTable();
3495
bool isConstructedGenericType = !th.
IsTypeDesc
&& th.AsMethodTable()->IsConstructedGenericType;
3507
bool isGenericType = !th.
IsTypeDesc
&& th.AsMethodTable()->HasInstantiation;
3519
bool isGenericTypeDefinition = !th.
IsTypeDesc
&& th.AsMethodTable()->IsGenericTypeDefinition;
3672
bool isNullable = !th.
IsTypeDesc
&& th.AsMethodTable()->IsNullable;
src\System\TypedReference.CoreCLR.cs (1)
55
MethodTable* pMethodTable = typeHandle.
IsTypeDesc