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)
1613
Assert.Equal(expectedVersion, parsedArgs.
ParseOptions
.LanguageVersion);
1614
Assert.Equal(expectedVersion, parsedArgs.
ParseOptions
.SpecifiedLanguageVersion);
1618
Assert.Equal(expectedVersion, scriptParsedArgs.
ParseOptions
.LanguageVersion);
1619
Assert.Equal(expectedVersion, scriptParsedArgs.
ParseOptions
.SpecifiedLanguageVersion);
1635
Assert.Equal(expectedVersion, parsedArgs.
ParseOptions
.SpecifiedLanguageVersion);
1647
Assert.Equal(LanguageVersion.Default, parsedArgs.
ParseOptions
.SpecifiedLanguageVersion);
1648
Assert.Equal(defaultEffectiveVersion, parsedArgs.
ParseOptions
.LanguageVersion);
1660
Assert.Equal(LanguageVersion.Latest, parsedArgs.
ParseOptions
.SpecifiedLanguageVersion);
1661
Assert.Equal(latestEffectiveVersion, parsedArgs.
ParseOptions
.LanguageVersion);
1669
Assert.Equal(LanguageVersion.Default, parsedArgs.
ParseOptions
.SpecifiedLanguageVersion);
1902
Assert.Equal(0, parsedArgs.
ParseOptions
.PreprocessorSymbolNames.Count());
1906
Assert.Equal(1, parsedArgs.
ParseOptions
.PreprocessorSymbolNames.Count());
1907
Assert.Contains("GOO", parsedArgs.
ParseOptions
.PreprocessorSymbolNames);
1911
Assert.Equal(3, parsedArgs.
ParseOptions
.PreprocessorSymbolNames.Count());
1912
Assert.Contains("GOO", parsedArgs.
ParseOptions
.PreprocessorSymbolNames);
1913
Assert.Contains("BAR", parsedArgs.
ParseOptions
.PreprocessorSymbolNames);
1914
Assert.Contains("ZIP", parsedArgs.
ParseOptions
.PreprocessorSymbolNames);
1918
Assert.Equal(1, parsedArgs.
ParseOptions
.PreprocessorSymbolNames.Count());
1919
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]));