18 references to IsArray
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Attributes.cs (2)
924operandType.IsArray() && type.IsArray() &&
Binder\Binder_Statements.cs (1)
1265if (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)
1684if (!source.Type.IsArray() || !target.Type.IsArray()) 2054if (target.IsArray()) 2096if (!source.IsArray()) 2536if (!target.Type.IsArray())
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
2749if (t1.IsArray())
CodeGen\EmitConversion.cs (2)
73Debug.Assert((operand.Type.IsArray()) && 245else if (resultType.IsArray())
CodeGen\EmitExpression.cs (1)
3977if (to.IsArray())
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
1363if ((rewrittenOperand.Type.IsArray()) && _compilation.IsReadOnlySpanType(rewrittenType))
Symbols\Attributes\SourceAttributeData.cs (2)
313else if (targetType != (byte)SignatureTypeCode.SZArray && parameterType.IsArray()) 449if (!parameterType.IsArray())
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
263private bool IsArray => _field.Type.IsArray();