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