41 references to Combine
Microsoft.CodeAnalysis.CodeStyle (41)
BitVector.cs (2)
73bitsHash = Hash.Combine(_bits[i].GetHashCode(), bitsHash); 77return Hash.Combine(_capacity, bitsHash);
DiagnosticHelper.cs (1)
358return Hash.Combine(
Hash.cs (7)
24return Combine(currentKey, newKeyPart ? 1 : 0); 64hashCode = Hash.Combine(value.GetHashCode(), hashCode); 84hashCode = Hash.Combine(value.GetHashCode(), hashCode); 107hashCode = Hash.Combine(value.GetHashCode(), hashCode); 133hashCode = Hash.Combine(value.GetHashCode(), hashCode); 158hashCode = Hash.Combine(stringComparer.GetHashCode(value), hashCode); 178hashCode = Hash.Combine(stringComparer.GetHashCode(value), hashCode);
NamingStylePreferences.cs (2)
373return Hash.Combine(Hash.CombineValues(SymbolSpecifications), 374Hash.Combine(Hash.CombineValues(NamingStyles),
PathUtilities.cs (1)
690hc = Hash.Combine(char.ToUpperInvariant(ch), hc);
Range.cs (1)
50return Hash.Combine(Start.GetHashCode(), End.GetHashCode());
Section.cs (2)
188=> Hash.Combine( 190Hash.Combine(
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._assemblyComparerOpt?.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, 268Hash.Combine(x.Ordinal, 269Hash.Combine((int)x.TypeParameterKind, currentHash)); 296=> Hash.Combine(x.GetHashCode(), currentHash);
SymbolKey.cs (1)
348hashCode = Hash.Combine(ch, hashCode);
SymbolSpecification.cs (4)
223return Hash.Combine(ID.GetHashCode(), 224Hash.Combine(Name.GetHashCode(), 225Hash.Combine(Hash.CombineValues(ApplicableSymbolKindList), 226Hash.Combine(Hash.CombineValues(ApplicableAccessibilityList),
SymbolUsageInfo.cs (1)
71=> Hash.Combine(((int?)ValueUsageInfoOpt)?.GetHashCode() ?? 0, ((int?)TypeOrNamespaceUsageInfoOpt)?.GetHashCode() ?? 0);
SyntaxPath.cs (3)
193=> Hash.Combine(_trackKinds, Hash.Combine(_kind, GetSegmentHashCode())); 202hash = Hash.Combine(Hash.Combine(segment.Kind, segment.Ordinal), hash);