Base:
method
GetHashCode
System.ValueType.GetHashCode()
142 references to GetHashCode
Aspire.Dashboard (12)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\common\v1\Common.cs (1)
344if (HasBoolValue) hash ^= BoolValue.GetHashCode();
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (1)
1990if (IsMonotonic != false) hash ^= IsMonotonic.GetHashCode();
artifacts\obj\Aspire.Dashboard\Debug\net8.0\ResourceService.cs (10)
831if (IsHighlighted != false) hash ^= IsHighlighted.GetHashCode(); 2142if (IsFromSpec != false) hash ^= IsFromSpec.GetHashCode(); 2473if (IsInternal != false) hash ^= IsInternal.GetHashCode(); 2474if (IsInactive != false) hash ^= IsInactive.GetHashCode(); 3071if (IsReadOnly != false) hash ^= IsReadOnly.GetHashCode(); 4005if (HasIsSensitive) hash ^= IsSensitive.GetHashCode(); 4576if (IsHidden != false) hash ^= IsHidden.GetHashCode(); 6038if (HasIsReconnect) hash ^= IsReconnect.GetHashCode(); 6589if (HasIsStdErr) hash ^= IsStdErr.GetHashCode(); 6857if (SuppressFollow != false) hash ^= SuppressFollow.GetHashCode();
Aspire.Hosting (10)
artifacts\obj\Aspire.Hosting\Debug\net8.0\Dashboard\proto\ResourceService.cs (10)
831if (IsHighlighted != false) hash ^= IsHighlighted.GetHashCode(); 2142if (IsFromSpec != false) hash ^= IsFromSpec.GetHashCode(); 2473if (IsInternal != false) hash ^= IsInternal.GetHashCode(); 2474if (IsInactive != false) hash ^= IsInactive.GetHashCode(); 3071if (IsReadOnly != false) hash ^= IsReadOnly.GetHashCode(); 4005if (HasIsSensitive) hash ^= IsSensitive.GetHashCode(); 4576if (IsHidden != false) hash ^= IsHidden.GetHashCode(); 6038if (HasIsReconnect) hash ^= IsReconnect.GetHashCode(); 6589if (HasIsStdErr) hash ^= IsStdErr.GetHashCode(); 6857if (SuppressFollow != false) hash ^= SuppressFollow.GetHashCode();
InteropClient (4)
artifacts\obj\InteropClient\Release\net10.0\Messages.cs (4)
179if (Value != false) hash ^= Value.GetHashCode(); 968if (FillUsername != false) hash ^= FillUsername.GetHashCode(); 969if (FillOauthScope != false) hash ^= FillOauthScope.GetHashCode(); 3123if (Passed != false) hash ^= Passed.GetHashCode();
InteropWebsite (4)
artifacts\obj\InteropWebsite\Release\net10.0\Messages.cs (4)
179if (Value != false) hash ^= Value.GetHashCode(); 968if (FillUsername != false) hash ^= FillUsername.GetHashCode(); 969if (FillOauthScope != false) hash ^= FillOauthScope.GetHashCode(); 3123if (Passed != false) hash ^= Passed.GetHashCode();
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (2)
artifacts\obj\Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests\Release\net10.0\Proto\Issue048192\Customhttp.cs (1)
164if (FullyDecodeReservedExpansion != false) hash ^= FullyDecodeReservedExpansion.GetHashCode();
artifacts\obj\Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests\Release\net10.0\Proto\Transcoding.cs (1)
1887if (SingleBool != false) hash ^= SingleBool.GetHashCode();
Microsoft.AspNetCore.Grpc.Swagger.Tests (1)
artifacts\obj\Microsoft.AspNetCore.Grpc.Swagger.Tests\Release\net10.0\Proto\Messages.cs (1)
1004if (SingleBool != false) hash ^= SingleBool.GetHashCode();
Microsoft.Build (1)
BackEnd\Components\SdkResolution\SdkResult.cs (1)
158hashCode = (hashCode * -1521134295) + _success.GetHashCode();
Microsoft.Build.Framework (3)
Telemetry\TaskOrTargetTelemetryKey.cs (3)
105hashCode = (hashCode * 397) ^ IsCustom.GetHashCode(); 106hashCode = (hashCode * 397) ^ IsNuget.GetHashCode(); 107hashCode = (hashCode * 397) ^ IsMetaProj.GetHashCode();
Microsoft.CodeAnalysis (4)
CommandLine\SarifDiagnosticComparer.cs (1)
71Hash.Combine(obj.IsEnabledByDefault.GetHashCode(),
Diagnostic\DiagnosticDescriptor.cs (1)
226Hash.Combine(this.IsEnabledByDefault.GetHashCode(),
Emit\AnonymousTypeKey.cs (1)
86return Hash.Combine(this.IsDelegate.GetHashCode(), Hash.CombineValues(this.Fields));
PEWriter\MetadataWriter.cs (1)
4343return Hash.Combine(ByteSequenceComparer.GetHashCode(x.Item1), x.Item2.GetHashCode());
Microsoft.CodeAnalysis.AnalyzerUtilities (37)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\DisposeAnalysis\DisposeAnalysisContext.cs (9)
116hashCode.Add(TrackInstanceFields.GetHashCode()); 117hashCode.Add(DisposeOwnershipTransferAtConstructor.GetHashCode()); 118hashCode.Add(DisposeOwnershipTransferAtMethodCall.GetHashCode()); 125return TrackInstanceFields.GetHashCode() == other.TrackInstanceFields.GetHashCode() 126&& DisposeOwnershipTransferAtConstructor.GetHashCode() == other.DisposeOwnershipTransferAtConstructor.GetHashCode() 127&& DisposeOwnershipTransferAtMethodCall.GetHashCode() == other.DisposeOwnershipTransferAtMethodCall.GetHashCode()
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\ParameterValidationAnalysis\ParameterValidationAnalysisContext.cs (3)
105hashCode.Add(TrackHazardousParameterUsages.GetHashCode()); 112return TrackHazardousParameterUsages.GetHashCode() == other.TrackHazardousParameterUsages.GetHashCode()
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\HazardousUsageEvaluator.cs (1)
125this.DerivedClass.GetHashCode(),
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SanitizerInfo.cs (1)
91hashCode.Add(this.IsConstructorSanitizing.GetHashCode());
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SinkInfo.cs (2)
80hashCode.Add(this.IsInterface.GetHashCode()); 81hashCode.Add(this.IsAnyStringParameterInConstructorASink.GetHashCode());
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SourceInfo.cs (2)
196hashCode.Add(this.TaintConstantArray.GetHashCode()); 205hashCode.Add(this.IsInterface.GetHashCode());
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AbstractDataFlowAnalysisContext.cs (9)
166hashCode.Add(PessimisticAnalysis.GetHashCode()); 167hashCode.Add(PredicateAnalysis.GetHashCode()); 168hashCode.Add(ExceptionPathsAnalysis.GetHashCode()); 185&& PessimisticAnalysis.GetHashCode() == other.PessimisticAnalysis.GetHashCode() 186&& PredicateAnalysis.GetHashCode() == other.PredicateAnalysis.GetHashCode() 187&& ExceptionPathsAnalysis.GetHashCode() == other.ExceptionPathsAnalysis.GetHashCode()
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AbstractLocation.cs (6)
106hashCode.Add(_isSpecialSingleton.GetHashCode()); 107hashCode.Add(IsNull.GetHashCode()); 119&& _isSpecialSingleton.GetHashCode() == other._isSpecialSingleton.GetHashCode() 120&& IsNull.GetHashCode() == other.IsNull.GetHashCode();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AnalysisEntity.cs (3)
241&& IsThisOrMeInstance.GetHashCode() == other.IsThisOrMeInstance.GetHashCode(); 268hashCode.Add(IsThisOrMeInstance.GetHashCode());
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\ThrownExceptionInfo.cs (1)
115hashCode.Add(IsDefaultExceptionForExceptionsPathAnalysis.GetHashCode());
Microsoft.CodeAnalysis.CSharp (7)
BoundTree\UnboundLambda.cs (1)
1443=> Hash.Combine(obj.Type, obj.IsExpressionTree.GetHashCode());
Compilation\AwaitExpressionInfo.cs (1)
46return Hash.Combine(GetAwaiterMethod, Hash.Combine(IsCompletedProperty, Hash.Combine(GetResultMethod, IsDynamic.GetHashCode())));
Symbols\SignatureOnlyParameterSymbol.cs (1)
135(_isParamsArray || _isParamsCollection).GetHashCode(),
Utilities\ValueSetFactory.EnumeratedValueSet.cs (1)
173public override int GetHashCode() => Hash.Combine(this._included.GetHashCode(), this._membersIncludedOrExcluded.GetHashCode());
Utilities\ValueSetFactory.NintValueSet.cs (2)
128Hash.Combine(this._hasSmall.GetHashCode(), Hash.Combine(this._hasLarge.GetHashCode(), this._values.GetHashCode()));
Utilities\ValueSetFactory.NuintValueSet.cs (1)
111Hash.Combine(this._hasLarge.GetHashCode(), this._values.GetHashCode());
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
451_signaturesOnly.GetHashCode())))));
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\DiagnosticDescription.cs (2)
350hashCode = Hash.Combine(_isWarningAsError.GetHashCode(), hashCode); 351hashCode = Hash.Combine(_isSuppressed.GetHashCode(), hashCode);
Microsoft.CodeAnalysis.VisualBasic (1)
Binding\Binder_Lookup.vb (1)
1432Return Hash.Combine(Me.InterfaceType.GetHashCode(), Me.InComInterfaceContext.GetHashCode())
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\ProjectReference.cs (1)
63=> Hash.CombineValues(Aliases, Hash.Combine(ProjectId, EmbedInteropTypes.GetHashCode()));
Microsoft.Maui (1)
Layouts\FlexEnums.cs (1)
102 public override int GetHashCode() => _isRelative.GetHashCode() ^ Length.GetHashCode();
Microsoft.ML.Tokenizers (16)
SentencepieceModel.cs (16)
1672if (HasEnableDifferentialPrivacy) hash ^= EnableDifferentialPrivacy.GetHashCode(); 1677if (HasShuffleInputSentence) hash ^= ShuffleInputSentence.GetHashCode(); 1686if (HasSplitByUnicodeScript) hash ^= SplitByUnicodeScript.GetHashCode(); 1687if (HasSplitByNumber) hash ^= SplitByNumber.GetHashCode(); 1688if (HasSplitByWhitespace) hash ^= SplitByWhitespace.GetHashCode(); 1689if (HasTreatWhitespaceAsSuffix) hash ^= TreatWhitespaceAsSuffix.GetHashCode(); 1690if (HasAllowWhitespaceOnlyPieces) hash ^= AllowWhitespaceOnlyPieces.GetHashCode(); 1691if (HasSplitDigits) hash ^= SplitDigits.GetHashCode(); 1696if (HasByteFallback) hash ^= ByteFallback.GetHashCode(); 1697if (HasVocabularyOutputPieceScore) hash ^= VocabularyOutputPieceScore.GetHashCode(); 1698if (HasHardVocabLimit) hash ^= HardVocabLimit.GetHashCode(); 1699if (HasUseAllVocab) hash ^= UseAllVocab.GetHashCode(); 1709if (HasTrainExtremelyLargeCorpus) hash ^= TrainExtremelyLargeCorpus.GetHashCode(); 3114if (HasAddDummyPrefix) hash ^= AddDummyPrefix.GetHashCode(); 3115if (HasRemoveExtraWhitespaces) hash ^= RemoveExtraWhitespaces.GetHashCode(); 3116if (HasEscapeWhitespaces) hash ^= EscapeWhitespaces.GetHashCode();
Microsoft.ML.Transforms (1)
Expression\MethodGenerator.cs (1)
123return Hashing.CombineHash(Type.GetHashCode(), Hashing.HashInt(IsRef.GetHashCode()));
Microsoft.Net.Http.Headers (12)
CacheControlHeaderValue.cs (9)
444int result = _noCache.GetHashCode() ^ (_noStore.GetHashCode() << 1) ^ (_maxStale.GetHashCode() << 2) ^ 445(_noTransform.GetHashCode() << 3) ^ (_onlyIfCached.GetHashCode() << 4) ^ 446(_public.GetHashCode() << 5) ^ (_private.GetHashCode() << 6) ^ 447(_mustRevalidate.GetHashCode() << 7) ^ (_proxyRevalidate.GetHashCode() << 8);
EntityTagHeaderValue.cs (1)
116return _tag.GetHashCode() ^ _isWeak.GetHashCode();
SetCookieHeaderValue.cs (2)
744^ Secure.GetHashCode() 746^ HttpOnly.GetHashCode();
Microsoft.VisualBasic.Core (8)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (8)
368Return s_hash Xor Name.GetHashCode() Xor CallInfo.GetHashCode() Xor _ignoreReturn.GetHashCode() 523Return s_hash Xor CallInfo.GetHashCode() Xor _lateCall.GetHashCode() 592Return s_hash Xor CallInfo.GetHashCode() Xor _reportErrors.GetHashCode() 661Return s_hash Xor CallInfo.GetHashCode() Xor _reportErrors.GetHashCode() 772Return s_hash Xor Name.GetHashCode() Xor _optimisticSet.GetHashCode() Xor _rValueBase.GetHashCode() 1103Return s_hash Xor CallInfo.GetHashCode() Xor _optimisticSet.GetHashCode() Xor _rValueBase.GetHashCode()
PresentationFramework (2)
System\Windows\AttachedPropertyBrowsableForChildrenAttribute.cs (1)
80return _includeDescendants.GetHashCode();
System\Windows\Controls\ValidationResult.cs (1)
116return IsValid.GetHashCode() ^ (ErrorContent ?? int.MinValue).GetHashCode();
Sandbox (1)
artifacts\obj\Sandbox\Release\net10.0\Transcoding.cs (1)
1025if (SingleBool != false) hash ^= SingleBool.GetHashCode();
Stress.TelemetryService (2)
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\common\v1\Common.cs (1)
344if (HasBoolValue) hash ^= BoolValue.GetHashCode();
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (1)
1990if (IsMonotonic != false) hash ^= IsMonotonic.GetHashCode();
System.ComponentModel.Primitives (2)
System\ComponentModel\BrowsableAttribute.cs (1)
50public override int GetHashCode() => Browsable.GetHashCode();
System\ComponentModel\DesignOnlyAttribute.cs (1)
49public override int GetHashCode() => IsDesignOnly.GetHashCode();
System.ComponentModel.TypeConverter (4)
System\ComponentModel\BindableAttribute.cs (1)
88public override int GetHashCode() => Bindable.GetHashCode();
System\ComponentModel\DataObjectAttribute.cs (1)
38public override int GetHashCode() => IsDataObject.GetHashCode();
System\ComponentModel\DataObjectMethodAttribute.cs (1)
35public override int GetHashCode() => ((int)MethodType).GetHashCode() ^ IsDefault.GetHashCode();
System\ComponentModel\SettingsBindableAttribute.cs (1)
45public override int GetHashCode() => Bindable.GetHashCode();
System.Data.Common (2)
System\Data\Selection.cs (1)
37Column.GetHashCode() ^ IsDescending.GetHashCode();
System\Data\SQLTypes\SQLBoolean.cs (1)
477public override int GetHashCode() => IsNull ? 0 : Value.GetHashCode();
System.Private.Windows.Core (1)
System\Reflection\Metadata\TypeNameComparer.cs (1)
56return true.GetHashCode() ^ obj.GetArrayRank() ^ GetHashCode(obj.GetElementType());