12 references to ERR_BadBaseNumber
Microsoft.CodeAnalysis.CSharp (3)
CommandLine\CSharpCommandLineParser.cs (2)
1125
AddDiagnostic(diagnostics, ErrorCode.
ERR_BadBaseNumber
, value);
1447
AddDiagnostic(diagnostics, ErrorCode.
ERR_BadBaseNumber
, string.Format("0x{0:X}", baseAddress));
Errors\ErrorFacts.cs (1)
1497
or ErrorCode.
ERR_BadBaseNumber
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (9)
CommandLineTests.cs (9)
4573
Assert.Equal((int)ErrorCode.
ERR_BadBaseNumber
, parsedArgs.Errors.First().Code);
4581
Assert.Equal((int)ErrorCode.
ERR_BadBaseNumber
, parsedArgs.Errors.First().Code);
4589
Assert.Equal((int)ErrorCode.
ERR_BadBaseNumber
, parsedArgs.Errors.First().Code);
4601
parsedArgs.Errors.Verify(Diagnostic(ErrorCode.
ERR_BadBaseNumber
).WithArguments("0xFFFFFFFF"));
4604
parsedArgs.Errors.Verify(Diagnostic(ErrorCode.
ERR_BadBaseNumber
).WithArguments("0xFFFF8000"));
4607
parsedArgs.Errors.Verify(Diagnostic(ErrorCode.
ERR_BadBaseNumber
).WithArguments("0xFFFF8000"));
4619
parsedArgs.Errors.Verify(Diagnostic(ErrorCode.
ERR_BadBaseNumber
).WithArguments("0xFFFF0000FFFF0000"));
4622
parsedArgs.Errors.Verify(Diagnostic(ErrorCode.
ERR_BadBaseNumber
).WithArguments("0x10000000000000000"));
4625
parsedArgs.Errors.Verify(Diagnostic(ErrorCode.
ERR_BadBaseNumber
).WithArguments("0xFFFF0000FFFF0000"));