132 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)
173
return Hash.
Combine
(_descriptor,
176
Hash.
Combine
(_location, (int)_severity))));
Diagnostic\DiagnosticInfo.cs (1)
457
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)
311
Hash.
Combine
(PdbFilePath,
313
Hash.
Combine
(OutputNameOverride,
314
Hash.
Combine
(RuntimeMetadataVersion,
318
Hash.
Combine
(DefaultSourceFileEncoding,
319
Hash.
Combine
(FallbackSourceFileEncoding, 0)))))))))))))));
Emit\SemanticEdit.cs (2)
164
=> Hash.
Combine
(OldSymbol, Hash.
Combine
(NewSymbol, (int)Kind));
FileSystem\RelativePathResolver.cs (1)
66
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)
212
return Hash.
Combine
(_value,
213
Hash.
Combine
(_type, (int)this.Kind));
Syntax\SyntaxNodeOrToken.cs (2)
741
return Hash.
Combine
(_nodeOrParent, Hash.
Combine
(_token, _tokenIndex));
Syntax\SyntaxToken.cs (2)
577
return Hash.
Combine
(Parent, Hash.
Combine
(Node, Hash.Combine(Position, Index)));
Syntax\SyntaxTokenList.cs (1)
505
return Hash.
Combine
(Node, _index);
Syntax\SyntaxTrivia.cs (1)
287
return Hash.Combine(Token.GetHashCode(), Hash.
Combine
(UnderlyingNode, Hash.Combine(Position, Index)));
Syntax\SyntaxTriviaList.cs (1)
466
return Hash.Combine(Token.GetHashCode(), Hash.
Combine
(Node, Index));
Text\TextLine.cs (1)
200
return Hash.
Combine
(_text, Hash.Combine(_start, _endIncludingBreaks));
Microsoft.CodeAnalysis.CSharp (44)
Binder\Semantics\Conversions\Conversion.cs (1)
1097
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)
1033
value = Hash.
Combine
(type.Type, value);
1382
=> 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)
2550
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)
11762
return Hash.
Combine
(obj.expr, obj.symbol.GetHashCode());
Symbols\ArrayTypeSymbol.cs (1)
382
return Hash.
Combine
(current, hash);
Symbols\EventSymbol.cs (2)
352
hash = Hash.
Combine
(this.ContainingType, hash);
353
hash = 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)
495
hash = Hash.
Combine
(ExplicitInterfaceHelpers.GetMemberNameWithoutInterfaceName(member.Name), hash);
Symbols\MissingMetadataTypeSymbol.cs (5)
339
return Hash.
Combine
(MetadataName, Hash.
Combine
(_containingModule, Hash.
Combine
(_namespaceName, arity)));
451
return Hash.
Combine
(_containingType, Hash.
Combine
(MetadataName, arity));
Symbols\PointerTypeSymbol.cs (1)
225
return Hash.
Combine
(current, indirections);
Symbols\PropertySymbol.cs (2)
454
hash = Hash.
Combine
(this.ContainingType, hash);
455
hash = Hash.
Combine
(this.Name, hash);
Symbols\ReducedExtensionMethodSymbol.cs (1)
681
return Hash.
Combine
(ContainingSymbol, _underlyingParameter.Ordinal);
Symbols\Source\CrefTypeParameterSymbol.cs (1)
117
return Hash.
Combine
(_name, _ordinal);
Symbols\SubstitutedMethodSymbol.cs (1)
392
code = Hash.
Combine
(arg.Type, code);
Symbols\SubstitutedParameterSymbol.cs (1)
121
return Roslyn.Utilities.Hash.
Combine
(ContainingSymbol, _underlyingParameter.Ordinal);
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (3)
458
return Hash.
Combine
(_name, Hash.
Combine
(_containingType, _parameters.Length));
495
return Hash.
Combine
(ContainingSymbol, Ordinal.GetHashCode());
Symbols\TypeParameterSymbol.cs (1)
671
return Hash.
Combine
(ContainingSymbol, Ordinal);
Symbols\TypeSymbolExtensions.cs (2)
1489
code = Hash.
Combine
(type.ContainingType, code);
1506
code = Hash.
Combine
(arg.Type, code);
Symbols\UnboundGenericType.cs (1)
119
: Hash.
Combine
(_name, _errorInfo.Code);
Microsoft.CodeAnalysis.Scripting (7)
GacFileResolver.cs (1)
82
return 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)
234
return Hash.
Combine
(PathResolver,
235
Hash.
Combine
(PackageResolver,
236
Hash.
Combine
(GacFileResolver,
RelativePathResolver.cs (1)
66
Hash.
Combine
(BaseDirectory, Hash.CombineValues(SearchPaths));
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\DiagnosticDescription.cs (2)
353
hashCode = Hash.
Combine
(_squiggledText, hashCode);
354
hashCode = Hash.
Combine
(_arguments, hashCode);
Microsoft.CodeAnalysis.VisualBasic (39)
BoundTree\UnboundLambda.vb (2)
182
hashVal = Hash.
Combine
(item, hashVal)
185
hashVal = Hash.
Combine
(ReturnType, hashVal)
Compilation\PreprocessingSymbolInfo.vb (2)
64
Return Hash.
Combine
(_symbol, Hash.
Combine
(_constantValue, CInt(_isDefined)))
Compilation\TypeInfo.vb (2)
73
Return Hash.
Combine
(_convertedType, Hash.
Combine
(_type, _implicitConversion.GetHashCode()))
Semantics\Conversions.vb (1)
270
Return Hash.
Combine
(Method, CInt(_convKind))
Symbols\ArrayTypeSymbol.vb (1)
361
Return 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)
361
code = Hash.
Combine
(Me.ContainingType, code)
362
code = 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)
198
Return Hash.
Combine
(_containingModule, Hash.
Combine
(MetadataName, Hash.
Combine
(_namespaceName, Arity)))
294
Return Hash.
Combine
(_containingType, Hash.
Combine
(MetadataName, Arity))
Symbols\PointerTypeSymbol.vb (1)
53
Return 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)
135
Return Hash.
Combine
(Me._name, Me._ordinal)
Symbols\SubstitutedErrorType.vb (2)
237
hash = Roslyn.Utilities.Hash.
Combine
(ContainingType, hash)
241
hash = Roslyn.Utilities.Hash.
Combine
(typeArgument, hash)
Symbols\SubstitutedFieldSymbol.vb (1)
176
Return Hash.
Combine
(_containingType, _hash)
Symbols\SubstitutedMethodSymbol.vb (2)
363
_hash = Hash.
Combine
(ContainingType, _hash)
736
_hash = Hash.
Combine
(typeArgument, _hash)
Symbols\SubstitutedNamedType.vb (2)
502
hash = Roslyn.Utilities.Hash.
Combine
(ContainingType, hash)
508
hash = Roslyn.Utilities.Hash.
Combine
(typeArgument, hash)
Symbols\SubstitutedParameterSymbol.vb (1)
198
Return Hash.
Combine
(ContainingSymbol, _hash)
Symbols\SubstitutedPropertySymbol.vb (1)
265
Return Hash.
Combine
(_containingType, _hash)
Symbols\SynthesizedSymbols\SynthesizedIntrinsicOperatorSymbol.vb (3)
95
Return Hash.
Combine
(_name, Hash.
Combine
(m_containingType, _parameters.Length))
210
Return Hash.
Combine
(ContainingSymbol, Ordinal.GetHashCode())
Symbols\TypeWithModifiers.vb (1)
59
Return Hash.
Combine
(Me.Type, Hash.CombineValues(Me.CustomModifiers))
Symbols\UnboundGenericType.vb (1)
300
Return Hash.
Combine
(Me.GetType(), OriginalDefinition.GetHashCode())
Syntax\InternalSyntax\SyntaxToken.vb (1)
31
Function(key) Hash.
Combine
(key.ToFullString(), CShort(key.RawKind))
VisualBasicCompilationOptions.vb (1)
1130
Hash.
Combine
(Me.ParseOptions, 0)))))))))))