91 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)
174return Hash.Combine(_descriptor, 177Hash.Combine(_location, (int)_severity))));
Diagnostic\DiagnosticInfo.cs (1)
401hashCode = 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)
313Hash.Combine(PdbFilePath, 315Hash.Combine(OutputNameOverride, 316Hash.Combine(RuntimeMetadataVersion, 320Hash.Combine(DefaultSourceFileEncoding, 321Hash.Combine(FallbackSourceFileEncoding, 0)))))))))))))));
Emit\SemanticEdit.cs (2)
219=> Hash.Combine(OldSymbol, Hash.Combine(NewSymbol, (int)Kind));
FileSystem\RelativePathResolver.cs (1)
64Hash.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)
214return Hash.Combine(_value, 215Hash.Combine(_type, (int)this.Kind));
Syntax\SyntaxNodeOrToken.cs (2)
742return Hash.Combine(_nodeOrParent, Hash.Combine(_token, _tokenIndex));
Syntax\SyntaxToken.cs (2)
575return Hash.Combine(Parent, Hash.Combine(Node, Hash.Combine(Position, Index)));
Syntax\SyntaxTokenList.cs (1)
516return Hash.Combine(Node, _index);
Syntax\SyntaxTrivia.cs (1)
288return Hash.Combine(Token.GetHashCode(), Hash.Combine(UnderlyingNode, Hash.Combine(Position, Index)));
Syntax\SyntaxTriviaList.cs (1)
485return Hash.Combine(Token.GetHashCode(), Hash.Combine(Node, Index));
Text\TextLine.cs (1)
212return Hash.Combine(_text, Hash.Combine(_start, _endIncludingBreaks));
Microsoft.CodeAnalysis.CSharp (44)
Binder\Semantics\Conversions\Conversion.cs (1)
1192return 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)
1094value = Hash.Combine(type.Type, value); 1443=> 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)
2838return 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)
13506return Hash.Combine(obj.expr, obj.symbol.GetHashCode());
Symbols\ArrayTypeSymbol.cs (1)
386return Hash.Combine(current, hash);
Symbols\EventSymbol.cs (2)
356hash = Hash.Combine(this.ContainingType, hash); 357hash = Hash.Combine(this.Name, hash);
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
761=> Hash.Combine(ReturnType, Hash.Combine(((int)CallingConvention).GetHashCode(), ((int)FunctionPointerTypeSymbol.GetRefKindForHashCode(RefKind)).GetHashCode()));
Symbols\MemberSignatureComparer.cs (1)
541hash = Hash.Combine(ExplicitInterfaceHelpers.GetMemberNameWithoutInterfaceName(member.Name), hash);
Symbols\MissingMetadataTypeSymbol.cs (5)
340return Hash.Combine(MetadataName, Hash.Combine(_containingModule, Hash.Combine(_namespaceName, arity))); 452return Hash.Combine(_containingType, Hash.Combine(MetadataName, arity));
Symbols\PointerTypeSymbol.cs (1)
228return Hash.Combine(current, indirections);
Symbols\PropertySymbol.cs (2)
481hash = Hash.Combine(this.ContainingType, hash); 482hash = Hash.Combine(this.Name, hash);
Symbols\ReducedExtensionMethodSymbol.cs (1)
703return Hash.Combine(ContainingSymbol, _underlyingParameter.Ordinal);
Symbols\Source\CrefTypeParameterSymbol.cs (1)
117return Hash.Combine(_name, _ordinal);
Symbols\SubstitutedMethodSymbol.cs (1)
399code = Hash.Combine(arg.Type, code);
Symbols\SubstitutedParameterSymbol.cs (1)
128return Roslyn.Utilities.Hash.Combine(ContainingSymbol, _underlyingParameter.Ordinal);
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (3)
461return Hash.Combine(_name, Hash.Combine(_containingType, _parameters.Length)); 498return Hash.Combine(ContainingSymbol, Ordinal.GetHashCode());
Symbols\TypeParameterSymbol.cs (1)
681return Hash.Combine(ContainingSymbol, Ordinal);
Symbols\TypeSymbolExtensions.cs (2)
1582code = Hash.Combine(type.ContainingType, code); 1599code = Hash.Combine(arg.Type, code);
Symbols\UnboundGenericType.cs (1)
120: Hash.Combine(_name, _errorInfo.Code);
Microsoft.CodeAnalysis.Scripting (5)
Hosting\Resolvers\RuntimeMetadataReferenceResolver.cs (3)
232return Hash.Combine(PathResolver, 233Hash.Combine(PackageResolver, 234Hash.Combine(GacFileResolver,
src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
64Hash.Combine(BaseDirectory, Hash.CombineValues(SearchPaths));
src\Compilers\Shared\GlobalAssemblyCacheHelpers\GacFileResolver.cs (1)
82return Hash.Combine(PreferredCulture, Hash.CombineValues(Architectures));
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\DiagnosticDescription.cs (2)
354hashCode = Hash.Combine(_squiggledText, hashCode); 355hashCode = Hash.Combine(_arguments, hashCode);