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