Base:
method
GetHashCode
Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.GetHashCode()
12 overrides of GetHashCode
Microsoft.CodeAnalysis.CSharp (12)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
275public abstract override int GetHashCode();
Symbols\ErrorTypeSymbol.cs (1)
646public override int GetHashCode()
Symbols\ExtendedErrorTypeSymbol.cs (1)
305public override int GetHashCode()
Symbols\MissingMetadataTypeSymbol.cs (2)
332public override int GetHashCode() 450public override int GetHashCode()
Symbols\NativeIntegerTypeSymbol.cs (1)
206public override int GetHashCode() => _underlyingType.GetHashCode();
Symbols\NoPiaAmbiguousCanonicalTypeSymbol.cs (1)
87public override int GetHashCode()
Symbols\NoPiaIllegalGenericInstantiationSymbol.cs (1)
73public override int GetHashCode()
Symbols\NoPiaMissingCanonicalTypeSymbol.cs (1)
111public override int GetHashCode()
Symbols\PlaceholderTypeArgumentSymbol.cs (1)
67public override int GetHashCode()
Symbols\SubstitutedNamedTypeSymbol.cs (1)
415public override int GetHashCode()
Symbols\UnboundGenericType.cs (1)
116public override int GetHashCode()
14 references to GetHashCode
Microsoft.CodeAnalysis.CSharp (14)
BoundTree\UnboundLambda.cs (1)
1070var value = TaskLikeReturnTypeOpt?.GetHashCode() ?? 0;
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.PropertySymbol.cs (1)
231return Hash.Combine(this.ContainingType.GetHashCode(), this.Name.GetHashCode());
Symbols\CustomModifier.cs (2)
89return modifier.GetHashCode(); 121return modifier.GetHashCode();
Symbols\ErrorTypeSymbol.ErrorTypeParameterSymbol.cs (1)
184return Hash.Combine(_container.GetHashCode(), _ordinal);
Symbols\FunctionTypeSymbol.cs (1)
230return GetInternalDelegateType()?.GetHashCode() ?? 0;
Symbols\NativeIntegerTypeSymbol.cs (1)
206public override int GetHashCode() => _underlyingType.GetHashCode();
Symbols\SubstitutedFieldSymbol.cs (1)
131if (containingHashCode != this.OriginalDefinition.ContainingType.GetHashCode())
Symbols\SubstitutedMethodSymbol.cs (2)
369containingHashCode = _containingType.GetHashCode(); 370if (containingHashCode == this.OriginalDefinition.ContainingType.GetHashCode() &&
Symbols\Tuples\TupleErrorFieldSymbol.cs (1)
173return Hash.Combine(ContainingType.GetHashCode(), _tupleElementIndex.GetHashCode());
Symbols\Tuples\TupleFieldSymbol.cs (1)
155return Hash.Combine(_containingTuple.GetHashCode(), _tupleElementIndex.GetHashCode());
Symbols\TypeSymbolExtensions.cs (2)
1576return type.OriginalDefinition.GetHashCode(); 1579int code = type.OriginalDefinition.GetHashCode();