12 references to IsCanonical
System.Private.CoreLib (12)
src\runtime\src\coreclr\nativeaot\Common\src\Internal\Runtime\MethodTable.cs (4)
282
Debug.Assert(
IsCanonical
|| IsArray);
391
return ComponentSize == StringComponentSize.Value &&
IsCanonical
;
867
if (!
IsCanonical
)
894
Debug.Assert(
IsCanonical
|| IsGenericTypeDefinition, "we expect type definitions here");
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\MethodTable.Runtime.cs (1)
45
if (!pEEType->
IsCanonical
)
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\TypeCast.cs (4)
195
if (!obj.GetMethodTable()->
IsCanonical
)
417
if (!mt->
IsCanonical
)
484
Debug.Assert(pBaseType->
IsCanonical
|| pBaseType->IsGenericTypeDefinition, "unexpected MethodTable");
485
Debug.Assert(pDerivedType->
IsCanonical
|| pDerivedType->IsGenericTypeDefinition, "unexpected MethodTable");
System\Delegate.cs (1)
376
Debug.Assert(delegateEEType->
IsCanonical
);
System\RuntimeType.NativeAot.cs (2)
336
if (pEEType->
IsCanonical
)
384
return (pEEType->
IsCanonical
&& !pEEType->IsGeneric) || pEEType->IsGenericTypeDefinition;