132 references to Combine
Microsoft.CodeAnalysis (40)
CommandLine\CommandLineAnalyzerReference.cs (1)
47return Hash.Combine(_path, 0);
CommandLine\CommandLineReference.cs (1)
56return Hash.Combine(_reference, _properties.GetHashCode());
Compilation\CompilationOptions.cs (6)
691Hash.Combine(this.MetadataReferenceResolver, 692Hash.Combine(this.XmlReferenceResolver, 693Hash.Combine(this.SourceReferenceResolver, 694Hash.Combine(this.SyntaxTreeOptionsProvider, 695Hash.Combine(this.StrongNameProvider, 696Hash.Combine(this.AssemblyIdentityComparer,
Compilation\PreprocessingSymbolInfo.cs (1)
44return Hash.Combine(this.IsDefined, Hash.Combine(this.Symbol, 0));
Compilation\SymbolInfo.cs (1)
92=> Hash.Combine(this.Symbol, Hash.Combine(Hash.CombineValues(this.CandidateSymbols, 4), (int)this.CandidateReason));
Compilation\TypeInfo.cs (2)
66return Hash.Combine(this.ConvertedType, 67Hash.Combine(this.Type,
Diagnostic\CommonDiagnosticComparer.cs (1)
40return Hash.Combine(obj.Location, obj.Id.GetHashCode());
Diagnostic\Diagnostic_SimpleDiagnostic.cs (2)
173return Hash.Combine(_descriptor, 176Hash.Combine(_location, (int)_severity))));
Diagnostic\DiagnosticInfo.cs (1)
457hashCode = Hash.Combine(_arguments[i], hashCode);
Diagnostic\FileLinePositionSpan.cs (1)
118=> Hash.Combine(Path, Hash.Combine(HasMappedPath, Span.GetHashCode()));
Diagnostic\SourceLocation.cs (1)
125return Hash.Combine(_syntaxTree, _span.GetHashCode());
Emit\EmitOptions.cs (5)
311Hash.Combine(PdbFilePath, 313Hash.Combine(OutputNameOverride, 314Hash.Combine(RuntimeMetadataVersion, 318Hash.Combine(DefaultSourceFileEncoding, 319Hash.Combine(FallbackSourceFileEncoding, 0)))))))))))))));
Emit\SemanticEdit.cs (2)
164=> Hash.Combine(OldSymbol, Hash.Combine(NewSymbol, (int)Kind));
FileSystem\RelativePathResolver.cs (1)
66Hash.Combine(BaseDirectory, Hash.CombineValues(SearchPaths));
PEWriter\MemberRefComparer.cs (1)
60int hash = Hash.Combine(memberRef.Name, _metadataWriter.GetMemberReferenceParent(memberRef).GetHashCode());
PEWriter\UsedNamespaceOrType.cs (3)
77return Hash.Combine(AliasOpt, 78Hash.Combine((object?)TargetAssemblyOpt, 81Hash.Combine(TargetXmlNamespaceOpt, 0)))));
Symbols\TypedConstant.cs (2)
212return Hash.Combine(_value, 213Hash.Combine(_type, (int)this.Kind));
Syntax\SyntaxNodeOrToken.cs (2)
741return Hash.Combine(_nodeOrParent, Hash.Combine(_token, _tokenIndex));
Syntax\SyntaxToken.cs (2)
577return Hash.Combine(Parent, Hash.Combine(Node, Hash.Combine(Position, Index)));
Syntax\SyntaxTokenList.cs (1)
505return Hash.Combine(Node, _index);
Syntax\SyntaxTrivia.cs (1)
287return Hash.Combine(Token.GetHashCode(), Hash.Combine(UnderlyingNode, Hash.Combine(Position, Index)));
Syntax\SyntaxTriviaList.cs (1)
466return Hash.Combine(Token.GetHashCode(), Hash.Combine(Node, Index));
Text\TextLine.cs (1)
200return Hash.Combine(_text, Hash.Combine(_start, _endIncludingBreaks));
Microsoft.CodeAnalysis.CSharp (44)
Binder\Semantics\Conversions\Conversion.cs (1)
1097return Hash.Combine(this.Method, (int)this.Kind);
Binder\Semantics\Operators\BinaryOperatorSignature.cs (4)
86return Hash.Combine(ReturnType, 87Hash.Combine(LeftType, 88Hash.Combine(RightType, 89Hash.Combine(Method, (int)Kind))));
BoundTree\UnboundLambda.cs (2)
1033value = Hash.Combine(type.Type, value); 1382=> Hash.Combine(obj.Type, obj.IsExpressionTree.GetHashCode());
Compilation\AwaitExpressionInfo.cs (3)
46return Hash.Combine(GetAwaiterMethod, Hash.Combine(IsCompletedProperty, Hash.Combine(GetResultMethod, IsDynamic.GetHashCode())));
Compilation\CSharpCompilation.cs (1)
2550return Hash.Combine(Tree, Span.Start);
Compilation\ForEachStatementInfo.cs (5)
104Hash.Combine(GetEnumeratorMethod, 105Hash.Combine(MoveNextMethod, 106Hash.Combine(CurrentProperty, 107Hash.Combine(DisposeMethod, 108Hash.Combine(ElementType,
Compilation\TypeInfo.cs (2)
75return Hash.Combine(this.ConvertedType, 76Hash.Combine(this.Type,
FlowAnalysis\DefiniteAssignment.VariableIdentifier.cs (1)
58Hash.Combine(Symbol.OriginalDefinition, currentKey);
FlowAnalysis\NullableWalker.cs (1)
11762return Hash.Combine(obj.expr, obj.symbol.GetHashCode());
Symbols\ArrayTypeSymbol.cs (1)
382return Hash.Combine(current, hash);
Symbols\EventSymbol.cs (2)
352hash = Hash.Combine(this.ContainingType, hash); 353hash = Hash.Combine(this.Name, hash);
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
758=> Hash.Combine(ReturnType, Hash.Combine(((int)CallingConvention).GetHashCode(), ((int)FunctionPointerTypeSymbol.GetRefKindForHashCode(RefKind)).GetHashCode()));
Symbols\MemberSignatureComparer.cs (1)
495hash = Hash.Combine(ExplicitInterfaceHelpers.GetMemberNameWithoutInterfaceName(member.Name), hash);
Symbols\MissingMetadataTypeSymbol.cs (5)
339return Hash.Combine(MetadataName, Hash.Combine(_containingModule, Hash.Combine(_namespaceName, arity))); 451return Hash.Combine(_containingType, Hash.Combine(MetadataName, arity));
Symbols\PointerTypeSymbol.cs (1)
225return Hash.Combine(current, indirections);
Symbols\PropertySymbol.cs (2)
454hash = Hash.Combine(this.ContainingType, hash); 455hash = Hash.Combine(this.Name, hash);
Symbols\ReducedExtensionMethodSymbol.cs (1)
681return Hash.Combine(ContainingSymbol, _underlyingParameter.Ordinal);
Symbols\Source\CrefTypeParameterSymbol.cs (1)
117return Hash.Combine(_name, _ordinal);
Symbols\SubstitutedMethodSymbol.cs (1)
392code = Hash.Combine(arg.Type, code);
Symbols\SubstitutedParameterSymbol.cs (1)
121return Roslyn.Utilities.Hash.Combine(ContainingSymbol, _underlyingParameter.Ordinal);
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (3)
458return Hash.Combine(_name, Hash.Combine(_containingType, _parameters.Length)); 495return Hash.Combine(ContainingSymbol, Ordinal.GetHashCode());
Symbols\TypeParameterSymbol.cs (1)
671return Hash.Combine(ContainingSymbol, Ordinal);
Symbols\TypeSymbolExtensions.cs (2)
1489code = Hash.Combine(type.ContainingType, code); 1506code = Hash.Combine(arg.Type, code);
Symbols\UnboundGenericType.cs (1)
119: Hash.Combine(_name, _errorInfo.Code);
Microsoft.CodeAnalysis.Scripting (7)
GacFileResolver.cs (1)
82return Hash.Combine(PreferredCulture, Hash.CombineValues(Architectures));
Hosting\AssemblyLoader\AssemblyAndLocation.cs (2)
35=> Hash.Combine(Assembly, Hash.Combine(Location, Hash.Combine(GlobalAssemblyCache, 0)));
Hosting\Resolvers\RuntimeMetadataReferenceResolver.cs (3)
234return Hash.Combine(PathResolver, 235Hash.Combine(PackageResolver, 236Hash.Combine(GacFileResolver,
RelativePathResolver.cs (1)
66Hash.Combine(BaseDirectory, Hash.CombineValues(SearchPaths));
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\DiagnosticDescription.cs (2)
353hashCode = Hash.Combine(_squiggledText, hashCode); 354hashCode = Hash.Combine(_arguments, hashCode);
Microsoft.CodeAnalysis.VisualBasic (39)
BoundTree\UnboundLambda.vb (2)
182hashVal = Hash.Combine(item, hashVal) 185hashVal = Hash.Combine(ReturnType, hashVal)
Compilation\PreprocessingSymbolInfo.vb (2)
64Return Hash.Combine(_symbol, Hash.Combine(_constantValue, CInt(_isDefined)))
Compilation\TypeInfo.vb (2)
73Return Hash.Combine(_convertedType, Hash.Combine(_type, _implicitConversion.GetHashCode()))
Semantics\Conversions.vb (1)
270Return Hash.Combine(Method, CInt(_convKind))
Symbols\ArrayTypeSymbol.vb (1)
361Return Hash.Combine(current, hashCode)
Symbols\EventSignatureComparer.vb (2)
156_hash = Hash.Combine([event].Name, _hash) 160_hash = Hash.Combine([event].Type, _hash)
Symbols\EventSymbol.vb (2)
361code = Hash.Combine(Me.ContainingType, code) 362code = Hash.Combine(Me.Name, code)
Symbols\MethodSignatureComparer.vb (2)
293_hash = Hash.Combine(method.Name, _hash) 297_hash = Hash.Combine(method.ReturnType, _hash)
Symbols\MissingMetadataTypeSymbol.vb (5)
198Return Hash.Combine(_containingModule, Hash.Combine(MetadataName, Hash.Combine(_namespaceName, Arity))) 294Return Hash.Combine(_containingType, Hash.Combine(MetadataName, Arity))
Symbols\PointerTypeSymbol.vb (1)
53Return Hash.Combine(last, indirections)
Symbols\PropertySignatureComparer.vb (2)
134_hash = Hash.Combine(prop.Name, _hash) 138_hash = Hash.Combine(prop.Type, _hash)
Symbols\Source\CrefTypeParameterSymbol.vb (1)
135Return Hash.Combine(Me._name, Me._ordinal)
Symbols\SubstitutedErrorType.vb (2)
237hash = Roslyn.Utilities.Hash.Combine(ContainingType, hash) 241hash = Roslyn.Utilities.Hash.Combine(typeArgument, hash)
Symbols\SubstitutedFieldSymbol.vb (1)
176Return Hash.Combine(_containingType, _hash)
Symbols\SubstitutedMethodSymbol.vb (2)
363_hash = Hash.Combine(ContainingType, _hash) 736_hash = Hash.Combine(typeArgument, _hash)
Symbols\SubstitutedNamedType.vb (2)
502hash = Roslyn.Utilities.Hash.Combine(ContainingType, hash) 508hash = Roslyn.Utilities.Hash.Combine(typeArgument, hash)
Symbols\SubstitutedParameterSymbol.vb (1)
198Return Hash.Combine(ContainingSymbol, _hash)
Symbols\SubstitutedPropertySymbol.vb (1)
265Return Hash.Combine(_containingType, _hash)
Symbols\SynthesizedSymbols\SynthesizedIntrinsicOperatorSymbol.vb (3)
95Return Hash.Combine(_name, Hash.Combine(m_containingType, _parameters.Length)) 210Return Hash.Combine(ContainingSymbol, Ordinal.GetHashCode())
Symbols\TypeWithModifiers.vb (1)
59Return Hash.Combine(Me.Type, Hash.CombineValues(Me.CustomModifiers))
Symbols\UnboundGenericType.vb (1)
300Return Hash.Combine(Me.GetType(), OriginalDefinition.GetHashCode())
Syntax\InternalSyntax\SyntaxToken.vb (1)
31Function(key) Hash.Combine(key.ToFullString(), CShort(key.RawKind))
VisualBasicCompilationOptions.vb (1)
1130Hash.Combine(Me.ParseOptions, 0)))))))))))