7 references to ERR_NegativeArraySize
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
4099
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)
9004
Diagnostic(ErrorCode.
ERR_NegativeArraySize
, "-3").WithLocation(6, 33),
9007
Diagnostic(ErrorCode.
ERR_NegativeArraySize
, "-5000000000").WithLocation(7, 34),
9010
Diagnostic(ErrorCode.
ERR_NegativeArraySize
, "-2").WithLocation(9, 35),
9013
Diagnostic(ErrorCode.
ERR_NegativeArraySize
, "-1").WithLocation(9, 42),
9016
Diagnostic(ErrorCode.
ERR_NegativeArraySize
, "-1L").WithLocation(10, 35),