19 references to IsArray
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Attributes.cs (2)
989
operandType.
IsArray
() && type.
IsArray
() &&
Binder\Binder_Statements.cs (1)
1274
if (initializerType.
IsArray
())
Binder\ForEachLoopBinder.cs (2)
521
(builder.ElementType.IsPointerOrFunctionPointer() && collectionExpr.Type.
IsArray
()) ||
522
(builder.ElementType.IsNullableType() && builder.ElementType.GetMemberTypeArgumentsNoUseSiteDiagnostics().Single().IsErrorType() && collectionExpr.Type.
IsArray
()));
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (5)
1584
if (!source.Type.
IsArray
() || !target.Type.
IsArray
())
1898
if (target.
IsArray
())
1940
if (!source.
IsArray
())
2342
if (!target.Type.
IsArray
())
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
2293
if (t1.
IsArray
())
CodeGen\EmitConversion.cs (2)
73
Debug.Assert((operand.Type.
IsArray
()) &&
244
else if (resultType.
IsArray
())
CodeGen\EmitExpression.cs (1)
3703
if (to.
IsArray
())
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
1216
if ((rewrittenOperand.Type.
IsArray
()) && _compilation.IsReadOnlySpanType(rewrittenType))
Symbols\Attributes\SourceAttributeData.cs (2)
279
else if (targetType != (byte)SignatureTypeCode.SZArray && parameterType.
IsArray
())
415
if (!parameterType.
IsArray
())
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\TypeTests.cs (1)
1578
Assert.True(memType.
IsArray
());
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
FunctionPointerUtilities.cs (1)
341
Assert.True(typeSymbol.
IsArray
());