2 writes to CompilationOptions
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CSharpCommandLineArguments.cs (1)
42
CompilationOptions
= null!;
CommandLine\CSharpCommandLineParser.cs (1)
1584
CompilationOptions
= options,
60 references to CompilationOptions
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (1)
src\Features\DiagnosticsTestUtilities\CodeActions\CSharpVerifierHelper.cs (1)
28
var nullableWarnings = commandLineArguments.
CompilationOptions
.SpecificDiagnosticOptions;
Microsoft.CodeAnalysis.CSharp (4)
CommandLine\CSharpCommandLineArguments.cs (1)
30
get { return
CompilationOptions
; }
CommandLine\CSharpCompiler.cs (3)
58
if (Arguments.
CompilationOptions
.ConcurrentBuild)
164
Arguments.
CompilationOptions
243
Debug.Assert(Arguments.
CompilationOptions
.OutputKind.IsApplication());
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (52)
CommandLineTests.cs (52)
623
Assert.Equal("Test", args.
CompilationOptions
.MainTypeName);
627
Assert.Equal("Test", args.
CompilationOptions
.MainTypeName);
631
Assert.Equal("Test.Class1", args.
CompilationOptions
.MainTypeName);
635
Assert.Equal("Test", args.
CompilationOptions
.MainTypeName);
639
Assert.Equal("Test", args.
CompilationOptions
.MainTypeName);
643
Assert.Equal("Test.Class1", args.
CompilationOptions
.MainTypeName);
648
Assert.Equal("решения.Class1", args.
CompilationOptions
.MainTypeName);
1313
Assert.Equal(OutputKind.ConsoleApplication, parsedArgs.
CompilationOptions
.OutputKind);
1317
Assert.Equal(OutputKind.NetModule, parsedArgs.
CompilationOptions
.OutputKind);
1321
Assert.Equal(OutputKind.DynamicallyLinkedLibrary, parsedArgs.
CompilationOptions
.OutputKind);
1325
Assert.Equal(OutputKind.WindowsApplication, parsedArgs.
CompilationOptions
.OutputKind);
1329
Assert.Equal(OutputKind.WindowsRuntimeApplication, parsedArgs.
CompilationOptions
.OutputKind);
1333
Assert.Equal(OutputKind.WindowsRuntimeMetadata, parsedArgs.
CompilationOptions
.OutputKind);
1337
Assert.Equal(OutputKind.NetModule, parsedArgs.
CompilationOptions
.OutputKind);
1364
Assert.Equal(OutputKind.ConsoleApplication, parsedArgs.
CompilationOptions
.OutputKind);
1372
Assert.Equal(OutputKind.NetModule, parsedArgs.
CompilationOptions
.OutputKind);
1380
Assert.Equal(OutputKind.DynamicallyLinkedLibrary, parsedArgs.
CompilationOptions
.OutputKind);
1388
Assert.Equal(OutputKind.WindowsApplication, parsedArgs.
CompilationOptions
.OutputKind);
1396
Assert.Equal(OutputKind.WindowsRuntimeApplication, parsedArgs.
CompilationOptions
.OutputKind);
1404
Assert.Equal(OutputKind.WindowsRuntimeMetadata, parsedArgs.
CompilationOptions
.OutputKind);
1412
Assert.Equal(OutputKind.NetModule, parsedArgs.
CompilationOptions
.OutputKind);
1964
Assert.False(parsedArgs.
CompilationOptions
.DebugPlusMode);
1971
Assert.False(parsedArgs.
CompilationOptions
.DebugPlusMode);
1978
Assert.False(parsedArgs.
CompilationOptions
.DebugPlusMode);
1985
Assert.True(parsedArgs.
CompilationOptions
.DebugPlusMode);
1992
Assert.False(parsedArgs.
CompilationOptions
.DebugPlusMode);
1999
Assert.False(parsedArgs.
CompilationOptions
.DebugPlusMode);
2005
Assert.False(parsedArgs.
CompilationOptions
.DebugPlusMode);
2012
Assert.False(parsedArgs.
CompilationOptions
.DebugPlusMode);
2018
Assert.False(parsedArgs.
CompilationOptions
.DebugPlusMode);
2025
Assert.False(parsedArgs.
CompilationOptions
.DebugPlusMode);
2032
Assert.False(parsedArgs.
CompilationOptions
.DebugPlusMode);
2038
Assert.False(parsedArgs.
CompilationOptions
.DebugPlusMode);
2044
Assert.False(parsedArgs.
CompilationOptions
.DebugPlusMode);
2050
Assert.False(parsedArgs.
CompilationOptions
.DebugPlusMode);
2056
Assert.False(parsedArgs.
CompilationOptions
.DebugPlusMode);
2062
Assert.True(parsedArgs.
CompilationOptions
.DebugPlusMode);
2068
Assert.True(parsedArgs.
CompilationOptions
.DebugPlusMode);
2074
Assert.False(parsedArgs.
CompilationOptions
.DebugPlusMode);
2559
Assert.Equal(new CSharpCompilationOptions(OutputKind.ConsoleApplication).OptimizationLevel, parsedArgs.
CompilationOptions
.OptimizationLevel);
2563
Assert.Equal(OptimizationLevel.Debug, parsedArgs.
CompilationOptions
.OptimizationLevel);
2567
Assert.Equal(OptimizationLevel.Release, parsedArgs.
CompilationOptions
.OptimizationLevel);
2571
Assert.Equal(OptimizationLevel.Release, parsedArgs.
CompilationOptions
.OptimizationLevel);
2575
Assert.Equal(OptimizationLevel.Debug, parsedArgs.
CompilationOptions
.OptimizationLevel);
2587
Assert.Equal(OptimizationLevel.Debug, parsedArgs.
CompilationOptions
.OptimizationLevel);
2590
Assert.Equal(OptimizationLevel.Release, parsedArgs.
CompilationOptions
.OptimizationLevel);
2593
Assert.Equal(OptimizationLevel.Release, parsedArgs.
CompilationOptions
.OptimizationLevel);
2596
Assert.Equal(OptimizationLevel.Debug, parsedArgs.
CompilationOptions
.OptimizationLevel);
2613
Assert.False(parsedArgs.
CompilationOptions
.Deterministic);
2617
Assert.True(parsedArgs.
CompilationOptions
.Deterministic);
2621
Assert.True(parsedArgs.
CompilationOptions
.Deterministic);
2625
Assert.False(parsedArgs.
CompilationOptions
.Deterministic);
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
CommandLineRunnerTests.cs (1)
700
}, arguments.
CompilationOptions
.Usings.AsEnumerable());
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\TempPECompilerService.cs (1)
60
parsedArguments.
CompilationOptions
System.Windows.Forms.Analyzers.CSharp.Tests (1)
Analyzers\Verifiers\CSharpVerifierHelper.cs (1)
25
var nullableWarnings = commandLineArguments.
CompilationOptions
.SpecificDiagnosticOptions;