75 references to ERR_CompilationOptionNotAvailable
Microsoft.CodeAnalysis.CSharp (4)
CommandLine\CSharpCommandLineParser.cs (1)
1571
diagnostics.Add(new CSDiagnostic(new CSDiagnosticInfo(ErrorCode.
ERR_CompilationOptionNotAvailable
,
Compilation\CSharpCompilation.cs (2)
3097
builder.Add(new CSDiagnostic(new CSDiagnosticInfo(ErrorCode.
ERR_CompilationOptionNotAvailable
,
3104
builder.Add(new CSDiagnostic(new CSDiagnosticInfo(ErrorCode.
ERR_CompilationOptionNotAvailable
,
Errors\ErrorFacts.cs (1)
1979
or ErrorCode.
ERR_CompilationOptionNotAvailable
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (9)
CommandLineTests.cs (9)
4876
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("nullable", "Enable", "7.0", "8.0").WithLocation(1, 1)
4905
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("nullable", "Enable", "7.0", "8.0").WithLocation(1, 1));
5116
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("nullable", "Enable", "7.3", "8.0").WithLocation(1, 1)
5127
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("nullable", "Enable", "7.3", "8.0").WithLocation(1, 1)
5134
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("nullable", "Enable", "7.3", "8.0").WithLocation(1, 1)
5209
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("nullable", "Warnings", "7.0", "8.0").WithLocation(1, 1)
5266
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("nullable", "Warnings", "7.3", "8.0").WithLocation(1, 1)
5273
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("nullable", "Annotations", "7.0", "8.0").WithLocation(1, 1)
5330
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("nullable", "Annotations", "7.3", "8.0").WithLocation(1, 1)
Microsoft.CodeAnalysis.CSharp.CSharp15.UnitTests (53)
UnsafeEvolutionTests.cs (53)
363
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
846
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
871
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
911
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
934
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "12.0", "preview").WithLocation(1, 1),
970
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1));
1008
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1052
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1));
1093
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1149
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1181
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "12.0", "preview").WithLocation(1, 1),
1214
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1238
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1280
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1321
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1345
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1387
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1418
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1467
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1534
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1595
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1668
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1709
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1746
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1783
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1));
1833
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1892
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1));
1931
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1959
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2005
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2052
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2097
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2138
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1));
2185
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2242
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2290
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2340
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1));
2405
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2467
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2524
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2631
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2690
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2780
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2876
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2999
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1));
3453
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
8093
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
8579
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
8678
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
8880
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
9081
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
9258
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
9427
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\NullableReferenceTypesTests.cs (8)
8599
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("NullableContextOptions", "Enable", "7.3", "8.0").WithLocation(1, 1)
8605
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("NullableContextOptions", "Warnings", "7.3", "8.0").WithLocation(1, 1)
10414
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("NullableContextOptions", "Enable", "7.0", "8.0").WithLocation(1, 1)
81871
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("NullableContextOptions", "Enable", "7.3", "8.0").WithLocation(1, 1)
97966
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("NullableContextOptions", "Enable", "7.3", "8.0").WithLocation(1, 1),
99252
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("NullableContextOptions", "Enable", "7.3", "8.0").WithLocation(1, 1)
100547
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("NullableContextOptions", "Enable", "7.3", "8.0").WithLocation(1, 1),
127240
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("NullableContextOptions", "Enable", "7.0", "8.0").WithLocation(1, 1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\Source\NullablePublicAPITests.cs (1)
1820
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("NullableContextOptions", "Enable", "7.3", "8.0").WithLocation(1, 1)