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