7 references to ERR_NegativeArraySize
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
3389Error(diagnostics, ErrorCode.ERR_NegativeArraySize, dimension);
Errors\ErrorFacts.cs (1)
755case ErrorCode.ERR_NegativeArraySize:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\SemanticErrorTests.cs (5)
9000Diagnostic(ErrorCode.ERR_NegativeArraySize, "-3").WithLocation(6, 33), 9003Diagnostic(ErrorCode.ERR_NegativeArraySize, "-5000000000").WithLocation(7, 34), 9006Diagnostic(ErrorCode.ERR_NegativeArraySize, "-2").WithLocation(9, 35), 9009Diagnostic(ErrorCode.ERR_NegativeArraySize, "-1").WithLocation(9, 42), 9012Diagnostic(ErrorCode.ERR_NegativeArraySize, "-1L").WithLocation(10, 35),