91 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));
Microsoft.CodeAnalysis.CSharp (44)
Binder\Semantics\Conversions\Conversion.cs (1)
1192
return Hash.
Combine
(this.Method, (int)this.Kind);
Binder\Semantics\Operators\BinaryOperatorSignature.cs (4)
86
return Hash.
Combine
(ReturnType,
87
Hash.
Combine
(LeftType,
88
Hash.
Combine
(RightType,
89
Hash.
Combine
(Method, (int)Kind))));
BoundTree\UnboundLambda.cs (2)
1094
value = Hash.
Combine
(type.Type, value);
1443
=> Hash.
Combine
(obj.Type, obj.IsExpressionTree.GetHashCode());
Compilation\AwaitExpressionInfo.cs (3)
46
return Hash.
Combine
(GetAwaiterMethod, Hash.
Combine
(IsCompletedProperty, Hash.
Combine
(GetResultMethod, IsDynamic.GetHashCode())));
Compilation\CSharpCompilation.cs (1)
2838
return Hash.
Combine
(Tree, Span.Start);
Compilation\ForEachStatementInfo.cs (5)
104
Hash.
Combine
(GetEnumeratorMethod,
105
Hash.
Combine
(MoveNextMethod,
106
Hash.
Combine
(CurrentProperty,
107
Hash.
Combine
(DisposeMethod,
108
Hash.
Combine
(ElementType,
Compilation\TypeInfo.cs (2)
75
return Hash.
Combine
(this.ConvertedType,
76
Hash.
Combine
(this.Type,
FlowAnalysis\DefiniteAssignment.VariableIdentifier.cs (1)
58
Hash.
Combine
(Symbol.OriginalDefinition, currentKey);
FlowAnalysis\NullableWalker.cs (1)
13506
return Hash.
Combine
(obj.expr, obj.symbol.GetHashCode());
Symbols\ArrayTypeSymbol.cs (1)
386
return Hash.
Combine
(current, hash);
Symbols\EventSymbol.cs (2)
356
hash = Hash.
Combine
(this.ContainingType, hash);
357
hash = 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)
541
hash = Hash.
Combine
(ExplicitInterfaceHelpers.GetMemberNameWithoutInterfaceName(member.Name), hash);
Symbols\MissingMetadataTypeSymbol.cs (5)
340
return Hash.
Combine
(MetadataName, Hash.
Combine
(_containingModule, Hash.
Combine
(_namespaceName, arity)));
452
return Hash.
Combine
(_containingType, Hash.
Combine
(MetadataName, arity));
Symbols\PointerTypeSymbol.cs (1)
228
return Hash.
Combine
(current, indirections);
Symbols\PropertySymbol.cs (2)
481
hash = Hash.
Combine
(this.ContainingType, hash);
482
hash = Hash.
Combine
(this.Name, hash);
Symbols\ReducedExtensionMethodSymbol.cs (1)
703
return Hash.
Combine
(ContainingSymbol, _underlyingParameter.Ordinal);
Symbols\Source\CrefTypeParameterSymbol.cs (1)
117
return Hash.
Combine
(_name, _ordinal);
Symbols\SubstitutedMethodSymbol.cs (1)
399
code = Hash.
Combine
(arg.Type, code);
Symbols\SubstitutedParameterSymbol.cs (1)
128
return Roslyn.Utilities.Hash.
Combine
(ContainingSymbol, _underlyingParameter.Ordinal);
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (3)
461
return Hash.
Combine
(_name, Hash.
Combine
(_containingType, _parameters.Length));
498
return Hash.
Combine
(ContainingSymbol, Ordinal.GetHashCode());
Symbols\TypeParameterSymbol.cs (1)
681
return Hash.
Combine
(ContainingSymbol, Ordinal);
Symbols\TypeSymbolExtensions.cs (2)
1582
code = Hash.
Combine
(type.ContainingType, code);
1599
code = Hash.
Combine
(arg.Type, code);
Symbols\UnboundGenericType.cs (1)
120
: Hash.
Combine
(_name, _errorInfo.Code);
Microsoft.CodeAnalysis.Scripting (5)
Hosting\Resolvers\RuntimeMetadataReferenceResolver.cs (3)
232
return Hash.
Combine
(PathResolver,
233
Hash.
Combine
(PackageResolver,
234
Hash.
Combine
(GacFileResolver,
src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
64
Hash.
Combine
(BaseDirectory, Hash.CombineValues(SearchPaths));
src\Compilers\Shared\GlobalAssemblyCacheHelpers\GacFileResolver.cs (1)
82
return Hash.
Combine
(PreferredCulture, Hash.CombineValues(Architectures));
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\DiagnosticDescription.cs (2)
354
hashCode = Hash.
Combine
(_squiggledText, hashCode);
355
hashCode = Hash.
Combine
(_arguments, hashCode);