6 references to WithPreprocessorSymbols
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Parsing\CSharpParseOptionsTests.cs (5)
47TestProperty((old, value) => old.WithPreprocessorSymbols(value), opt => opt.PreprocessorSymbols, ImmutableArray.Create<string>("A", "B", "C")); 49Assert.Equal(0, CSharpParseOptions.Default.WithPreprocessorSymbols(ImmutableArray.Create<string>("A", "B")).WithPreprocessorSymbols(default(ImmutableArray<string>)).PreprocessorSymbols.Length); 50Assert.Equal(0, CSharpParseOptions.Default.WithPreprocessorSymbols(ImmutableArray.Create<string>("A", "B")).WithPreprocessorSymbols((IEnumerable<string>)null).PreprocessorSymbols.Length); 51Assert.Equal(0, CSharpParseOptions.Default.WithPreprocessorSymbols(ImmutableArray.Create<string>("A", "B")).WithPreprocessorSymbols((string[])null).PreprocessorSymbols.Length);
Microsoft.CodeAnalysis.Rebuild (1)
CSharpCompilationFactory.cs (1)
78.WithPreprocessorSymbols(preprocessorSymbols);