5 references to Instance
Microsoft.CodeAnalysis.Workspaces (5)
FindSymbols\FindReferences\FindReferencesSearchEngine.cs (1)
36private static readonly ObjectPool<Dictionary<ISymbol, SymbolGroup>> s_symbolToGroupPool = new(() => new(MetadataUnifyingEquivalenceComparer.Instance));
FindSymbols\FindReferences\FindReferencesSearchEngine.UnidirectionalSymbolSet.cs (1)
35private readonly ImmutableHashSet<ISymbol> _upSymbols = upSymbols.ToImmutableHashSet(MetadataUnifyingEquivalenceComparer.Instance);
FindSymbols\FindReferences\MetadataUnifyingSymbolHashSet.cs (1)
14public MetadataUnifyingSymbolHashSet() : base(MetadataUnifyingEquivalenceComparer.Instance)
FindSymbols\IStreamingFindReferencesProgress.cs (2)
42MetadataUnifyingEquivalenceComparer.Instance, symbols); 57hashCode += MetadataUnifyingEquivalenceComparer.Instance.GetHashCode(symbol);