11 instantiations of MetadataUnifyingSymbolHashSet
Microsoft.CodeAnalysis.Workspaces (11)
FindSymbols\FindReferences\FindReferencesSearchEngine.BidirectionalSymbolSet.cs (1)
29
private readonly MetadataUnifyingSymbolHashSet _allSymbols =
new
();
FindSymbols\FindReferences\FindReferencesSearchEngine.cs (2)
23
private static readonly ObjectPool<MetadataUnifyingSymbolHashSet> s_metadataUnifyingSymbolHashSetPool = new(() =>
new
());
74
var unifiedSymbols = new
MetadataUnifyingSymbolHashSet
();
FindSymbols\FindReferences\FindReferencesSearchEngine.SymbolSet.cs (3)
96
var result = new
MetadataUnifyingSymbolHashSet
();
141
var result = new
MetadataUnifyingSymbolHashSet
();
164
var upSymbols = new
MetadataUnifyingSymbolHashSet
();
FindSymbols\FindReferences\FindReferencesSearchEngine.UnidirectionalSymbolSet.cs (1)
48
var result = new
MetadataUnifyingSymbolHashSet
();
FindSymbols\FindReferences\FindReferencesSearchEngine_FindReferencesInDocuments.cs (3)
28
var unifiedSymbols = new
MetadataUnifyingSymbolHashSet
();
184
this,
new
() { searchSymbol }, includeImplementationsThroughDerivedTypes: false, cancellationToken).ConfigureAwait(false);
194
this,
new
() { candidate }, includeImplementationsThroughDerivedTypes: false, cancellationToken).ConfigureAwait(false);
Shared\Extensions\ISymbolExtensions.cs (1)
674
var overriddenSymbols = new
MetadataUnifyingSymbolHashSet
();
36 references to MetadataUnifyingSymbolHashSet
Microsoft.CodeAnalysis.Workspaces (36)
FindSymbols\FindReferences\FindReferencesSearchEngine.BidirectionalSymbolSet.cs (3)
29
private readonly
MetadataUnifyingSymbolHashSet
_allSymbols = new();
34
MetadataUnifyingSymbolHashSet
initialSymbols,
35
MetadataUnifyingSymbolHashSet
upSymbols,
FindSymbols\FindReferences\FindReferencesSearchEngine.cs (8)
23
private static readonly ObjectPool<
MetadataUnifyingSymbolHashSet
> s_metadataUnifyingSymbolHashSetPool = new(() => new());
74
var
unifiedSymbols = new MetadataUnifyingSymbolHashSet();
190
using var _2 = PooledDictionary<Document,
MetadataUnifyingSymbolHashSet
>.GetInstance(out var documentToSymbols);
206
var
docSymbols = GetSymbolSet(documentToSymbols, document);
234
static
MetadataUnifyingSymbolHashSet
GetSymbolSet<T>(PooledDictionary<T,
MetadataUnifyingSymbolHashSet
> dictionary, T key) where T : notnull
236
if (!dictionary.TryGetValue(key, out
var
set))
251
MetadataUnifyingSymbolHashSet
symbols,
FindSymbols\FindReferences\FindReferencesSearchEngine.NonCascadingSymbolSet.cs (1)
21
public NonCascadingSymbolSet(FindReferencesSearchEngine engine,
MetadataUnifyingSymbolHashSet
searchSymbols) : base(engine)
FindSymbols\FindReferences\FindReferencesSearchEngine.SymbolSet.cs (17)
61
MetadataUnifyingSymbolHashSet
symbols,
69
var
searchSymbols = await MapToAppropriateSymbolsAsync(solution, symbols, cancellationToken).ConfigureAwait(false);
82
var
initialSymbols = await DetermineInitialSearchSymbolsAsync(engine, searchSymbols, cancellationToken).ConfigureAwait(false);
85
var
upSymbols = await DetermineInitialUpSymbolsAsync(
93
private static async Task<
MetadataUnifyingSymbolHashSet
> MapToAppropriateSymbolsAsync(
94
Solution solution,
MetadataUnifyingSymbolHashSet
symbols, CancellationToken cancellationToken)
96
var
result = new MetadataUnifyingSymbolHashSet();
138
public static async Task<
MetadataUnifyingSymbolHashSet
> DetermineInitialSearchSymbolsAsync(
139
FindReferencesSearchEngine engine,
MetadataUnifyingSymbolHashSet
symbols, CancellationToken cancellationToken)
141
var
result = new MetadataUnifyingSymbolHashSet();
158
private static async Task<
MetadataUnifyingSymbolHashSet
> DetermineInitialUpSymbolsAsync(
160
MetadataUnifyingSymbolHashSet
initialSymbols,
164
var
upSymbols = new MetadataUnifyingSymbolHashSet();
181
FindReferencesSearchEngine engine, ImmutableArray<ISymbol> symbols,
MetadataUnifyingSymbolHashSet
seenSymbols, Stack<ISymbol> workQueue, CancellationToken cancellationToken)
188
FindReferencesSearchEngine engine, ISymbol symbol,
MetadataUnifyingSymbolHashSet
seenSymbols, Stack<ISymbol> workQueue, CancellationToken cancellationToken)
226
MetadataUnifyingSymbolHashSet
seenSymbols, Stack<ISymbol> workQueue,
260
MetadataUnifyingSymbolHashSet
seenSymbols,
FindSymbols\FindReferences\FindReferencesSearchEngine.UnidirectionalSymbolSet.cs (4)
27
private readonly
MetadataUnifyingSymbolHashSet
_initialAndDownSymbols;
38
MetadataUnifyingSymbolHashSet
initialSymbols,
39
MetadataUnifyingSymbolHashSet
upSymbols)
48
var
result = new MetadataUnifyingSymbolHashSet();
FindSymbols\FindReferences\FindReferencesSearchEngine_FindReferencesInDocuments.cs (2)
28
var
unifiedSymbols = new MetadataUnifyingSymbolHashSet();
40
var
symbolSet = await SymbolSet.DetermineInitialSearchSymbolsAsync(this, unifiedSymbols, cancellationToken).ConfigureAwait(false);
Shared\Extensions\ISymbolExtensions.cs (1)
674
var
overriddenSymbols = new MetadataUnifyingSymbolHashSet();