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