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