31 references to ERR_BadNullableContextOption
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CSharpCommandLineParser.cs (1)
437
AddDiagnostic(diagnostics, ErrorCode.
ERR_BadNullableContextOption
, value);
Errors\ErrorFacts.cs (1)
1921
case ErrorCode.
ERR_BadNullableContextOption
:
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (29)
CommandLineTests.cs (29)
4674
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("yes").WithLocation(1, 1)
4691
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1));
4715
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("yes").WithLocation(1, 1)
4730
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("Safeonly").WithLocation(1, 1)
4755
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("YES").WithLocation(1, 1)
4770
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
4795
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("YES").WithLocation(1, 1)
4810
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
4816
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
4823
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
4830
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
4837
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1),
4846
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1),
4848
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("YES").WithLocation(1, 1)
4855
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
4862
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
4869
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1),
4871
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
4885
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("yeS").WithLocation(1, 1)
4921
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
4936
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
4943
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("\"enable\"").WithLocation(1, 1)
4950
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("\\\\disable\\\\").WithLocation(1, 1)
4957
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("\\enable\\").WithLocation(1, 1)
4964
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonlywarnings").WithLocation(1, 1)
4971
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("SafeonlyWarnings").WithLocation(1, 1)
4978
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonlyWarnings").WithLocation(1, 1)
5023
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("YES").WithLocation(1, 1)
5087
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("YES").WithLocation(1, 1)