6 references to GetHashCode
Microsoft.CodeAnalysis.Workspaces (6)
src\Compilers\Core\Portable\InternalUtilities\ReferenceEqualityComparer.cs (1)
28return ReferenceEqualityComparer.GetHashCode(a);
Utilities\ReferenceHolder`1.cs (2)
41return new ReferenceHolder<T>(new WeakReference<T>(value), ReferenceEqualityComparer.GetHashCode(value)); 89return ReferenceEqualityComparer.GetHashCode(_strongReference);
Workspace\Solution\SolutionCompilationState.RootedSymbolSet.cs (3)
59/// cref="ReferenceEqualityComparer.GetHashCode(object?)"/> so that it can be binary searched efficiently. 83secondarySymbols.Add((ReferenceEqualityComparer.GetHashCode(symbol), symbol, MetadataReferenceInfo.From(reference))); 119var symbolHash = ReferenceEqualityComparer.GetHashCode(symbol);