7 references to WithPreprocessorSymbols
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Parsing\CSharpParseOptionsTests.cs (1)
50
Assert.Equal(0, CSharpParseOptions.Default.WithPreprocessorSymbols(ImmutableArray.Create<string>("A", "B")).
WithPreprocessorSymbols
((IEnumerable<string>)null).PreprocessorSymbols.Length);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Workspace\LanguageServices\CSharpSyntaxTreeFactoryService.cs (1)
55
return csharpOptions1.
WithPreprocessorSymbols
(csharpOptions2.PreprocessorSymbolNames) == csharpOptions2;
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
82
.WithParseOptions(new CSharpParseOptions(langVersion).
WithPreprocessorSymbols
(preprocessorSymbols))
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
82
.WithParseOptions(new CSharpParseOptions(langVersion).
WithPreprocessorSymbols
(preprocessorSymbols))
Microsoft.Gen.Logging.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
82
.WithParseOptions(new CSharpParseOptions(langVersion).
WithPreprocessorSymbols
(preprocessorSymbols))
Microsoft.Gen.Metrics.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
82
.WithParseOptions(new CSharpParseOptions(langVersion).
WithPreprocessorSymbols
(preprocessorSymbols))
Microsoft.Gen.MetricsReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
82
.WithParseOptions(new CSharpParseOptions(langVersion).
WithPreprocessorSymbols
(preprocessorSymbols))