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