Base:
method
GetHashCode
System.ValueType.GetHashCode()
119 references to GetHashCode
illink (4)
Linker\TypeReferenceEqualityComparer.cs (3)
211
return GetHashCodeFor (arrayType.ElementType) * hashCodeMultiplier + arrayType.Rank.
GetHashCode
();
216
var hashCode = genericParameter.Position.
GetHashCode
() * hashCodeMultiplier + ((int) metadataType).
GetHashCode
();
src\tools\illink\src\ILLink.Shared\ParameterIndex.cs (1)
49
public override int GetHashCode () => Index.
GetHashCode
();
ILLink.RoslynAnalyzer (1)
src\tools\illink\src\ILLink.Shared\ParameterIndex.cs (1)
49
public override int GetHashCode () => Index.
GetHashCode
();
InteropClient (6)
artifacts\obj\InteropClient\Release\net9.0\Messages.cs (6)
620
if (Code != 0) hash ^= Code.
GetHashCode
();
962
if (ResponseSize != 0) hash ^= ResponseSize.
GetHashCode
();
1894
if (AggregatedPayloadSize != 0) hash ^= AggregatedPayloadSize.
GetHashCode
();
2127
if (Size != 0) hash ^= Size.
GetHashCode
();
2128
if (IntervalUs != 0) hash ^= IntervalUs.
GetHashCode
();
2904
if (MaxReconnectBackoffMs != 0) hash ^= MaxReconnectBackoffMs.
GetHashCode
();
InteropWebsite (6)
artifacts\obj\InteropWebsite\Release\net9.0\Messages.cs (6)
620
if (Code != 0) hash ^= Code.
GetHashCode
();
962
if (ResponseSize != 0) hash ^= ResponseSize.
GetHashCode
();
1894
if (AggregatedPayloadSize != 0) hash ^= AggregatedPayloadSize.
GetHashCode
();
2127
if (Size != 0) hash ^= Size.
GetHashCode
();
2128
if (IntervalUs != 0) hash ^= IntervalUs.
GetHashCode
();
2904
if (MaxReconnectBackoffMs != 0) hash ^= MaxReconnectBackoffMs.
GetHashCode
();
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (7)
artifacts\obj\Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests\Release\net9.0\Proto\Issue047349\Message.cs (3)
145
if (A != 0) hash ^= A.
GetHashCode
();
146
if (B != 0) hash ^= B.
GetHashCode
();
147
if (C != 0) hash ^= C.
GetHashCode
();
artifacts\obj\Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests\Release\net9.0\Proto\Transcoding.cs (4)
658
if (Age != 0) hash ^= Age.
GetHashCode
();
1872
if (SingleInt32 != 0) hash ^= SingleInt32.
GetHashCode
();
1876
if (SingleSint32 != 0) hash ^= SingleSint32.
GetHashCode
();
1880
if (SingleSfixed32 != 0) hash ^= SingleSfixed32.
GetHashCode
();
Microsoft.AspNetCore.Grpc.Swagger.Tests (7)
artifacts\obj\Microsoft.AspNetCore.Grpc.Swagger.Tests\Release\net9.0\Proto\Counter.cs (3)
137
if (Value1 != 0) hash ^= Value1.
GetHashCode
();
138
if (Value2 != 0) hash ^= Value2.
GetHashCode
();
349
if (Result != 0) hash ^= Result.
GetHashCode
();
artifacts\obj\Microsoft.AspNetCore.Grpc.Swagger.Tests\Release\net9.0\Proto\Messages.cs (3)
989
if (SingleInt32 != 0) hash ^= SingleInt32.
GetHashCode
();
993
if (SingleSint32 != 0) hash ^= SingleSint32.
GetHashCode
();
997
if (SingleSfixed32 != 0) hash ^= SingleSfixed32.
GetHashCode
();
artifacts\obj\Microsoft.AspNetCore.Grpc.Swagger.Tests\Release\net9.0\Proto\Xmldoc.cs (1)
583
if (Age != 0) hash ^= Age.
GetHashCode
();
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Binders\DictionaryModelBinderTest.cs (1)
723
return nameCode ^ Id.
GetHashCode
();
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
DictionaryModelBinderIntegrationTest.cs (1)
475
return Id.
GetHashCode
();
Microsoft.AspNetCore.Routing (1)
Matching\HostMatcherPolicy.cs (1)
464
return (Host?.GetHashCode() ?? 0) ^ (Port?.
GetHashCode
() ?? 0);
Microsoft.Build (2)
ElementLocation\ElementLocation.cs (2)
94
return Line.
GetHashCode
() ^ Column.
GetHashCode
();
Microsoft.Build.Framework (1)
Profiler\ProfilerResult.cs (1)
86
hashCode = (hashCode * -1521134295) + NumberOfHits.
GetHashCode
();
Microsoft.Build.Tasks.Core (1)
LockCheck.cs (1)
224
var h1 = ProcessId.
GetHashCode
();
Microsoft.Build.UnitTests.Shared (2)
ObjectModelHelpers.cs (2)
2046
return obj.Line.
GetHashCode
() ^ obj.Column.
GetHashCode
() ^ obj.File.GetHashCode();
Microsoft.Extensions.Primitives (2)
StringValues.cs (2)
745
return Unsafe.As<string>(this[0])?.GetHashCode() ?? Count.
GetHashCode
();
756
return Unsafe.As<string>(value)?.GetHashCode() ?? Count.
GetHashCode
();
PresentationCore (3)
MS\Internal\DpiScale2.cs (1)
193
return ((int)(this.PixelsPerInchX)).
GetHashCode
();
System\Windows\Media\textformatting\CharacterHit.cs (2)
121
return _firstCharacterIndex.
GetHashCode
() ^ _trailingLength.
GetHashCode
();
PresentationFramework (14)
MS\Internal\PtsHost\Pts.cs (8)
905
return u.
GetHashCode
() ^ v.
GetHashCode
() ^ du.
GetHashCode
() ^ dv.
GetHashCode
();
952
return u.
GetHashCode
() ^ v.
GetHashCode
();
983
return du.
GetHashCode
() ^ dv.
GetHashCode
();
System\Windows\Controls\Primitives\IItemContainerGenerator.cs (2)
147
return _index.
GetHashCode
() + _offset.
GetHashCode
();
System\Windows\Documents\FlowNode.cs (2)
82
return _scopeId.
GetHashCode
()^_fp.
GetHashCode
();
System\Windows\Documents\FlowPosition.cs (1)
88
return _flowNode.GetHashCode()^_offset.
GetHashCode
();
System\Windows\Standard\ErrorCodes.cs (1)
124
return _value.
GetHashCode
();
Sandbox (3)
artifacts\obj\Sandbox\Release\net9.0\Transcoding.cs (3)
1010
if (SingleInt32 != 0) hash ^= SingleInt32.
GetHashCode
();
1014
if (SingleSint32 != 0) hash ^= SingleSint32.
GetHashCode
();
1018
if (SingleSfixed32 != 0) hash ^= SingleSfixed32.
GetHashCode
();
SocialWeather (1)
Protobuf\WeatherReport.cs (1)
165
if (Temperature != 0) hash ^= Temperature.
GetHashCode
();
System.ComponentModel.TypeConverter (1)
System\ComponentModel\DataObjectMethodAttribute.cs (1)
35
public override int GetHashCode() => ((int)MethodType).
GetHashCode
() ^ IsDefault.GetHashCode();
System.Composition.TypedParts (1)
System\Composition\TypedParts\Discovery\DiscoveredPart.cs (1)
270
return HashHelpers.Combine(obj.Position.
GetHashCode
(), obj.Member.GetHashCode());
System.Data.Common (1)
System\Data\SQLTypes\SQLInt32.cs (1)
502
public override int GetHashCode() => IsNull ? 0 : Value.
GetHashCode
();
System.Linq.Expressions (1)
System\Linq\Expressions\Interpreter\LocalVariables.cs (1)
63
public override int GetHashCode() => Parameter is null ? 0 : Parameter.GetHashCode() ^ Index.
GetHashCode
();
System.Net.Primitives (1)
System\Net\CredentialCache.cs (1)
368
Port.
GetHashCode
();
System.Net.Quic (1)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509.cs (1)
431
public override int GetHashCode() => Code.
GetHashCode
();
System.Net.Security (1)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509.cs (1)
431
public override int GetHashCode() => Code.
GetHashCode
();
System.Net.Sockets (1)
System\Net\Sockets\IPPacketInformation.cs (1)
40
unchecked(_networkInterface.
GetHashCode
() * (int)0xA5555529) + (_address?.GetHashCode() ?? 0);
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Enum.cs (1)
1265
CorElementType.ELEMENT_TYPE_I4 => Unsafe.As<byte, int>(ref data).
GetHashCode
(),
src\System\Reflection\MdFieldInfo.cs (1)
56
HashCode.Combine(m_tkField.
GetHashCode
(), m_declaringType.GetUnderlyingNativeHandle().GetHashCode());
src\System\Reflection\RuntimeEventInfo.cs (1)
85
HashCode.Combine(m_token.
GetHashCode
(), m_declaringType.GetUnderlyingNativeHandle().GetHashCode());
src\System\Reflection\RuntimePropertyInfo.cs (1)
193
HashCode.Combine(m_token.
GetHashCode
(), m_declaringType.GetUnderlyingNativeHandle().GetHashCode());
System.Private.Xml (2)
System\Xml\Xsl\Pair.cs (2)
26
public override int GetHashCode() => Left.
GetHashCode
() ^ Right.
GetHashCode
();
System.Reflection.Context (1)
System\Reflection\Context\Virtual\VirtualParameter.cs (1)
61
Position.
GetHashCode
() ^
System.Reflection.Metadata (33)
System\Reflection\Metadata\Ecma335\Encoding\LabelHandle.cs (1)
26
public override int GetHashCode() => Id.
GetHashCode
();
System\Reflection\Metadata\PortablePdb\Handles.Debug.cs (7)
84
return _rowId.
GetHashCode
();
167
return _rowId.
GetHashCode
();
262
return _rowId.
GetHashCode
();
345
return _rowId.
GetHashCode
();
428
return _rowId.
GetHashCode
();
511
return _rowId.
GetHashCode
();
594
return _rowId.
GetHashCode
();
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (25)
84
return _rowId.
GetHashCode
();
167
return _rowId.
GetHashCode
();
250
return _rowId.
GetHashCode
();
333
return _rowId.
GetHashCode
();
428
return _rowId.
GetHashCode
();
511
return _rowId.
GetHashCode
();
594
return _rowId.
GetHashCode
();
677
return _rowId.
GetHashCode
();
760
return _rowId.
GetHashCode
();
843
return _rowId.
GetHashCode
();
926
return _rowId.
GetHashCode
();
1009
return _rowId.
GetHashCode
();
1092
return _rowId.
GetHashCode
();
1175
return _rowId.
GetHashCode
();
1258
return _rowId.
GetHashCode
();
1341
return _rowId.
GetHashCode
();
1424
return _rowId.
GetHashCode
();
1507
return _rowId.
GetHashCode
();
1590
return _rowId.
GetHashCode
();
1791
return _rowId.
GetHashCode
();
1874
return _rowId.
GetHashCode
();
1957
return _rowId.
GetHashCode
();
2040
return _rowId.
GetHashCode
();
2123
return _rowId.
GetHashCode
();
2200
return _offset.
GetHashCode
();
System.Reflection.MetadataLoadContext (6)
System\Reflection\TypeLoading\Constructors\RoDefinitionConstructor.cs (1)
56
public sealed override int GetHashCode() => MetadataToken.
GetHashCode
() ^ DeclaringType.GetHashCode();
System\Reflection\TypeLoading\Constructors\RoSyntheticConstructor.cs (1)
80
public sealed override int GetHashCode() => DeclaringType.GetHashCode() ^ _uniquifier.
GetHashCode
();
System\Reflection\TypeLoading\Methods\RoDefinitionMethod.cs (1)
94
public sealed override int GetHashCode() => MetadataToken.
GetHashCode
() ^ DeclaringType.GetHashCode();
System\Reflection\TypeLoading\Methods\RoSyntheticMethod.cs (1)
82
public sealed override int GetHashCode() => DeclaringType.GetHashCode() ^ _uniquifier.
GetHashCode
();
System\Reflection\TypeLoading\Parameters\RoParameter.cs (1)
58
public sealed override int GetHashCode() => _member.GetHashCode() ^ _position.
GetHashCode
();
System\Reflection\TypeLoading\Types\RoArrayType.Key.cs (1)
37
public override int GetHashCode() => ElementType.GetHashCode() ^ Rank.
GetHashCode
();
System.Security.Cryptography (1)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509.cs (1)
431
public override int GetHashCode() => Code.
GetHashCode
();
System.Windows.Input.Manipulations (1)
System\Windows\Input\Manipulations\Manipulator2D.cs (1)
72
return (id.
GetHashCode
() ^ x.GetHashCode() ^ y.GetHashCode());