src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (47)
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);
92Hash.Combine(x.Name,
99Hash.Combine(x.Name,
100Hash.Combine(x.Locations.FirstOrDefault(), currentHash));
104=> Hash.Combine(x.Locations.FirstOrDefault(), currentHash);
111currentHash = Hash.Combine(x.MetadataName, currentHash);
114return Hash.Combine(x.Locations.FirstOrDefault(), currentHash);
118Hash.Combine(IsPartialMethodImplementationPart(x),
119Hash.Combine(IsPartialMethodDefinitionPart(x),
120Hash.Combine(x.IsDefinition,
121Hash.Combine(IsConstructedFromSelf(x),
122Hash.Combine(x.Arity,
123Hash.Combine(x.Parameters.Length,
124Hash.Combine(x.Name, currentHash)))))));
141=> CombineHashCodes(x.ContainingAssembly, Hash.Combine(x.Name, currentHash));
165return Hash.Combine(currentHash, Hash.CombineValues(x.TupleElements));
171Hash.Combine((int)GetTypeKind(x),
172Hash.Combine(IsConstructedFromSelf(x),
173Hash.Combine(x.Arity,
174Hash.Combine(x.Name,
175Hash.Combine(x.IsAnonymousType,
176Hash.Combine(x.IsUnboundGenericType,
177Hash.Combine(GetNullableAnnotationsHashCode(x),
202return Hash.Combine(p.Name,
203Hash.Combine(p.IsReadOnly,
214return Hash.Combine(x.Name, currentHash);
218Hash.Combine(x.IsGlobalNamespace,
219Hash.Combine(x.Name,
226Hash.Combine(x.IsRefOrOut(),
227Hash.Combine(x.Name,
235Hash.Combine(typeof(IPointerTypeSymbol).GetHashCode(),
242Hash.Combine(x.IsIndexer,
243Hash.Combine(x.Name,
244Hash.Combine(x.Parameters.Length,
245Hash.Combine(IsPartialMethodImplementationPart(x),
246Hash.Combine(IsPartialMethodDefinitionPart(x),
255Hash.Combine(x.Name,
267Hash.Combine(x.Ordinal,
268Hash.Combine((int)x.TypeParameterKind, currentHash));
292=> Hash.Combine(x.Locations.FirstOrDefault(), currentHash);
295=> Hash.Combine(x.GetHashCode(), currentHash);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.ParameterSymbolEqualityComparer.cs (1)
67Hash.Combine(x.IsRefOrOut(),