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