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