src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (16)
29_parameterAggregator = (acc, sym) => Hash.Combine(symbolEquivalenceComparer.ParameterEquivalenceComparer.GetHashCode(sym), acc);
47return Hash.Combine(GetNullableAnnotationsHashCode((ITypeSymbol)x), Hash.Combine(typeof(IDynamicTypeSymbol), currentHash));
81Hash.Combine(GetNullableAnnotationsHashCode(x),
82Hash.Combine(x.Rank,
87=> Hash.Combine(_symbolEquivalenceComparer._assemblyComparer?.GetHashCode(x) ?? 0, currentHash);
122Hash.Combine(x.Arity,
123Hash.Combine(x.Parameters.Length,
165return Hash.Combine(currentHash, Hash.CombineValues(x.TupleElements));
171Hash.Combine((int)GetTypeKind(x),
173Hash.Combine(x.Arity,
177Hash.Combine(GetNullableAnnotationsHashCode(x),
235Hash.Combine(typeof(IPointerTypeSymbol).GetHashCode(),
244Hash.Combine(x.Parameters.Length,
267Hash.Combine(x.Ordinal,
268Hash.Combine((int)x.TypeParameterKind, currentHash));
295=> Hash.Combine(x.GetHashCode(), currentHash);