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