1 instantiation of MetadataUnifyingEquivalenceComparer
Microsoft.CodeAnalysis.Workspaces (1)
FindSymbols\FindReferences\MetadataUnifyingEquivalenceComparer.cs (1)
13
public static readonly IEqualityComparer<ISymbol> Instance = new
MetadataUnifyingEquivalenceComparer
();
5 references to MetadataUnifyingEquivalenceComparer
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);