3 references to BindUnexpectedArrayInitializer
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Expressions.cs (1)
606
return
BindUnexpectedArrayInitializer
((InitializerExpressionSyntax)node, diagnostics, ErrorCode.ERR_ArrayInitInBadPlace);
Binder\Binder_Statements.cs (2)
885
var result =
BindUnexpectedArrayInitializer
((InitializerExpressionSyntax)initializer,
1845
result =
BindUnexpectedArrayInitializer
((InitializerExpressionSyntax)node, diagnostics, ErrorCode.ERR_ArrayInitToNonArrayType);