Base:
method
GetHashCode
System.ValueType.GetHashCode()
260 references to GetHashCode
Aspire.Dashboard (4)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (2)
4357if (Scale != 0) hash ^= Scale.GetHashCode(); 4883if (Offset != 0) hash ^= Offset.GetHashCode();
artifacts\obj\Aspire.Dashboard\Debug\net8.0\ResourceService.cs (2)
2790if (SortOrder != 0) hash ^= SortOrder.GetHashCode(); 6590if (LineNumber != 0) hash ^= LineNumber.GetHashCode();
Aspire.Hosting (2)
artifacts\obj\Aspire.Hosting\Debug\net8.0\Dashboard\proto\ResourceService.cs (2)
2790if (SortOrder != 0) hash ^= SortOrder.GetHashCode(); 6590if (LineNumber != 0) hash ^= LineNumber.GetHashCode();
BasketService (3)
artifacts\obj\BasketService\Debug\net8.0\Protos\Basket.cs (3)
851if (ProductId != 0) hash ^= ProductId.GetHashCode(); 854if (Quantity != 0) hash ^= Quantity.GetHashCode(); 1902if (Nanos != 0) hash ^= Nanos.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\net10.0\Messages.cs (6)
623if (Code != 0) hash ^= Code.GetHashCode(); 966if (ResponseSize != 0) hash ^= ResponseSize.GetHashCode(); 1901if (AggregatedPayloadSize != 0) hash ^= AggregatedPayloadSize.GetHashCode(); 2135if (Size != 0) hash ^= Size.GetHashCode(); 2136if (IntervalUs != 0) hash ^= IntervalUs.GetHashCode(); 2915if (MaxReconnectBackoffMs != 0) hash ^= MaxReconnectBackoffMs.GetHashCode();
InteropWebsite (6)
artifacts\obj\InteropWebsite\Release\net10.0\Messages.cs (6)
623if (Code != 0) hash ^= Code.GetHashCode(); 966if (ResponseSize != 0) hash ^= ResponseSize.GetHashCode(); 1901if (AggregatedPayloadSize != 0) hash ^= AggregatedPayloadSize.GetHashCode(); 2135if (Size != 0) hash ^= Size.GetHashCode(); 2136if (IntervalUs != 0) hash ^= IntervalUs.GetHashCode(); 2915if (MaxReconnectBackoffMs != 0) hash ^= MaxReconnectBackoffMs.GetHashCode();
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (7)
artifacts\obj\Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests\Release\net10.0\Proto\Issue047349\Message.cs (3)
146if (A != 0) hash ^= A.GetHashCode(); 147if (B != 0) hash ^= B.GetHashCode(); 148if (C != 0) hash ^= C.GetHashCode();
artifacts\obj\Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests\Release\net10.0\Proto\Transcoding.cs (4)
659if (Age != 0) hash ^= Age.GetHashCode(); 1875if (SingleInt32 != 0) hash ^= SingleInt32.GetHashCode(); 1879if (SingleSint32 != 0) hash ^= SingleSint32.GetHashCode(); 1883if (SingleSfixed32 != 0) hash ^= SingleSfixed32.GetHashCode();
Microsoft.AspNetCore.Grpc.Swagger.Tests (7)
artifacts\obj\Microsoft.AspNetCore.Grpc.Swagger.Tests\Release\net10.0\Proto\Counter.cs (3)
138if (Value1 != 0) hash ^= Value1.GetHashCode(); 139if (Value2 != 0) hash ^= Value2.GetHashCode(); 351if (Result != 0) hash ^= Result.GetHashCode();
artifacts\obj\Microsoft.AspNetCore.Grpc.Swagger.Tests\Release\net10.0\Proto\Messages.cs (3)
992if (SingleInt32 != 0) hash ^= SingleInt32.GetHashCode(); 996if (SingleSint32 != 0) hash ^= SingleSint32.GetHashCode(); 1000if (SingleSfixed32 != 0) hash ^= SingleSfixed32.GetHashCode();
artifacts\obj\Microsoft.AspNetCore.Grpc.Swagger.Tests\Release\net10.0\Proto\Xmldoc.cs (1)
586if (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 (4)
BuildCheck\Checks\NoEnvironmentVariablePropertyCheck.cs (2)
121hashCode = hashCode * 31 + Location.Line.GetHashCode(); 122hashCode = hashCode * 31 + Location.Column.GetHashCode();
ElementLocation\ElementLocation.cs (2)
94return Line.GetHashCode() ^ Column.GetHashCode();
Microsoft.Build.Framework (1)
Profiler\ProfilerResult.cs (1)
86hashCode = (hashCode * -1521134295) + NumberOfHits.GetHashCode();
Microsoft.Build.UnitTests.Shared (2)
ObjectModelHelpers.cs (2)
2056return obj.Line.GetHashCode() ^ obj.Column.GetHashCode() ^ obj.File.GetHashCode();
Microsoft.Build.Utilities.Core (1)
LockCheck.cs (1)
227var h1 = ProcessId.GetHashCode();
Microsoft.CodeAnalysis (14)
CommandLine\SarifDiagnosticComparer.cs (1)
67Hash.Combine(((int)obj.DefaultSeverity).GetHashCode(),
Compilation\SubsystemVersion.cs (2)
195return Hash.Combine(this.Minor.GetHashCode(), this.Major.GetHashCode());
ConstantValue.cs (1)
901return ((int)this.Discriminator).GetHashCode();
ConstantValueSpecialized.cs (2)
820return Hash.Combine(base.GetHashCode(), _value.GetHashCode()); 907return Hash.Combine(base.GetHashCode(), _value.GetHashCode());
Diagnostic\DiagnosticDescriptor.cs (1)
222Hash.Combine(((int)this.DefaultSeverity).GetHashCode(),
MetadataReference\MetadataReferenceProperties.cs (1)
174return Hash.Combine(Hash.CombineValues(Aliases), Hash.Combine(_embedInteropTypes, Hash.Combine(HasRecursiveAliases, ((int)_kind).GetHashCode())));
Operations\CaptureId.cs (1)
32public override int GetHashCode() => Value.GetHashCode();
PEWriter\Units.cs (1)
65return Hash.Combine(RuntimeHelpers.GetHashCode(Definition), StartLine.GetHashCode());
Symbols\Attributes\AttributeUsageInfo.cs (1)
133return ((int)_flags).GetHashCode();
Symbols\NullabilityInfo.cs (2)
40Hash.Combine(((int)Annotation).GetHashCode(), ((int)FlowState).GetHashCode());
Text\SourceTextComparer.cs (1)
41Hash.Combine(encodingHash, ((int)obj.ChecksumAlgorithm).GetHashCode())));
Microsoft.CodeAnalysis.AnalyzerUtilities (32)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\CopyAnalysis\CopyAbstractValue.cs (3)
81hashCode.Add(((int)Kind).GetHashCode()); 88&& ((int)Kind).GetHashCode() == ((int)other.Kind).GetHashCode();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\DisposeAnalysis\DisposeAbstractValue.cs (3)
77hashCode.Add(((int)Kind).GetHashCode()); 84&& ((int)Kind).GetHashCode() == ((int)other.Kind).GetHashCode();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\GlobalFlowStateAnalysis\GlobalFlowStateAnalysisValueSet.cs (6)
171hashCode.Add(Height.GetHashCode()); 172hashCode.Add(((int)Kind).GetHashCode()); 180&& Height.GetHashCode() == other.Height.GetHashCode() 181&& ((int)Kind).GetHashCode() == ((int)other.Kind).GetHashCode();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PointsToAnalysis\PointsToAbstractValue.cs (6)
190hashCode.Add(((int)Kind).GetHashCode()); 191hashCode.Add(((int)NullState).GetHashCode()); 199&& ((int)Kind).GetHashCode() == ((int)other.Kind).GetHashCode() 200&& ((int)NullState).GetHashCode() == ((int)other.NullState).GetHashCode();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PointsToAnalysis\PointsToAnalysisContext.cs (3)
86hashCode.Add(((int)PointsToAnalysisKind).GetHashCode()); 92return ((int)PointsToAnalysisKind).GetHashCode() == ((int)other.PointsToAnalysisKind).GetHashCode();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\TaintedDataAbstractValue.cs (3)
41hashCode.Add(((int)Kind).GetHashCode()); 48&& ((int)Kind).GetHashCode() == ((int)other.Kind).GetHashCode();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\ValueContentAnalysis\ValueContentAbstractValue.cs (3)
153hashCode.Add(((int)NonLiteralState).GetHashCode()); 160&& ((int)NonLiteralState).GetHashCode() == ((int)other.NonLiteralState).GetHashCode();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AbstractIndex.ConstantValueIndex.cs (3)
22hashCode.Add(Index.GetHashCode()); 29return Index.GetHashCode() == other.Index.GetHashCode();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\InterproceduralAnalysisConfiguration.cs (1)
139((int)InterproceduralAnalysisKind).GetHashCode(),
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\ThrownExceptionInfo.cs (1)
111hashCode.Add(BasicBlockOrdinal.GetHashCode());
Microsoft.CodeAnalysis.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolUsageInfo.cs (2)
71=> Hash.Combine(((int?)ValueUsageInfoOpt)?.GetHashCode() ?? 0, ((int?)TypeOrNamespaceUsageInfoOpt)?.GetHashCode() ?? 0);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
54=> _symbolEquivalenceComparer._ignoreNullableAnnotations ? 0 : ((int)type.NullableAnnotation).GetHashCode();
Microsoft.CodeAnalysis.CSharp (10)
BoundTree\BoundDagTest.cs (1)
46return Hash.Combine(((int)Kind).GetHashCode(), Input.GetHashCode());
CSharpCompilationOptions.cs (1)
758Hash.Combine(((uint)TopLevelBinderFlags).GetHashCode(), ((int)this.NullableContextOptions).GetHashCode()))));
Declarations\SingleTypeDeclaration.cs (1)
289Hash.Combine(thisDecl.Arity.GetHashCode(),
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (2)
761=> Hash.Combine(ReturnType, Hash.Combine(((int)CallingConvention).GetHashCode(), ((int)FunctionPointerTypeSymbol.GetRefKindForHashCode(RefKind)).GetHashCode()));
Symbols\FunctionPointers\FunctionPointerParameterSymbol.cs (1)
69=> Hash.Combine(TypeWithAnnotations.GetHashCode(), ((int)FunctionPointerTypeSymbol.GetRefKindForHashCode(RefKind)).GetHashCode());
Symbols\SignatureOnlyParameterSymbol.cs (1)
136((int)_refKind).GetHashCode())));
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
495return Hash.Combine(ContainingSymbol, Ordinal.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());
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\NativeIntegerTests.cs (2)
4698{42.GetHashCode()} 4701{42.GetHashCode()}");
Microsoft.CodeAnalysis.EditorFeatures (2)
Shared\Utilities\VirtualTreePoint.cs (2)
68=> Text.GetHashCode() ^ Position.GetHashCode() ^ VirtualSpaces.GetHashCode();
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Protocol\Extensions\VSImageId.cs (1)
57hashCode = (hashCode * -1521134295) + this.Id.GetHashCode();
Protocol\Internal\Text\ImageId.cs (1)
104return hashCode ^ id.GetHashCode();
Protocol\Internal\VSInternalIconMapping.cs (1)
64hashCode = (hashCode * -1521134295) + this.Images[i].Id.GetHashCode();
Protocol\VersionedTextDocumentIdentifier.cs (1)
73return this.Version.GetHashCode()
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\DiagnosticDescription.cs (2)
359hashCode = Hash.Combine(hashCode, ((int)_defaultSeverityOpt.Value).GetHashCode()); 361hashCode = Hash.Combine(hashCode, ((int)_effectiveSeverityOpt.Value).GetHashCode());
Microsoft.CodeAnalysis.UnitTests (2)
Collections\HashSet\TestingTypes.cs (1)
99return obj.GetHashCode();
Collections\ImmutableSegmentedHashSetBuilderTest.cs (1)
365public int GetHashCode(int obj) => (obj >> 1).GetHashCode();
Microsoft.CodeAnalysis.VisualBasic (8)
Analysis\FlowAnalysis\DataFlowPass.VariableIdentifier.vb (1)
40Return Hash.Combine(Me.Symbol.GetHashCode, Me.ContainingSlot.GetHashCode)
Declarations\SingleTypeDeclaration.vb (1)
126Return Hash.Combine(IdentifierComparison.GetHashCode(decl1.Name), Hash.Combine(decl1.Arity.GetHashCode(), CType(decl1.Kind, Integer)))
Locations\EmbeddedTreeLocation.vb (1)
65Return Hash.Combine(CInt(_embeddedKind).GetHashCode(), _span.GetHashCode())
Symbols\ReducedExtensionMethodSymbol.vb (1)
819Return Hash.Combine(_ordinal.GetHashCode(), Me.ContainingSymbol.GetHashCode())
Symbols\SubstitutedTypeParameterSymbol.vb (1)
178Return Hash.Combine(Me.Ordinal.GetHashCode(), _containingSymbol.GetHashCode())
Symbols\SynthesizedSymbols\SynthesizedIntrinsicOperatorSymbol.vb (1)
210Return Hash.Combine(ContainingSymbol, Ordinal.GetHashCode())
Symbols\Tuples\TupleErrorFieldSymbol.vb (1)
129Return Hash.Combine(Me.ContainingType.GetHashCode(), Me._tupleElementIndex.GetHashCode())
Symbols\Tuples\TupleFieldSymbol.vb (1)
107Return Hash.Combine(_containingTuple.GetHashCode(), _tupleElementIndex.GetHashCode())
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolUsageInfo.cs (2)
71=> Hash.Combine(((int?)ValueUsageInfoOpt)?.GetHashCode() ?? 0, ((int?)TypeOrNamespaceUsageInfoOpt)?.GetHashCode() ?? 0);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
54=> _symbolEquivalenceComparer._ignoreNullableAnnotations ? 0 : ((int)type.NullableAnnotation).GetHashCode();
Microsoft.Extensions.AsyncState (1)
AsyncStateToken.cs (1)
46return Index.GetHashCode();
Microsoft.Extensions.AsyncState.Tests (1)
AsyncStateTokenTests.cs (1)
42Assert.Equal(ind.GetHashCode(), t1.GetHashCode());
Microsoft.Extensions.Primitives (2)
StringValues.cs (2)
745return this[0]?.GetHashCode() ?? Count.GetHashCode(); 756return Unsafe.As<string>(value)?.GetHashCode() ?? Count.GetHashCode();
Microsoft.Maui.Controls (2)
LayoutOptions.cs (1)
81 public override int GetHashCode() => _flags.GetHashCode();
Shapes\Matrix.cs (1)
683 _offsetX.GetHashCode() ^ _offsetY.GetHashCode() ^ _type.GetHashCode() ^ _padding.GetHashCode();
Microsoft.Maui.Graphics (1)
FontSource.cs (1)
29 ^ Weight.GetHashCode() ^ FontStyleType.GetHashCode();
Microsoft.ML.AutoML (1)
AutoMLExperiment\TrialResult.cs (1)
47return obj?.TrialSettings?.TrialId.GetHashCode() ?? 0;
Microsoft.ML.Core.Tests (2)
UnitTests\TestCustomTypeRegister.cs (2)
72public override int GetHashCode() => RaceId.GetHashCode(); 132return RaceId.GetHashCode();
Microsoft.ML.DataView (1)
VectorType.cs (1)
151hash = Hashing.CombineHash(hash, Dimensions[i].GetHashCode());
Microsoft.ML.FastTree (1)
Dataset\IntArray.cs (1)
275hash ^= i.GetHashCode();
Microsoft.ML.ImageAnalytics (4)
ImageType.cs (4)
61return Hashing.CombineHash(Height.GetHashCode(), Width.GetHashCode()); 103return Hashing.CombineHash(Height.GetHashCode(), Width.GetHashCode());
Microsoft.ML.OnnxConverter (4)
OnnxMl.cs (4)
3088if (DataType != 0) hash ^= DataType.GetHashCode(); 4842if (ElemType != 0) hash ^= ElemType.GetHashCode(); 5224if (KeyType != 0) hash ^= KeyType.GetHashCode(); 5428if (ElemType != 0) hash ^= ElemType.GetHashCode();
Microsoft.ML.OnnxTransformer (4)
src\Microsoft.ML.OnnxConverter\OnnxMl.cs (4)
3088if (DataType != 0) hash ^= DataType.GetHashCode(); 4842if (ElemType != 0) hash ^= ElemType.GetHashCode(); 5224if (KeyType != 0) hash ^= KeyType.GetHashCode(); 5428if (ElemType != 0) hash ^= ElemType.GetHashCode();
Microsoft.ML.Samples (2)
Dynamic\Transforms\CustomMappingWithInMemoryCustomType.cs (2)
114public override int GetHashCode() => RaceId.GetHashCode(); 181return RaceId.GetHashCode();
Microsoft.ML.Tokenizers (18)
Model\CodeGenTokenizer.cs (2)
1830hashCode = (hashCode * 37) + Score.GetHashCode(); 1831hashCode = (hashCode * 37) + Left.GetHashCode();
Model\Merge.cs (2)
38hashcode = (hashcode * 37) + Rank.GetHashCode(); 39hashcode = (hashcode * 37) + Pos.GetHashCode();
Model\SentencePieceBpeModel.cs (1)
1251hashCode = (hashCode * 37) + Left.GetHashCode();
SentencepieceModel.cs (13)
1669if (HasVocabSize) hash ^= VocabSize.GetHashCode(); 1671if (HasSelfTestSampleSize) hash ^= SelfTestSampleSize.GetHashCode(); 1678if (HasMiningSentenceSize) hash ^= MiningSentenceSize.GetHashCode(); 1679if (HasTrainingSentenceSize) hash ^= TrainingSentenceSize.GetHashCode(); 1680if (HasSeedSentencepieceSize) hash ^= SeedSentencepieceSize.GetHashCode(); 1682if (HasMaxSentenceLength) hash ^= MaxSentenceLength.GetHashCode(); 1683if (HasNumThreads) hash ^= NumThreads.GetHashCode(); 1684if (HasNumSubIterations) hash ^= NumSubIterations.GetHashCode(); 1685if (HasMaxSentencepieceLength) hash ^= MaxSentencepieceLength.GetHashCode(); 1700if (HasUnkId) hash ^= UnkId.GetHashCode(); 1701if (HasBosId) hash ^= BosId.GetHashCode(); 1702if (HasEosId) hash ^= EosId.GetHashCode(); 1703if (HasPadId) hash ^= PadId.GetHashCode();
MyFrontend (3)
artifacts\obj\MyFrontend\Debug\net8.0\Basket.cs (3)
851if (ProductId != 0) hash ^= ProductId.GetHashCode(); 854if (Quantity != 0) hash ^= Quantity.GetHashCode(); 1902if (Nanos != 0) hash ^= Nanos.GetHashCode();
PresentationCore (3)
MS\Internal\DpiScale2.cs (1)
191return ((int)(this.PixelsPerInchX)).GetHashCode();
System\Windows\Media\textformatting\CharacterHit.cs (2)
118return _firstCharacterIndex.GetHashCode() ^ _trailingLength.GetHashCode();
PresentationFramework (14)
MS\Internal\PtsHost\Pts.cs (8)
899return u.GetHashCode() ^ v.GetHashCode() ^ du.GetHashCode() ^ dv.GetHashCode(); 946return u.GetHashCode() ^ v.GetHashCode(); 977return du.GetHashCode() ^ dv.GetHashCode();
System\Windows\Controls\Primitives\IItemContainerGenerator.cs (2)
144return _index.GetHashCode() + _offset.GetHashCode();
System\Windows\Documents\FlowNode.cs (2)
78return _scopeId.GetHashCode()^_fp.GetHashCode();
System\Windows\Documents\FlowPosition.cs (1)
83return _flowNode.GetHashCode()^_offset.GetHashCode();
System\Windows\Standard\ErrorCodes.cs (1)
122return _value.GetHashCode();
Sandbox (3)
artifacts\obj\Sandbox\Release\net10.0\Transcoding.cs (3)
1013if (SingleInt32 != 0) hash ^= SingleInt32.GetHashCode(); 1017if (SingleSint32 != 0) hash ^= SingleSint32.GetHashCode(); 1021if (SingleSfixed32 != 0) hash ^= SingleSfixed32.GetHashCode();
SocialWeather (1)
Protobuf\WeatherReport.cs (1)
165if (Temperature != 0) hash ^= Temperature.GetHashCode();
Stress.TelemetryService (2)
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (2)
4357if (Scale != 0) hash ^= Scale.GetHashCode(); 4883if (Offset != 0) hash ^= Offset.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 (3)
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.Windows.Core (2)
System\Private\Windows\Count.cs (1)
34public override readonly int GetHashCode() => _count.GetHashCode();
System\Private\Windows\Id.cs (1)
38public override readonly int GetHashCode() => _id.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)
55Position.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)
71return (id.GetHashCode() ^ x.GetHashCode() ^ y.GetHashCode());