src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (16)
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);
125Hash.Combine(x.Arity,
126Hash.Combine(x.Parameters.Length,
168return Hash.Combine(currentHash, Hash.CombineValues(x.TupleElements));
174Hash.Combine((int)GetTypeKind(x),
176Hash.Combine(x.Arity,
180Hash.Combine(GetNullableAnnotationsHashCode(x),
238Hash.Combine(typeof(IPointerTypeSymbol).GetHashCode(),
247Hash.Combine(x.Parameters.Length,
272Hash.Combine(x.Ordinal,
273Hash.Combine((int)x.TypeParameterKind, currentHash));
300=> Hash.Combine(x.GetHashCode(), currentHash);