103 references to IsArray
ILCompiler.Compiler (49)
Compiler\CompilerTypeSystemContext.Aot.cs (1)
260if (type.IsArray)
Compiler\Dataflow\DiagnosticUtilities.cs (2)
131!owningType.IsArray && TryGetRequiresAttribute(owningType, requiresAttribute, out attribute)) 153if (!field.IsStatic || field.OwningType is not TypeDesc owningType || owningType.IsArray)
Compiler\Dataflow\HandleCallAction.cs (2)
427if (staticType is null || (!staticType.IsDefType && !staticType.IsArray)) 475Debug.Assert(staticType is MetadataType || staticType.IsArray);
Compiler\DependencyAnalysis\ArrayMapNode.cs (1)
51if (!type.IsArray)
Compiler\DependencyAnalysis\ConstructedEETypeNode.cs (1)
43if (_type.IsArray)
Compiler\DependencyAnalysis\EETypeNode.cs (4)
637if (_type.IsArray || _type.IsDefType) 784if (_type.IsArray || _type.IsString) 793if (_type.IsArray) 844if (_type.IsArray && parameterType.IsValueType && !parameterType.IsNullable)
Compiler\DependencyAnalysis\InterfaceDispatchMapNode.cs (1)
73if (!type.IsArray && !type.IsDefType)
Compiler\DependencyAnalysis\MetadataEETypeNode.cs (1)
56if (_type.IsArray)
Compiler\DependencyAnalysis\ReflectionInvokeSupportDependencyAlgorithm.cs (1)
32if (sig.Length < 1 || !sig[sig.Length - 1].IsArray)
Compiler\DependencyAnalysis\SerializedFrozenObjectNode.cs (2)
46=> _data.Type.IsArray 50public override int? ArrayLength => _data.Type.IsArray ? _data.ArrayLength : null;
Compiler\DependencyAnalysis\VariantInterfaceMethodUseNode.cs (2)
79(providingType.IsArray || providingType.GetTypeDefinition() == factory.TypeSystemContext.ArrayOfTEnumeratorType) && 86TypeDesc elementType = providingType.IsArray ? ((ArrayType)providingType).ElementType : providingType.Instantiation[0];
Compiler\DependencyAnalysis\VTableSliceNode.cs (1)
24Debug.Assert(!type.IsArray, "Wanted to call GetClosestDefType?");
Compiler\ILScanner.cs (1)
619if (!type.IsArray && baseType != null)
Compiler\MetadataManager.cs (1)
410if (owningType.IsArray)
Compiler\MultiFileCompilationModuleGroup.cs (1)
105return (type.HasInstantiation || type.IsArray) && ShouldProduceFullVTable(type) &&
Compiler\UsageBasedMetadataManager.cs (1)
315if (type.IsArray)
Compiler\UserDefinedTypeDescriptor.cs (3)
264if ((type.IsDefType && !type.IsValueType) || type.IsArray) 330if (type.IsArray) 433Debug.Assert(type.IsArray, "GetArrayTypeIndex was called with wrong type");
IL\ILImporter.Scanner.cs (1)
629if (owningType.IsArray)
parent\parent\Common\Compiler\CompilerTypeSystemContext.cs (1)
287Debug.Assert(!type.IsArray, "Wanted to call GetClosestMetadataType?");
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (1)
282if (parameterizedType.IsArray)
parent\parent\Common\Compiler\Dataflow\DynamicallyAccessedMembersBinder.cs (4)
142if (type.IsArray) 176if (type.IsArray) 296if (type.IsArray) 364if (type.IsArray)
parent\parent\Common\Compiler\TypeExtensions.cs (9)
23Debug.Assert(type.IsArray, "IsSealed on a type with no virtual methods?"); 153if (!type.IsArray) 235if (ta.IsArray) 237if (tb.IsArray) 252else if (tb.IsArray) 344Debug.Assert(ta.IsArray && tb.IsArray && ta != tb); 361else if (taElem.IsArray && tbElem.IsArray)
parent\parent\Common\Internal\Runtime\EETypeBuilderHelpers.cs (3)
59if (type.IsArray || type.IsString) 88else if (type.IsArray && !type.IsCanonicalSubtype(CanonicalFormKind.Universal)) 139else if (type.IsArray)
parent\parent\Common\Internal\Runtime\GCDescEncoder.cs (2)
21if (type.IsArray) 68if (type.IsArray)
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
418else if (type.IsArray)
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\ModuleCycleInfo.cs (1)
151} while (parameterType.IsArray);
ILCompiler.MetadataTransform (2)
ILCompiler\Metadata\Transform.CustomAttribute.cs (2)
57var fixedArgument = paramType.IsArray ? 75Value = type.IsArray ?
ILCompiler.ReadyToRun (31)
Compiler\DependencyAnalysis\ReadyToRun\MethodFixupSignature.cs (1)
141if (!_method.Method.HasInstantiation && !_method.Method.OwningType.HasInstantiation && !_method.Method.OwningType.IsArray)
Compiler\DependencyAnalysis\ReadyToRun\SignatureBuilder.cs (1)
409Debug.Assert(type.IsArray && !type.IsSzArray);
Compiler\ReadyToRunCompilationModuleGroupBase.cs (1)
607if (local.Type.IsArray)
Compiler\ReadyToRunCompilerContext.cs (1)
24if (type.IsArray)
JitInterface\CorInfoImpl.ReadyToRun.cs (3)
1950useInstantiatingStub = originalMethod.OwningType.IsArray || originalMethod.GetCanonMethodTarget(CanonicalFormKind.Specific).RequiresInstMethodDescArg(); 2203bool isArrayConstructor = targetMethod.OwningType.IsArray && targetMethod.IsConstructor; 2588if (methodToCall.OwningType.IsArray && methodToCall.IsConstructor)
parent\parent\Common\Compiler\CompilerTypeSystemContext.cs (1)
287Debug.Assert(!type.IsArray, "Wanted to call GetClosestMetadataType?");
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (1)
282if (parameterizedType.IsArray)
parent\parent\Common\Compiler\Dataflow\DynamicallyAccessedMembersBinder.cs (4)
142if (type.IsArray) 176if (type.IsArray) 296if (type.IsArray) 364if (type.IsArray)
parent\parent\Common\Compiler\TypeExtensions.cs (9)
23Debug.Assert(type.IsArray, "IsSealed on a type with no virtual methods?"); 153if (!type.IsArray) 235if (ta.IsArray) 237if (tb.IsArray) 252else if (tb.IsArray) 344Debug.Assert(ta.IsArray && tb.IsArray && ta != tb); 361else if (taElem.IsArray && tbElem.IsArray)
parent\parent\Common\JitInterface\CorInfoImpl.cs (7)
1307if (type.IsArray) 1585bool isArray = decl.OwningType.IsInterface && objType.IsArray; 1904Debug.Assert(typeContext.HasSameTypeDefinition(owningMethod.OwningType) || typeContext.IsArray); 2307if (type.IsArray) 2313if (type.IsArray || type.IsString) 3194while (type.IsArray) 3298if (td.IsArray || td.IsByRef || td.IsPointer)
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
418else if (type.IsArray)
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\ModuleCycleInfo.cs (1)
151} while (parameterType.IsArray);
ILCompiler.RyuJit (10)
JitInterface\CorInfoImpl.RyuJit.cs (4)
1099else if (type.IsArray) 1135Debug.Assert(!type.IsString && !type.IsArray && !type.IsCanonicalDefinitionType(CanonicalFormKind.Any)); 1160Debug.Assert(type.IsArray); 1502else if (owningType.IsArray && targetMethod.IsConstructor)
parent\parent\Common\JitInterface\CorInfoImpl.cs (6)
1307if (type.IsArray) 1904Debug.Assert(typeContext.HasSameTypeDefinition(owningMethod.OwningType) || typeContext.IsArray); 2307if (type.IsArray) 2313if (type.IsArray || type.IsString) 3194while (type.IsArray) 3298if (td.IsArray || td.IsByRef || td.IsPointer)
ILCompiler.TypeSystem (11)
parent\parent\Common\TypeSystem\Canon\StandardCanonicalizationAlgorithm.cs (1)
117else if (typeToConvert.IsArray)
parent\parent\Common\TypeSystem\Common\ConstructedTypeRewritingHelpers.cs (1)
107if (type.IsArray)
parent\parent\Common\TypeSystem\Common\MetadataFieldLayoutAlgorithm.cs (1)
1166else if (fieldType.IsArray)
parent\parent\Common\TypeSystem\Common\TypeDesc.cs (2)
331return this.IsArray && ((ArrayType)this).IsSzArray; 343return this.IsArray && ((ArrayType)this).IsMdArray;
parent\parent\Common\TypeSystem\Common\TypeSystemContext.cs (1)
671else if (type.IsArray)
parent\parent\Common\TypeSystem\Common\TypeSystemHelpers.cs (3)
108else if (type.IsArray) 110Debug.Assert(method.OwningType.IsArray); 412if (type.IsArray)
parent\parent\Common\TypeSystem\IL\UnsafeAccessors.cs (1)
237if ((targetType.IsParameterizedType && !targetType.IsArray)
parent\parent\Common\TypeSystem\RuntimeDetermined\RuntimeDeterminedCanonicalizationAlgorithm.cs (1)
128else if (typeToConvert.IsArray)