2 overrides of PreprocessorSymbolNames
Microsoft.CodeAnalysis.CSharp (1)
CSharpParseOptions.cs (1)
45public override IEnumerable<string> PreprocessorSymbolNames
Microsoft.CodeAnalysis.VisualBasic (1)
VisualBasicParseOptions.vb (1)
123Public Overrides ReadOnly Property PreprocessorSymbolNames As IEnumerable(Of String)
14 references to PreprocessorSymbolNames
Microsoft.CodeAnalysis (5)
Compilation\ParseOptions.cs (5)
145(this.PreprocessorSymbolNames == null ? other.PreprocessorSymbolNames == null : this.PreprocessorSymbolNames.SequenceEqual(other.PreprocessorSymbolNames, StringComparer.Ordinal)); 156Hash.Combine(Hash.CombineValues(this.PreprocessorSymbolNames, StringComparer.Ordinal), 0))));
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Serialization\CSharpOptionsSerializationService.cs (1)
42writer.WriteArray(options.PreprocessorSymbolNames.ToImmutableArrayOrEmpty(), static (w, p) => w.WriteString(p));
Microsoft.CodeAnalysis.Workspaces (4)
FindSymbols\Shared\AbstractSyntaxIndex_Persistence.cs (2)
29/// Cache of ParseOptions to a checksum for the <see cref="ParseOptions.PreprocessorSymbolNames"/> contained 125new StrongBox<Checksum>(CodeAnalysis.Checksum.Create(parseOptions.PreprocessorSymbolNames)));
Workspace\Solution\DocumentState_LinkedFileReuse.cs (2)
195var ppSymbolsNames1 = parseOptions.PreprocessorSymbolNames; 196var ppSymbolsNames2 = siblingParseOptions.PreprocessorSymbolNames;
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (4)
VisualStudioMSBuildWorkspaceTests.cs (4)
1658Assert.DoesNotContain("DEBUG", options.PreprocessorSymbolNames); 1659Assert.Contains("TRACE", options.PreprocessorSymbolNames); 1945Assert.Contains("EnableMyAttribute", options.PreprocessorSymbolNames); 1968Assert.DoesNotContain("EnableMyAttribute", options.PreprocessorSymbolNames);