251 references to Hash
Microsoft.CodeAnalysis.EditorFeatures (19)
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (1)
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (1)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (5)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Microsoft.CodeAnalysis.Features (33)
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator (1)
Microsoft.CodeAnalysis.Remote.Workspaces (1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces (141)
SymbolEquivalenceComparer.GetHashCodeVisitor.cs (45)
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._assemblyComparerOpt?.GetHashCode(x) ?? 0, currentHash);
95Hash.Combine(x.Name,
102Hash.Combine(x.Name,
103Hash.Combine(x.Locations.FirstOrDefault(), currentHash));
107=> Hash.Combine(x.Locations.FirstOrDefault(), currentHash);
114currentHash = Hash.Combine(x.MetadataName, currentHash);
117return Hash.Combine(x.Locations.FirstOrDefault(), currentHash);
121Hash.Combine(IsPartialMethodImplementationPart(x),
122Hash.Combine(IsPartialMethodDefinitionPart(x),
123Hash.Combine(x.IsDefinition,
124Hash.Combine(IsConstructedFromSelf(x),
125Hash.Combine(x.Arity,
126Hash.Combine(x.Parameters.Length,
127Hash.Combine(x.Name, currentHash)))))));
144=> CombineHashCodes(x.ContainingAssembly, Hash.Combine(x.Name, currentHash));
168return Hash.Combine(currentHash, Hash.CombineValues(x.TupleElements));
174Hash.Combine((int)GetTypeKind(x),
175Hash.Combine(IsConstructedFromSelf(x),
176Hash.Combine(x.Arity,
177Hash.Combine(x.Name,
178Hash.Combine(x.IsAnonymousType,
179Hash.Combine(x.IsUnboundGenericType,
180Hash.Combine(GetNullableAnnotationsHashCode(x),
205return Hash.Combine(p.Name,
206Hash.Combine(p.IsReadOnly,
217return Hash.Combine(x.Name, currentHash);
221Hash.Combine(x.IsGlobalNamespace,
222Hash.Combine(x.Name,
229Hash.Combine(x.IsRefOrOut(),
230Hash.Combine(x.Name,
238Hash.Combine(typeof(IPointerTypeSymbol).GetHashCode(),
245Hash.Combine(x.IsIndexer,
246Hash.Combine(x.Name,
247Hash.Combine(x.Parameters.Length,
256Hash.Combine(x.Name,
268Hash.Combine(x.Ordinal,
269Hash.Combine((int)x.TypeParameterKind, currentHash));
293=> Hash.Combine(x.Locations.FirstOrDefault(), currentHash);
296=> Hash.Combine(x.GetHashCode(), currentHash);
Microsoft.CodeAnalysis.Workspaces.Desktop (2)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (5)
Microsoft.VisualStudio.IntegrationTest.Utilities (16)
Microsoft.VisualStudio.LanguageServices (13)
Microsoft.VisualStudio.LanguageServices.Implementation (2)
Roslyn.VisualStudio.Next.UnitTests (2)