Implemented interface member:
16 references to GetHashCode
ILLink.RoslynAnalyzer (2)
DataFlow\LocalStateLattice.cs (1)
28
=> CaptureId is null ? SymbolEqualityComparer.Default.
GetHashCode
(Local) : CaptureId.GetHashCode ();
DataFlow\MethodBodyValue.cs (1)
40
public override int GetHashCode () => SymbolEqualityComparer.Default.
GetHashCode
(OwningSymbol);
Microsoft.AspNetCore.Http.RequestDelegateGenerator (2)
StaticRouteHandlerModel\EndpointResponse.cs (2)
114
HashCode.Combine(SymbolEqualityComparer.Default.
GetHashCode
(ResponseType), SymbolEqualityComparer.Default.
GetHashCode
(WrappedResponseType), WrappedResponseTypeDisplayName, IsAwaitable, HasNoResponse, IsIResult, ContentType);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (12)
Symbols\SymbolEqualityTests.cs (12)
382
Assert.NotEqual(SymbolEqualityComparer.Default.
GetHashCode
(symbol1), SymbolEqualityComparer.Default.
GetHashCode
(symbol2));
385
Assert.NotEqual(SymbolEqualityComparer.ConsiderEverything.
GetHashCode
(symbol1), SymbolEqualityComparer.ConsiderEverything.
GetHashCode
(symbol2));
389
Assert.Equal(SymbolEqualityComparer.Default.
GetHashCode
(symbol2), SymbolEqualityComparer.Default.
GetHashCode
(symbol3));
392
Assert.Equal(SymbolEqualityComparer.ConsiderEverything.
GetHashCode
(symbol2), SymbolEqualityComparer.ConsiderEverything.
GetHashCode
(symbol3));
993
Assert.Equal(SymbolEqualityComparer.Default.
GetHashCode
(symbol1), SymbolEqualityComparer.Default.
GetHashCode
(symbol2));
994
Assert.Equal(SymbolEqualityComparer.IncludeNullability.
GetHashCode
(symbol1), SymbolEqualityComparer.IncludeNullability.
GetHashCode
(symbol2));