7 references to ERR_NegativeArraySize
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
4131Error(diagnostics, ErrorCode.ERR_NegativeArraySize, dimension);
Errors\ErrorFacts.cs (1)
816or ErrorCode.ERR_NegativeArraySize
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\SemanticErrorTests.cs (5)
9049Diagnostic(ErrorCode.ERR_NegativeArraySize, "-3").WithLocation(6, 33), 9052Diagnostic(ErrorCode.ERR_NegativeArraySize, "-5000000000").WithLocation(7, 34), 9055Diagnostic(ErrorCode.ERR_NegativeArraySize, "-2").WithLocation(9, 35), 9058Diagnostic(ErrorCode.ERR_NegativeArraySize, "-1").WithLocation(9, 42), 9061Diagnostic(ErrorCode.ERR_NegativeArraySize, "-1L").WithLocation(10, 35),