src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (19)
32_parameterAggregator = (acc, sym) => Hash.Combine(symbolEquivalenceComparer.ParameterEquivalenceComparer.GetHashCode(sym), acc);
50return Hash.Combine(GetNullableAnnotationsHashCode((ITypeSymbol)x), Hash.Combine(typeof(IDynamicTypeSymbol), currentHash));
84Hash.Combine(GetNullableAnnotationsHashCode(x),
85Hash.Combine(x.Rank,
90=> Hash.Combine(_symbolEquivalenceComparer._assemblyComparer?.GetHashCode(x) ?? 0, currentHash);
121Hash.Combine(_symbolEquivalenceComparer.GetPartialPartsHashCode(x),
124Hash.Combine(x.Arity,
125Hash.Combine(x.Parameters.Length,
167return Hash.Combine(currentHash, Hash.CombineValues(x.TupleElements));
173Hash.Combine((int)GetTypeKind(x),
175Hash.Combine(x.Arity,
179Hash.Combine(GetNullableAnnotationsHashCode(x),
237Hash.Combine(typeof(IPointerTypeSymbol).GetHashCode(),
246Hash.Combine(x.Parameters.Length,
247Hash.Combine(_symbolEquivalenceComparer.GetPartialPartsHashCode(x),
257Hash.Combine(_symbolEquivalenceComparer.GetPartialPartsHashCode(x),
269Hash.Combine(x.Ordinal,
270Hash.Combine((int)x.TypeParameterKind, currentHash));
297=> Hash.Combine(x.GetHashCode(), currentHash);