7 references to ERR_NegativeArraySize
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
4099Error(diagnostics, ErrorCode.ERR_NegativeArraySize, dimension);
Errors\ErrorFacts.cs (1)
816or ErrorCode.ERR_NegativeArraySize
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\SemanticErrorTests.cs (5)
9004Diagnostic(ErrorCode.ERR_NegativeArraySize, "-3").WithLocation(6, 33), 9007Diagnostic(ErrorCode.ERR_NegativeArraySize, "-5000000000").WithLocation(7, 34), 9010Diagnostic(ErrorCode.ERR_NegativeArraySize, "-2").WithLocation(9, 35), 9013Diagnostic(ErrorCode.ERR_NegativeArraySize, "-1").WithLocation(9, 42), 9016Diagnostic(ErrorCode.ERR_NegativeArraySize, "-1L").WithLocation(10, 35),