Base:
23 overrides of GetHashCode
Microsoft.CodeAnalysis.CSharp (23)
FlowAnalysis\NullableWalker.PlaceholderLocal.cs (1)
47
public override int
GetHashCode
() => _identifier.GetHashCode();
Symbols\AliasSymbol.cs (1)
262
public override int
GetHashCode
()
Symbols\DiscardSymbol.cs (1)
39
public override int
GetHashCode
() => this.TypeWithAnnotations.GetHashCode();
Symbols\EventSymbol.cs (1)
349
public override int
GetHashCode
()
Symbols\FieldSymbol.cs (1)
523
public override int
GetHashCode
()
Symbols\FunctionPointers\FunctionPointerParameterSymbol.cs (1)
62
public override int
GetHashCode
()
Symbols\MethodSymbol.cs (1)
1263
public override int
GetHashCode
()
Symbols\MissingAssemblySymbol.cs (1)
91
public override int
GetHashCode
()
Symbols\MissingModuleSymbol.cs (1)
105
public override int
GetHashCode
()
Symbols\MissingNamespaceSymbol.cs (1)
77
public override int
GetHashCode
()
Symbols\NativeIntegerTypeSymbol.cs (1)
437
public override int
GetHashCode
() => _underlyingParameter.GetHashCode();
Symbols\PropertySymbol.cs (1)
477
public override int
GetHashCode
()
Symbols\RangeVariableSymbol.cs (1)
177
public override int
GetHashCode
()
Symbols\ReducedExtensionMethodSymbol.cs (1)
697
public sealed override int
GetHashCode
()
Symbols\SignatureOnlyParameterSymbol.cs (1)
126
public override int
GetHashCode
()
Symbols\Source\SourceLabelSymbol.cs (1)
160
public override int
GetHashCode
()
Symbols\Source\SourceLocalSymbol.cs (1)
504
public sealed override int
GetHashCode
()
Symbols\Source\SourceParameterSymbolBase.cs (1)
47
public sealed override int
GetHashCode
()
Symbols\SubstitutedParameterSymbol.cs (1)
119
public sealed override int
GetHashCode
()
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
493
public override int
GetHashCode
()
Symbols\SynthesizedNamespaceSymbol.cs (1)
33
public override int
GetHashCode
()
Symbols\TypeSymbol.cs (1)
312
public override int
GetHashCode
()
Symbols\UpdatedContainingSymbolLocal.cs (1)
76
public override int
GetHashCode
() => _underlyingLocal.GetHashCode();
23 references to GetHashCode
Microsoft.CodeAnalysis.CSharp (23)
Binder\Imports.cs (1)
222
return obj.NamespaceOrType.
GetHashCode
();
BoundTree\BoundDagEvaluation.cs (1)
72
return Hash.Combine(Input.GetHashCode(), this.Symbol?.
GetHashCode
() ?? 0);
BoundTree\BoundExpression.cs (1)
710
return Hash.Combine(ValueSymbol.
GetHashCode
(),
FlowAnalysis\DefiniteAssignment.cs (1)
2848
string.IsNullOrEmpty(id.Symbol.Name) ? "<anon>" + id.Symbol.
GetHashCode
() :
FlowAnalysis\NullableWalker.cs (1)
12687
return Hash.Combine(obj.expr, obj.symbol.
GetHashCode
());
Symbols\ExtendedErrorTypeSymbol.cs (1)
308
Hash.Combine((object?)this.ContainingSymbol != null ? this.ContainingSymbol.
GetHashCode
() : 0,
Symbols\FieldSymbol.cs (1)
525
return base.
GetHashCode
();
Symbols\MethodSymbol.cs (1)
1265
return base.
GetHashCode
();
Symbols\MissingModuleSymbol.cs (2)
107
return assembly.
GetHashCode
();
229
return Hash.Combine(assembly.
GetHashCode
(), StringComparer.OrdinalIgnoreCase.GetHashCode(_name));
Symbols\MissingNamespaceSymbol.cs (1)
79
return Hash.Combine(_containingSymbol.
GetHashCode
(), _name.GetHashCode());
Symbols\NativeIntegerTypeSymbol.cs (3)
271
Debug.Assert(symbolA.
GetHashCode
() == symbolB.
GetHashCode
());
437
public override int GetHashCode() => _underlyingParameter.
GetHashCode
();
Symbols\PublicModel\Symbol.cs (1)
81
return UnderlyingSymbol.
GetHashCode
();
Symbols\RangeVariableSymbol.cs (1)
179
return Hash.Combine(_location?.GetHashCode() ?? 0, _containingSymbol.
GetHashCode
());
Symbols\Source\SourceLocalSymbol.cs (1)
506
return Hash.Combine(_identifierToken.GetHashCode(), _containingSymbol.
GetHashCode
());
Symbols\Source\SourceParameterSymbolBase.cs (1)
49
return Hash.Combine(_containingSymbol.
GetHashCode
(), this.Ordinal);
Symbols\SubstitutedMethodSymbol.cs (1)
369
containingHashCode = _containingSymbol.
GetHashCode
();
Symbols\SymbolDistinguisher.cs (1)
232
int result = GetSymbol().
GetHashCode
();
Symbols\SymbolEqualityComparer.cs (1)
45
return obj is null ? 0 : obj.
GetHashCode
();
Symbols\SynthesizedNamespaceSymbol.cs (1)
34
=> Hash.Combine(_containingSymbol.
GetHashCode
(), _name.GetHashCode());
Symbols\TypeSymbol.cs (1)
2362
return obj.OriginalDefinition.
GetHashCode
();