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)
624Assert.Equal("Test", args.CompilationOptions.MainTypeName); 628Assert.Equal("Test", args.CompilationOptions.MainTypeName); 632Assert.Equal("Test.Class1", args.CompilationOptions.MainTypeName); 636Assert.Equal("Test", args.CompilationOptions.MainTypeName); 640Assert.Equal("Test", args.CompilationOptions.MainTypeName); 644Assert.Equal("Test.Class1", args.CompilationOptions.MainTypeName); 649Assert.Equal("решения.Class1", args.CompilationOptions.MainTypeName); 1314Assert.Equal(OutputKind.ConsoleApplication, parsedArgs.CompilationOptions.OutputKind); 1318Assert.Equal(OutputKind.NetModule, parsedArgs.CompilationOptions.OutputKind); 1322Assert.Equal(OutputKind.DynamicallyLinkedLibrary, parsedArgs.CompilationOptions.OutputKind); 1326Assert.Equal(OutputKind.WindowsApplication, parsedArgs.CompilationOptions.OutputKind); 1330Assert.Equal(OutputKind.WindowsRuntimeApplication, parsedArgs.CompilationOptions.OutputKind); 1334Assert.Equal(OutputKind.WindowsRuntimeMetadata, parsedArgs.CompilationOptions.OutputKind); 1338Assert.Equal(OutputKind.NetModule, parsedArgs.CompilationOptions.OutputKind); 1365Assert.Equal(OutputKind.ConsoleApplication, parsedArgs.CompilationOptions.OutputKind); 1373Assert.Equal(OutputKind.NetModule, parsedArgs.CompilationOptions.OutputKind); 1381Assert.Equal(OutputKind.DynamicallyLinkedLibrary, parsedArgs.CompilationOptions.OutputKind); 1389Assert.Equal(OutputKind.WindowsApplication, parsedArgs.CompilationOptions.OutputKind); 1397Assert.Equal(OutputKind.WindowsRuntimeApplication, parsedArgs.CompilationOptions.OutputKind); 1405Assert.Equal(OutputKind.WindowsRuntimeMetadata, parsedArgs.CompilationOptions.OutputKind); 1413Assert.Equal(OutputKind.NetModule, parsedArgs.CompilationOptions.OutputKind); 1965Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 1972Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 1979Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 1986Assert.True(parsedArgs.CompilationOptions.DebugPlusMode); 1993Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2000Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2006Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2013Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2019Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2026Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2033Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2039Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2045Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2051Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2057Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2063Assert.True(parsedArgs.CompilationOptions.DebugPlusMode); 2069Assert.True(parsedArgs.CompilationOptions.DebugPlusMode); 2075Assert.False(parsedArgs.CompilationOptions.DebugPlusMode); 2560Assert.Equal(new CSharpCompilationOptions(OutputKind.ConsoleApplication).OptimizationLevel, parsedArgs.CompilationOptions.OptimizationLevel); 2564Assert.Equal(OptimizationLevel.Debug, parsedArgs.CompilationOptions.OptimizationLevel); 2568Assert.Equal(OptimizationLevel.Release, parsedArgs.CompilationOptions.OptimizationLevel); 2572Assert.Equal(OptimizationLevel.Release, parsedArgs.CompilationOptions.OptimizationLevel); 2576Assert.Equal(OptimizationLevel.Debug, parsedArgs.CompilationOptions.OptimizationLevel); 2588Assert.Equal(OptimizationLevel.Debug, parsedArgs.CompilationOptions.OptimizationLevel); 2591Assert.Equal(OptimizationLevel.Release, parsedArgs.CompilationOptions.OptimizationLevel); 2594Assert.Equal(OptimizationLevel.Release, parsedArgs.CompilationOptions.OptimizationLevel); 2597Assert.Equal(OptimizationLevel.Debug, parsedArgs.CompilationOptions.OptimizationLevel); 2614Assert.False(parsedArgs.CompilationOptions.Deterministic); 2618Assert.True(parsedArgs.CompilationOptions.Deterministic); 2622Assert.True(parsedArgs.CompilationOptions.Deterministic); 2626Assert.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;