40 references to Combine
Microsoft.CodeAnalysis (40)
CommandLine\CommandLineAnalyzerReference.cs (1)
47
return Hash.
Combine
(_path, 0);
CommandLine\CommandLineReference.cs (1)
56
return Hash.
Combine
(_reference, _properties.GetHashCode());
Compilation\CompilationOptions.cs (6)
691
Hash.
Combine
(this.MetadataReferenceResolver,
692
Hash.
Combine
(this.XmlReferenceResolver,
693
Hash.
Combine
(this.SourceReferenceResolver,
694
Hash.
Combine
(this.SyntaxTreeOptionsProvider,
695
Hash.
Combine
(this.StrongNameProvider,
696
Hash.
Combine
(this.AssemblyIdentityComparer,
Compilation\PreprocessingSymbolInfo.cs (1)
44
return 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)
66
return Hash.
Combine
(this.ConvertedType,
67
Hash.
Combine
(this.Type,
Diagnostic\CommonDiagnosticComparer.cs (1)
40
return Hash.
Combine
(obj.Location, obj.Id.GetHashCode());
Diagnostic\Diagnostic_SimpleDiagnostic.cs (2)
174
return Hash.
Combine
(_descriptor,
177
Hash.
Combine
(_location, (int)_severity))));
Diagnostic\DiagnosticInfo.cs (1)
401
hashCode = Hash.
Combine
(_arguments[i], hashCode);
Diagnostic\FileLinePositionSpan.cs (1)
118
=> Hash.
Combine
(Path, Hash.Combine(HasMappedPath, Span.GetHashCode()));
Diagnostic\SourceLocation.cs (1)
125
return Hash.
Combine
(_syntaxTree, _span.GetHashCode());
Emit\EmitOptions.cs (5)
313
Hash.
Combine
(PdbFilePath,
315
Hash.
Combine
(OutputNameOverride,
316
Hash.
Combine
(RuntimeMetadataVersion,
320
Hash.
Combine
(DefaultSourceFileEncoding,
321
Hash.
Combine
(FallbackSourceFileEncoding, 0)))))))))))))));
Emit\SemanticEdit.cs (2)
219
=> Hash.
Combine
(OldSymbol, Hash.
Combine
(NewSymbol, (int)Kind));
FileSystem\RelativePathResolver.cs (1)
64
Hash.
Combine
(BaseDirectory, Hash.CombineValues(SearchPaths));
PEWriter\MemberRefComparer.cs (1)
60
int hash = Hash.
Combine
(memberRef.Name, _metadataWriter.GetMemberReferenceParent(memberRef).GetHashCode());
PEWriter\UsedNamespaceOrType.cs (3)
77
return Hash.
Combine
(AliasOpt,
78
Hash.
Combine
((object?)TargetAssemblyOpt,
81
Hash.
Combine
(TargetXmlNamespaceOpt, 0)))));
Symbols\TypedConstant.cs (2)
214
return Hash.
Combine
(_value,
215
Hash.
Combine
(_type, (int)this.Kind));
Syntax\SyntaxNodeOrToken.cs (2)
742
return Hash.
Combine
(_nodeOrParent, Hash.
Combine
(_token, _tokenIndex));
Syntax\SyntaxToken.cs (2)
575
return Hash.
Combine
(Parent, Hash.
Combine
(Node, Hash.Combine(Position, Index)));
Syntax\SyntaxTokenList.cs (1)
516
return Hash.
Combine
(Node, _index);
Syntax\SyntaxTrivia.cs (1)
288
return Hash.Combine(Token.GetHashCode(), Hash.
Combine
(UnderlyingNode, Hash.Combine(Position, Index)));
Syntax\SyntaxTriviaList.cs (1)
485
return Hash.Combine(Token.GetHashCode(), Hash.
Combine
(Node, Index));
Text\TextLine.cs (1)
212
return Hash.
Combine
(_text, Hash.Combine(_start, _endIncludingBreaks));