31 references to ERR_BadNullableContextOption
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CSharpCommandLineParser.cs (1)
459
AddDiagnostic(diagnostics, ErrorCode.
ERR_BadNullableContextOption
, value);
Errors\ErrorFacts.cs (1)
1979
or ErrorCode.
ERR_BadNullableContextOption
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (29)
CommandLineTests.cs (29)
4895
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("yes").WithLocation(1, 1)
4912
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1));
4936
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("yes").WithLocation(1, 1)
4951
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("Safeonly").WithLocation(1, 1)
4976
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("YES").WithLocation(1, 1)
4991
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
5016
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("YES").WithLocation(1, 1)
5031
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
5037
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
5044
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
5051
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
5058
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1),
5067
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1),
5069
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("YES").WithLocation(1, 1)
5076
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
5083
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
5090
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1),
5092
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
5106
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("yeS").WithLocation(1, 1)
5142
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
5157
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonly").WithLocation(1, 1)
5164
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("\"enable\"").WithLocation(1, 1)
5171
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("\\\\disable\\\\").WithLocation(1, 1)
5178
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("\\enable\\").WithLocation(1, 1)
5185
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonlywarnings").WithLocation(1, 1)
5192
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("SafeonlyWarnings").WithLocation(1, 1)
5199
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("safeonlyWarnings").WithLocation(1, 1)
5244
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("YES").WithLocation(1, 1)
5308
Diagnostic(ErrorCode.
ERR_BadNullableContextOption
).WithArguments("YES").WithLocation(1, 1)