18 references to IsArray
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Attributes.cs (2)
924
operandType.
IsArray
() && type.
IsArray
() &&
Binder\Binder_Statements.cs (1)
1265
if (initializerType.
IsArray
())
Binder\ForEachLoopBinder.cs (2)
543
(builder.ElementType.IsPointerOrFunctionPointer() && collectionExpr.Type.
IsArray
()) ||
544
(builder.ElementType.IsNullableType() && builder.ElementType.GetMemberTypeArgumentsNoUseSiteDiagnostics().Single().IsErrorType() && collectionExpr.Type.
IsArray
()));
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (5)
1684
if (!source.Type.
IsArray
() || !target.Type.
IsArray
())
2054
if (target.
IsArray
())
2096
if (!source.
IsArray
())
2536
if (!target.Type.
IsArray
())
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
2757
if (t1.
IsArray
())
CodeGen\EmitConversion.cs (2)
73
Debug.Assert((operand.Type.
IsArray
()) &&
245
else if (resultType.
IsArray
())
CodeGen\EmitExpression.cs (1)
3977
if (to.
IsArray
())
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
1363
if ((rewrittenOperand.Type.
IsArray
()) && _compilation.IsReadOnlySpanType(rewrittenType))
Symbols\Attributes\SourceAttributeData.cs (2)
313
else if (targetType != (byte)SignatureTypeCode.SZArray && parameterType.
IsArray
())
449
if (!parameterType.
IsArray
())
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
263
private bool IsArray => _field.Type.
IsArray
();