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