2 writes to ParseOptions
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CSharpCommandLineArguments.cs (1)
43
ParseOptions
= null!;
CommandLine\CSharpCommandLineParser.cs (1)
1585
ParseOptions
= parseOptions,
23 references to ParseOptions
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CSharpCommandLineArguments.cs (1)
25
get { return
ParseOptions
; }
CommandLine\CSharpCompiler.cs (1)
45
var parseOptions = Arguments.
ParseOptions
;
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (19)
CommandLineTests.cs (19)
1612
Assert.Equal(expectedVersion, parsedArgs.
ParseOptions
.LanguageVersion);
1613
Assert.Equal(expectedVersion, parsedArgs.
ParseOptions
.SpecifiedLanguageVersion);
1617
Assert.Equal(expectedVersion, scriptParsedArgs.
ParseOptions
.LanguageVersion);
1618
Assert.Equal(expectedVersion, scriptParsedArgs.
ParseOptions
.SpecifiedLanguageVersion);
1634
Assert.Equal(expectedVersion, parsedArgs.
ParseOptions
.SpecifiedLanguageVersion);
1646
Assert.Equal(LanguageVersion.Default, parsedArgs.
ParseOptions
.SpecifiedLanguageVersion);
1647
Assert.Equal(defaultEffectiveVersion, parsedArgs.
ParseOptions
.LanguageVersion);
1659
Assert.Equal(LanguageVersion.Latest, parsedArgs.
ParseOptions
.SpecifiedLanguageVersion);
1660
Assert.Equal(latestEffectiveVersion, parsedArgs.
ParseOptions
.LanguageVersion);
1668
Assert.Equal(LanguageVersion.Default, parsedArgs.
ParseOptions
.SpecifiedLanguageVersion);
1901
Assert.Equal(0, parsedArgs.
ParseOptions
.PreprocessorSymbolNames.Count());
1905
Assert.Equal(1, parsedArgs.
ParseOptions
.PreprocessorSymbolNames.Count());
1906
Assert.Contains("GOO", parsedArgs.
ParseOptions
.PreprocessorSymbolNames);
1910
Assert.Equal(3, parsedArgs.
ParseOptions
.PreprocessorSymbolNames.Count());
1911
Assert.Contains("GOO", parsedArgs.
ParseOptions
.PreprocessorSymbolNames);
1912
Assert.Contains("BAR", parsedArgs.
ParseOptions
.PreprocessorSymbolNames);
1913
Assert.Contains("ZIP", parsedArgs.
ParseOptions
.PreprocessorSymbolNames);
1917
Assert.Equal(1, parsedArgs.
ParseOptions
.PreprocessorSymbolNames.Count());
1918
Assert.Contains("GOO", parsedArgs.
ParseOptions
.PreprocessorSymbolNames);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CSharpCommandLineParserServiceTests.cs (1)
21
=> GetArguments(args).
ParseOptions
;
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\TempPECompilerService.cs (1)
46
trees.Add(SyntaxFactory.ParseSyntaxTree(sourceText, parsedArguments.
ParseOptions
, fileNames[i]));