81 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)
4877
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("nullable", "Enable", "7.0", "8.0").WithLocation(1, 1)
4906
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("nullable", "Enable", "7.0", "8.0").WithLocation(1, 1));
5117
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("nullable", "Enable", "7.3", "8.0").WithLocation(1, 1)
5128
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("nullable", "Enable", "7.3", "8.0").WithLocation(1, 1)
5135
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("nullable", "Enable", "7.3", "8.0").WithLocation(1, 1)
5210
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("nullable", "Warnings", "7.0", "8.0").WithLocation(1, 1)
5267
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("nullable", "Warnings", "7.3", "8.0").WithLocation(1, 1)
5274
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("nullable", "Annotations", "7.0", "8.0").WithLocation(1, 1)
5331
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("nullable", "Annotations", "7.3", "8.0").WithLocation(1, 1)
Microsoft.CodeAnalysis.CSharp.CSharp15.UnitTests (59)
UnsafeEvolutionTests.cs (59)
379
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
862
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
887
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
935
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
958
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "12.0", "preview").WithLocation(1, 1),
994
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1));
1036
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1080
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1));
1131
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1198
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1230
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "12.0", "preview").WithLocation(1, 1),
1263
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1287
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1340
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1381
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1405
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1458
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1489
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1549
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1627
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1697
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1781
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1822
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1859
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
1896
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1));
1950
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2009
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1));
2059
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2087
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2144
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2195
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2251
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2292
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1));
2346
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2409
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2466
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2527
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2586
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2636
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1));
2729
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2825
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2896
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
2958
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
3029
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
3147
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
3206
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
3274
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
3364
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
3455
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
3569
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
3692
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1));
4146
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
9276
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
9770
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
9869
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
10079
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
10288
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
10465
Diagnostic(ErrorCode.
ERR_CompilationOptionNotAvailable
).WithArguments("MemorySafetyRules", "2", "14.0", "preview").WithLocation(1, 1),
10642
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)