39 references to IsArray
System.Private.CoreLib (39)
Internal\Reflection\Core\Execution\ExecutionDomain.cs (1)
127
else if (pEEType->
IsArray
)
Internal\Runtime\Augments\RuntimeAugments.cs (1)
489
return typeHandle.ToMethodTable()->
IsArray
;
Internal\Runtime\CompilerHelpers\InteropHelpers.cs (4)
514
if (o.GetMethodTable()->
IsArray
||
530
if (o.GetMethodTable()->
IsArray
||
543
if (o.GetMethodTable()->
IsArray
||
558
if (o.GetMethodTable()->
IsArray
||
src\runtime\src\coreclr\nativeaot\Common\src\Internal\Runtime\MethodTable.cs (6)
282
Debug.Assert(IsCanonical ||
IsArray
);
409
Debug.Assert(this.
IsArray
);
427
Debug.Assert(this.
IsArray
);
440
Debug.Assert(
IsArray
);
869
if (
IsArray
)
893
Debug.Assert(!
IsArray
, "array type not supported in NonArrayBaseType");
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\DispatchResolve.cs (2)
54
if (pCur->
IsArray
)
144
fArrayCovariance = pTgtType->
IsArray
;
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\RuntimeExports.cs (2)
31
!pEEType->
IsArray
&&
79
Debug.Assert(pEEType->
IsArray
|| pEEType->IsString);
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\TypeCast.cs (14)
198
Debug.Assert(obj.GetMethodTable()->
IsArray
);
261
if (pObjType->
IsArray
)
420
Debug.Assert(mt->
IsArray
);
477
Debug.Assert(!pDerivedType->
IsArray
, "did not expect array type");
480
Debug.Assert(!pBaseType->
IsArray
, "did not expect array type");
526
bool fArrayCovariance = pObjType->
IsArray
;
720
Debug.Assert(array.GetMethodTable()->
IsArray
, "first argument must be an array");
756
Debug.Assert(array is null || array.GetMethodTable()->
IsArray
, "first argument must be an array");
788
Debug.Assert(array is null || array.GetMethodTable()->
IsArray
, "first argument must be an array");
853
Debug.Assert(pTargetType->
IsArray
, "IsInstanceOfArray called with non-array MethodTable");
862
if (!pObjType->
IsArray
)
1143
if (pSourceType->
IsArray
)
1211
if (pTargetType->
IsArray
)
1249
if (pTargetType->
IsArray
)
System\Array.NativeAot.cs (3)
132
Debug.Assert(eeType->
IsArray
&& !eeType->IsSzArray);
180
Debug.Assert(pEEType->
IsArray
&& !pEEType->IsSzArray);
213
Debug.Assert(pEEType->
IsArray
);
System\Object.NativeAot.cs (1)
31
object clone = this.GetMethodTable()->
IsArray
?
System\Runtime\InteropServices\Marshal.NativeAot.cs (2)
243
if (ptr.GetMethodTable()->
IsArray
||
321
if (ptr.GetMethodTable()->
IsArray
||
System\RuntimeType.NativeAot.cs (3)
285
return pEEType->
IsArray
;
325
return pEEType->
IsArray
? pEEType->ArrayRank : throw new ArgumentException(SR.Argument_HasToBeArrayClass);
342
if (pEEType->
IsArray
)