Base:
method
GetHashCode
System.Object.GetHashCode()
751 references to GetHashCode
Aspire.Confluent.Kafka (2)
AspireKafkaConsumerExtensions.cs (1)
212logger.Log((LogLevel)logMessage.LevelAs(LogLevelType.MicrosoftExtensionsLogging), logMessage.Facility?.GetHashCode() ?? 0, logMessage.Message, null, static (value, ex) => value);
AspireKafkaProducerExtensions.cs (1)
212logger.Log((LogLevel)logMessage.LevelAs(LogLevelType.MicrosoftExtensionsLogging), logMessage.Facility?.GetHashCode() ?? 0, logMessage.Message, null, static (value, ex) => value);
Aspire.Dashboard (81)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\DashboardService.cs (56)
560if (ApplicationName.Length != 0) hash ^= ApplicationName.GetHashCode(); 561if (MinDashboardVersion.Length != 0) hash ^= MinDashboardVersion.GetHashCode(); 1010if (Name.Length != 0) hash ^= Name.GetHashCode(); 1011if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); 1012if (HasConfirmationMessage) hash ^= ConfirmationMessage.GetHashCode(); 1015if (HasIconName) hash ^= IconName.GetHashCode(); 1017if (HasDisplayDescription) hash ^= DisplayDescription.GetHashCode(); 1513if (CommandName.Length != 0) hash ^= CommandName.GetHashCode(); 1514if (ResourceName.Length != 0) hash ^= ResourceName.GetHashCode(); 1515if (ResourceType.Length != 0) hash ^= ResourceType.GetHashCode(); 1899if (HasErrorMessage) hash ^= ErrorMessage.GetHashCode(); 1900if (HasMessage) hash ^= Message.GetHashCode(); 2202if (Value.Length != 0) hash ^= Value.GetHashCode(); 2504if (UniqueName.Length != 0) hash ^= UniqueName.GetHashCode(); 2505if (HasDisplayName) hash ^= DisplayName.GetHashCode(); 2780if (Name.Length != 0) hash ^= Name.GetHashCode(); 2781if (HasValue) hash ^= Value.GetHashCode(); 3111if (HasEndpointName) hash ^= EndpointName.GetHashCode(); 3112if (FullUrl.Length != 0) hash ^= FullUrl.GetHashCode(); 3431if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); 3708if (Source.Length != 0) hash ^= Source.GetHashCode(); 3709if (Target.Length != 0) hash ^= Target.GetHashCode(); 3710if (MountType.Length != 0) hash ^= MountType.GetHashCode(); 4064if (Key.Length != 0) hash ^= Key.GetHashCode(); 4065if (Description.Length != 0) hash ^= Description.GetHashCode(); 4066if (Exception.Length != 0) hash ^= Exception.GetHashCode(); 4382if (ResourceName.Length != 0) hash ^= ResourceName.GetHashCode(); 4383if (Type.Length != 0) hash ^= Type.GetHashCode(); 4741if (Name.Length != 0) hash ^= Name.GetHashCode(); 4742if (HasDisplayName) hash ^= DisplayName.GetHashCode(); 5428if (Name.Length != 0) hash ^= Name.GetHashCode(); 5429if (ResourceType.Length != 0) hash ^= ResourceType.GetHashCode(); 5430if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); 5431if (Uid.Length != 0) hash ^= Uid.GetHashCode(); 5432if (HasState) hash ^= State.GetHashCode(); 5438if (HasStateStyle) hash ^= StateStyle.GetHashCode(); 5446if (HasIconName) hash ^= IconName.GetHashCode(); 6250if (ResourceName.Length != 0) hash ^= ResourceName.GetHashCode(); 6251if (ResourceType.Length != 0) hash ^= ResourceType.GetHashCode(); 7525if (Text.Length != 0) hash ^= Text.GetHashCode(); 7793if (ResourceName.Length != 0) hash ^= ResourceName.GetHashCode(); 8972if (Title.Length != 0) hash ^= Title.GetHashCode(); 8973if (Message.Length != 0) hash ^= Message.GetHashCode(); 8974if (PrimaryButtonText.Length != 0) hash ^= PrimaryButtonText.GetHashCode(); 8975if (SecondaryButtonText.Length != 0) hash ^= SecondaryButtonText.GetHashCode(); 9997if (LinkText.Length != 0) hash ^= LinkText.GetHashCode(); 9998if (LinkUrl.Length != 0) hash ^= LinkUrl.GetHashCode(); 10909if (Label.Length != 0) hash ^= Label.GetHashCode(); 10910if (Placeholder.Length != 0) hash ^= Placeholder.GetHashCode(); 10914if (Value.Length != 0) hash ^= Value.GetHashCode(); 10916if (Description.Length != 0) hash ^= Description.GetHashCode(); 10922if (Name.Length != 0) hash ^= Name.GetHashCode(); 10926if (FileFilter.Length != 0) hash ^= FileFilter.GetHashCode(); 11530if (FileName.Length != 0) hash ^= FileName.GetHashCode(); 11532if (InputName.Length != 0) hash ^= InputName.GetHashCode(); 11799if (FileId.Length != 0) hash ^= FileId.GetHashCode();
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\collector\logs\v1\LogsService.cs (1)
584if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode();
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\collector\metrics\v1\MetricsService.cs (1)
586if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode();
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\collector\trace\v1\TraceService.cs (1)
585if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode();
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\common\v1\Common.cs (6)
346if (HasStringValue) hash ^= StringValue.GetHashCode(); 1132if (Key.Length != 0) hash ^= Key.GetHashCode(); 1426if (Name.Length != 0) hash ^= Name.GetHashCode(); 1427if (Version.Length != 0) hash ^= Version.GetHashCode(); 1757if (SchemaUrl.Length != 0) hash ^= SchemaUrl.GetHashCode(); 1758if (Type.Length != 0) hash ^= Type.GetHashCode();
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\logs\v1\Logs.cs (4)
470if (SchemaUrl.Length != 0) hash ^= SchemaUrl.GetHashCode(); 759if (SchemaUrl.Length != 0) hash ^= SchemaUrl.GetHashCode(); 1233if (SeverityText.Length != 0) hash ^= SeverityText.GetHashCode(); 1240if (EventName.Length != 0) hash ^= EventName.GetHashCode();
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (5)
591if (SchemaUrl.Length != 0) hash ^= SchemaUrl.GetHashCode(); 880if (SchemaUrl.Length != 0) hash ^= SchemaUrl.GetHashCode(); 1376if (Name.Length != 0) hash ^= Name.GetHashCode(); 1377if (Description.Length != 0) hash ^= Description.GetHashCode(); 1378if (Unit.Length != 0) hash ^= Unit.GetHashCode();
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\trace\v1\Trace.cs (7)
459if (SchemaUrl.Length != 0) hash ^= SchemaUrl.GetHashCode(); 748if (SchemaUrl.Length != 0) hash ^= SchemaUrl.GetHashCode(); 1322if (TraceState.Length != 0) hash ^= TraceState.GetHashCode(); 1325if (Name.Length != 0) hash ^= Name.GetHashCode(); 1947if (Name.Length != 0) hash ^= Name.GetHashCode(); 2319if (TraceState.Length != 0) hash ^= TraceState.GetHashCode(); 2649if (Message.Length != 0) hash ^= Message.GetHashCode();
Aspire.Hosting (57)
artifacts\obj\Aspire.Hosting\Debug\net8.0\Dashboard\proto\DashboardService.cs (56)
560if (ApplicationName.Length != 0) hash ^= ApplicationName.GetHashCode(); 561if (MinDashboardVersion.Length != 0) hash ^= MinDashboardVersion.GetHashCode(); 1010if (Name.Length != 0) hash ^= Name.GetHashCode(); 1011if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); 1012if (HasConfirmationMessage) hash ^= ConfirmationMessage.GetHashCode(); 1015if (HasIconName) hash ^= IconName.GetHashCode(); 1017if (HasDisplayDescription) hash ^= DisplayDescription.GetHashCode(); 1513if (CommandName.Length != 0) hash ^= CommandName.GetHashCode(); 1514if (ResourceName.Length != 0) hash ^= ResourceName.GetHashCode(); 1515if (ResourceType.Length != 0) hash ^= ResourceType.GetHashCode(); 1899if (HasErrorMessage) hash ^= ErrorMessage.GetHashCode(); 1900if (HasMessage) hash ^= Message.GetHashCode(); 2202if (Value.Length != 0) hash ^= Value.GetHashCode(); 2504if (UniqueName.Length != 0) hash ^= UniqueName.GetHashCode(); 2505if (HasDisplayName) hash ^= DisplayName.GetHashCode(); 2780if (Name.Length != 0) hash ^= Name.GetHashCode(); 2781if (HasValue) hash ^= Value.GetHashCode(); 3111if (HasEndpointName) hash ^= EndpointName.GetHashCode(); 3112if (FullUrl.Length != 0) hash ^= FullUrl.GetHashCode(); 3431if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); 3708if (Source.Length != 0) hash ^= Source.GetHashCode(); 3709if (Target.Length != 0) hash ^= Target.GetHashCode(); 3710if (MountType.Length != 0) hash ^= MountType.GetHashCode(); 4064if (Key.Length != 0) hash ^= Key.GetHashCode(); 4065if (Description.Length != 0) hash ^= Description.GetHashCode(); 4066if (Exception.Length != 0) hash ^= Exception.GetHashCode(); 4382if (ResourceName.Length != 0) hash ^= ResourceName.GetHashCode(); 4383if (Type.Length != 0) hash ^= Type.GetHashCode(); 4741if (Name.Length != 0) hash ^= Name.GetHashCode(); 4742if (HasDisplayName) hash ^= DisplayName.GetHashCode(); 5428if (Name.Length != 0) hash ^= Name.GetHashCode(); 5429if (ResourceType.Length != 0) hash ^= ResourceType.GetHashCode(); 5430if (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); 5431if (Uid.Length != 0) hash ^= Uid.GetHashCode(); 5432if (HasState) hash ^= State.GetHashCode(); 5438if (HasStateStyle) hash ^= StateStyle.GetHashCode(); 5446if (HasIconName) hash ^= IconName.GetHashCode(); 6250if (ResourceName.Length != 0) hash ^= ResourceName.GetHashCode(); 6251if (ResourceType.Length != 0) hash ^= ResourceType.GetHashCode(); 7525if (Text.Length != 0) hash ^= Text.GetHashCode(); 7793if (ResourceName.Length != 0) hash ^= ResourceName.GetHashCode(); 8972if (Title.Length != 0) hash ^= Title.GetHashCode(); 8973if (Message.Length != 0) hash ^= Message.GetHashCode(); 8974if (PrimaryButtonText.Length != 0) hash ^= PrimaryButtonText.GetHashCode(); 8975if (SecondaryButtonText.Length != 0) hash ^= SecondaryButtonText.GetHashCode(); 9997if (LinkText.Length != 0) hash ^= LinkText.GetHashCode(); 9998if (LinkUrl.Length != 0) hash ^= LinkUrl.GetHashCode(); 10909if (Label.Length != 0) hash ^= Label.GetHashCode(); 10910if (Placeholder.Length != 0) hash ^= Placeholder.GetHashCode(); 10914if (Value.Length != 0) hash ^= Value.GetHashCode(); 10916if (Description.Length != 0) hash ^= Description.GetHashCode(); 10922if (Name.Length != 0) hash ^= Name.GetHashCode(); 10926if (FileFilter.Length != 0) hash ^= FileFilter.GetHashCode(); 11530if (FileName.Length != 0) hash ^= FileName.GetHashCode(); 11532if (InputName.Length != 0) hash ^= InputName.GetHashCode(); 11799if (FileId.Length != 0) hash ^= FileId.GetHashCode();
Publishing\PublisherAdvertisementEvent.cs (1)
32return Name.GetHashCode();
BasketService (6)
artifacts\obj\BasketService\Debug\net8.0\Protos\Basket.cs (6)
148if (Id.Length != 0) hash ^= Id.GetHashCode(); 359if (BuyerId.Length != 0) hash ^= BuyerId.GetHashCode(); 583if (BuyerId.Length != 0) hash ^= BuyerId.GetHashCode(); 850if (Id.Length != 0) hash ^= Id.GetHashCode(); 1158if (BuyerId.Length != 0) hash ^= BuyerId.GetHashCode(); 1517if (BuyerId.Length != 0) hash ^= BuyerId.GetHashCode();
ConfigurationSchemaGenerator (1)
RuntimeSource\SourceGenerators\TypeRef.cs (1)
40public override int GetHashCode() => FullyQualifiedName.GetHashCode();
CSharpSyntaxGenerator (1)
Model\Kind.cs (1)
25=> Name == null ? 0 : Name.GetHashCode();
dotnet-aot (1)
parent\dotnet\ToolPackage\PackageId.cs (1)
29return ToString().GetHashCode();
dotnet-svcutil-lib (34)
FrameworkFork\Microsoft.CodeDom\Compiler\CompilerInfo.cs (1)
132return _codeDomProviderTypeName.GetHashCode();
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (2)
101return this.prefix.GetHashCode() ^ this.localname.GetHashCode();
FrameworkFork\Microsoft.Xml\Xml\schema\ChameleonKey.cs (1)
51_hashCode = targetNS.GetHashCode() + chameleonLocation.GetHashCode() +
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeIdentifiers.cs (1)
29return s.ToUpperInvariant().GetHashCode();
FrameworkFork\Microsoft.Xml\Xml\Serialization\Compilation.cs (1)
285return ((_ns != null ? _ns.GetHashCode() : 0) ^ (_type != null ? _type.GetHashCode() : 0));
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (1)
259int code = hashString.GetHashCode();
FrameworkFork\Microsoft.Xml\Xml\Serialization\NameTable.cs (3)
32return (_ns == null ? "<null>".GetHashCode() : _ns.GetHashCode()) ^ (_name == null ? 0 : _name.GetHashCode());
FrameworkFork\Microsoft.Xml\Xml\Serialization\SourceInfo.cs (1)
267return (Source == null) ? 0 : Source.GetHashCode();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializer.cs (3)
954hashCode ^= this.Mapping.Key.GetHashCode(); 957hashCode ^= this.Mapping.ElementName.GetHashCode(); 960hashCode ^= this.Mapping.Namespace.GetHashCode();
FrameworkFork\Microsoft.Xml\Xml\XmlQualifiedName.cs (1)
169return s.GetHashCode();
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigatorKeyComparer.cs (3)
54hashCode ^= nav.LocalName.GetHashCode(); 55hashCode ^= nav.Prefix.GetHashCode(); 56hashCode ^= nav.NamespaceURI.GetHashCode();
FrameworkFork\System.Runtime.Serialization\System\Xml\PrefixHandle.cs (1)
250return GetString().GetHashCode();
FrameworkFork\System.Runtime.Serialization\System\Xml\StringHandle.cs (1)
286return GetString().GetHashCode();
FrameworkFork\System.Runtime.Serialization\System\Xml\UniqueId.cs (1)
429return ToString().GetHashCode();
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\ClaimComparer.cs (2)
161return claim.ClaimType.GetHashCode() ^ claim.Right.GetHashCode()
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AddressHeader.cs (1)
101return GetComparableForm().GetHashCode();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\DirectionalAction.cs (1)
72return _action.GetHashCode();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportSettings.cs (1)
161hashcode ^= this.SubProtocol.ToLowerInvariant().GetHashCode();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataConversionError.cs (1)
33return _message.GetHashCode();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (1)
316return EncodedName.GetHashCode();
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationFormatter.cs (1)
911return obj.Name.GetHashCode();
Metadata\MetadataDocumentLoader.cs (1)
731_hashCode = key.GetHashCode();
Metadata\MetadataDocumentSaver.cs (1)
411return this.ToString().GetHashCode();
Metadata\MetadataFileInfo.cs (1)
50return this.FilePath.ToUpperInvariant().GetHashCode();
Shared\ProjectDependency.cs (1)
385return this.Name.ToUpperInvariant().GetHashCode();
Shared\Utilities\LogTag.cs (1)
82return _value.GetHashCode();
dotnet-user-jwts (1)
Helpers\JwtIssuer.cs (1)
31var id = Guid.NewGuid().ToString().GetHashCode().ToString("x", CultureInfo.InvariantCulture);
GenerateDocumentationAndConfigFiles (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
70=> NameBasedOnArgument.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
206Hash.Combine(Name.GetHashCode(),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
78=> ConfigName.GetHashCode();
ILCompiler.Compiler (4)
Compiler\DependencyAnalysis\PInvokeMethodFixupNode.cs (1)
210return ModuleData.GetHashCode() ^ EntryPointName.GetHashCode();
Compiler\DependencyAnalysis\PInvokeModuleFixupNode.cs (1)
106return ModuleName.GetHashCode() ^ DeclaringModule.GetHashCode();
parent\parent\Common\TypeSystem\IL\Stubs\TypeGetTypeMethodThunk.cs (2)
149return key.DefaultAssemblyName.GetHashCode() ^ key.GetTypeOverload.Signature.GetHashCode(); 153return value.DefaultAssemblyName.GetHashCode() ^ value.Signature.GetHashCode();
ILCompiler.DependencyAnalysisFramework (2)
DependencyNodeCore.cs (1)
91hash = hash * 31 + Reason.GetHashCode();
FullGraphLogStrategy.cs (1)
48int reasonHashCode = Reason != null ? Reason.GetHashCode() : 0;
ILCompiler.Diagnostics (1)
PdbWriter.cs (1)
46return Name.GetHashCode();
ILCompiler.MetadataTransform (4)
ILCompiler\Metadata\Transform.Namespace.cs (1)
154return Namespace != null ? Namespace.GetHashCode() : 0;
ILCompiler\Metadata\Transform.Scope.cs (1)
139return obj.Name.GetHashCode();
Internal\Metadata\NativeFormat\Writer\NativeFormatWriterGen.cs (1)
1693hash = ((hash << 13) - (hash >> 19)) ^ (Value == null ? 0 : Value.GetHashCode());
parent\parent\Common\Internal\NativeFormat\NativeFormatWriter.cs (1)
775return _value.GetHashCode();
ILCompiler.ReadyToRun (2)
Compiler\RuntimeDeterminedTypeHelper.cs (1)
210return unchecked(GetHashCode(field.OwningType) + 97 * GetHashCode(field.FieldType) + 31 * field.GetName().GetHashCode());
parent\parent\Common\Internal\NativeFormat\NativeFormatWriter.cs (1)
775return _value.GetHashCode();
ILCompiler.TypeSystem (2)
parent\parent\Common\TypeSystem\Common\TypeDesc.TypeEquivalence.cs (2)
33return Scope.GetHashCode() ^ Name.GetHashCode();
illink (3)
ILLink.Tasks (1)
CreateRuntimeRootDescriptorFile.cs (1)
84return _key.GetHashCode();
installer.tasks (1)
StaticFileRegeneration\TpnSection.cs (1)
16public override int GetHashCode(TpnSection obj) => obj.Header.Name.GetHashCode();
Microsoft.AspNetCore.Components.AI.SourceGenerators (7)
ToolBlockCandidate.cs (7)
69hash = Hash.Combine(hash, BlockTypeGlobal.GetHashCode()); 70hash = Hash.Combine(hash, ToolName.GetHashCode()); 113hash = Hash.Combine(hash, TypeName.GetHashCode()); 150hash = Hash.Combine(hash, TypeName.GetHashCode()); 264public override int GetHashCode() => Hash.Combine(FilePath.GetHashCode(), TextSpan.GetHashCode()); 279=> Combine(s1?.GetHashCode() ?? 0, s2?.GetHashCode() ?? 0);
Microsoft.AspNetCore.Components.Testing.Generators (2)
ServiceOverrideCallsite.cs (2)
47return (TypeFullyQualifiedName.GetHashCode() * 397) ^ MethodName.GetHashCode();
Microsoft.AspNetCore.Connections.Abstractions (2)
NamedPipeEndPoint.cs (2)
63return ServerName.GetHashCode() ^ PipeName.GetHashCode();
Microsoft.AspNetCore.Http (1)
BindingAddress.cs (1)
130return ToString().GetHashCode();
Microsoft.AspNetCore.Http.Abstractions (2)
FragmentString.cs (1)
140return (HasValue ? _value.GetHashCode() : 0);
QueryString.cs (1)
243return (HasValue ? Value.GetHashCode() : 0);
Microsoft.AspNetCore.Mvc.Abstractions (2)
ModelBinding\BindingSource.cs (1)
220return Id.GetHashCode();
ModelBinding\ValueProviderResult.cs (1)
119return ToString().GetHashCode();
Microsoft.AspNetCore.RateLimiting (1)
PolicyNameKey.cs (1)
21return PolicyName.GetHashCode();
Microsoft.AspNetCore.Server.Kestrel.Core (3)
src\aspnetcore\src\Shared\Hpack\DynamicHPackEncoder.cs (3)
171int hash = name.GetHashCode(); 193int hash = name.GetHashCode(); 215int hash = name.GetHashCode();
Microsoft.Build (12)
BackEnd\Components\ProjectCache\ProjectCacheDescriptorEqualityComparer.cs (2)
55dictHash ^= (pluginSetting.Key.GetHashCode() * -1521134295) + pluginSetting.Value.GetHashCode();
BackEnd\Components\SdkResolution\SdkResolverLoader.cs (1)
185return value.Name.GetHashCode();
BackEnd\Components\SdkResolution\SdkResult.cs (5)
190hashCode = (hashCode * -1521134295) + propertyToAdd.Key.GetHashCode(); 191hashCode = (hashCode * -1521134295) + propertyToAdd.Value.GetHashCode(); 198hashCode = (hashCode * -1521134295) + itemToAdd.Key.GetHashCode(); 206hashCode = (hashCode * -1521134295) + envVarToAdd.Key.GetHashCode(); 207hashCode = (hashCode * -1521134295) + envVarToAdd.Value.GetHashCode();
BuildCheck\Checks\NoEnvironmentVariablePropertyCheck.cs (1)
120hashCode = hashCode * 31 + (Location.File != null ? Location.File.GetHashCode() : 0);
Evaluation\Evaluator.cs (1)
886int hash = (configurationData != null) ? configurationData.EvaluatedValue.GetHashCode() : 0;
Logging\ParallelLogger\ParallelLoggerHelpers.cs (1)
583return _entryPointContext.GetHashCode() + _targetName.GetHashCode();
parent\Shared\CanonicalError.cs (1)
376parsedMessage.code = $"G{explodedText[0].GetHashCode():X8}";
Microsoft.Build.Framework (7)
FileUtilities.cs (2)
412return stringToHash.GetHashCode().ToString("X", CultureInfo.InvariantCulture); 441return builder.ToString().GetHashCode();
Sdk\SdkResultItem.cs (1)
53hashCode = hashCode ^ ItemSpec.GetHashCode();
Telemetry\TaskExecutionStats.cs (2)
95hashCode = (hashCode * 397) ^ (TaskFactoryName?.GetHashCode() ?? 0); 96hashCode = (hashCode * 397) ^ (TaskHostRuntime?.GetHashCode() ?? 0);
Telemetry\TaskOrTargetTelemetryKey.cs (1)
104var hashCode = Name.GetHashCode();
Utilities\AssemblyLoadInfo.cs (1)
82return AssemblyLocation.GetHashCode();
Microsoft.Build.Tasks.Core (7)
GetSDKReferenceFiles.cs (2)
775return FileName.GetHashCode(); 854return TargetPath.GetHashCode();
parent\Shared\CanonicalError.cs (1)
376parsedMessage.code = $"G{explodedText[0].GetHashCode():X8}";
ResolveSDKReference.cs (2)
957return SimpleName.GetHashCode() ^ Version.GetHashCode();
RoslynCodeTaskFactory\RoslynCodeTaskFactoryTaskInfo.cs (2)
74return HashCode.Combine(Name?.GetHashCode() ?? 0, SourceCode?.GetHashCode() ?? 0);
Microsoft.Build.Utilities.Core (1)
parent\Shared\CanonicalError.cs (1)
376parsedMessage.code = $"G{explodedText[0].GetHashCode():X8}";
Microsoft.CodeAnalysis (21)
CommandLine\CommonCompiler.SuppressionDiagnostic.cs (1)
91Hash.Combine(_suppressionId.GetHashCode(), _suppressionJustification.GetHashCode()));
CommandLine\SarifDiagnosticComparer.cs (3)
66return Hash.Combine(obj.Category.GetHashCode(), 69Hash.Combine(obj.HelpLinkUri.GetHashCode(), 70Hash.Combine(obj.Id.GetHashCode(),
Compilation\LoadDirective.cs (1)
41return Hash.Combine(this.Diagnostics.GetHashCode(), this.ResolvedPath?.GetHashCode() ?? 0);
Compilation\ParseOptions.cs (2)
195value = Hash.Combine(kv.Key.GetHashCode(), 196Hash.Combine(kv.Value.GetHashCode(), value));
Diagnostic\CommonDiagnosticComparer.cs (1)
40return Hash.Combine(obj.Location, obj.Id.GetHashCode());
Diagnostic\DiagnosticDescriptor.cs (3)
221return Hash.Combine(this.Category.GetHashCode(), 224Hash.Combine(this.HelpLinkUri.GetHashCode(), 225Hash.Combine(this.Id.GetHashCode(),
Diagnostic\LocalizableResourceString.cs (1)
91return Hash.Combine(_nameOfLocalizableResource.GetHashCode(),
Diagnostic\LocalizableResourceString.FixedLocalizableString.cs (1)
49return _fixedString?.GetHashCode() ?? 0;
Diagnostic\SuppressionDescriptor.cs (2)
94return Hash.Combine(this.Id.GetHashCode(), 95Hash.Combine(this.SuppressedDiagnosticId.GetHashCode(), this.Justification.GetHashCode()));
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
107=> Hash.Combine(RuntimeHelpers.GetHashCode(_assemblyLoader), FullPath.GetHashCode());
DocumentationComments\DocumentationCommentIncludeCache.cs (1)
65return resolvedPath.GetHashCode();
Emit\SynthesizedDelegateKey.cs (1)
25=> Name.GetHashCode();
Symbols\Attributes\CommonAttributeDataComparer.cs (1)
84hash = hashCombine(arg.Key.GetHashCode(), hash, _considerNamedArgumentsOrder);
Syntax\SyntaxTreeComparer.cs (1)
33return Hash.Combine(obj.FilePath.GetHashCode(), SourceTextComparer.Instance.GetHashCode(obj.GetText()));
Text\TextChange.cs (1)
72return Hash.Combine(this.Span.GetHashCode(), this.NewText?.GetHashCode() ?? 0);
Microsoft.CodeAnalysis.Analyzers (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
70=> NameBasedOnArgument.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
206Hash.Combine(Name.GetHashCode(),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
78=> ConfigName.GetHashCode();
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AbstractIndex.ConstantValueIndex.cs (1)
23hashCode.Add(nameof(ConstantValueIndex).GetHashCode());
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AbstractIndex.OperationBasedIndex.cs (1)
23hashCode.Add(nameof(OperationBasedIndex).GetHashCode());
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AbstractIndex.SymbolBasedIndex.cs (1)
23hashCode.Add(nameof(AnalysisEntityBasedIndex).GetHashCode());
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
70=> NameBasedOnArgument.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
206Hash.Combine(Name.GetHashCode(),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
78=> ConfigName.GetHashCode();
Microsoft.CodeAnalysis.CodeStyle (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
70=> NameBasedOnArgument.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
206Hash.Combine(Name.GetHashCode(),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
78=> ConfigName.GetHashCode();
Microsoft.CodeAnalysis.CSharp (11)
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (1)
293result = Hash.Combine(result, groupingKey.GetHashCode());
Declarations\SingleTypeDeclaration.cs (1)
288return Hash.Combine(thisDecl.Name.GetHashCode(),
Symbols\AliasSymbol.cs (1)
266=> this.TryGetFirstLocation()?.GetHashCode() ?? Name.GetHashCode();
Symbols\AnonymousTypes\AnonymousTypeDescriptor.cs (1)
95return this.Key.GetHashCode();
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
82return Hash.Combine((int)ParameterCount, Name.GetHashCode());
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.PropertySymbol.cs (1)
233return Hash.Combine(this.ContainingType.GetHashCode(), this.Name.GetHashCode());
Symbols\ExtendedErrorTypeSymbol.cs (1)
309this.Name != null ? this.Name.GetHashCode() : 0));
Symbols\MissingNamespaceSymbol.cs (1)
79return Hash.Combine(_containingSymbol.GetHashCode(), _name.GetHashCode());
Symbols\PublicModel\PreprocessingSymbol.cs (1)
29return this._name.GetHashCode();
Symbols\SynthesizedNamespaceSymbol.cs (1)
34=> Hash.Combine(_containingSymbol.GetHashCode(), _name.GetHashCode());
Symbols\UnboundGenericType.cs (1)
119? _name.GetHashCode()
Microsoft.CodeAnalysis.CSharp.Features (3)
Completion\CompletionProviders\FunctionPointerUnmanagedCallingConventionCompletionProvider.cs (1)
136return obj?.DisplayText.GetHashCode() ?? 0;
Completion\CompletionProviders\NamedParameterCompletionProvider.cs (1)
260=> obj.Name.GetHashCode();
ConvertToExtension\ExtensionMethodEqualityComparer.cs (1)
142=> s_equivalenceComparer.ParameterEquivalenceComparer.GetHashCode(obj.FirstParameter) ^ obj.FirstParameter.Name.GetHashCode();
Microsoft.CodeAnalysis.Features (10)
Completion\CompletionService.ProviderManager.cs (1)
251hash += o.GetHashCode();
Completion\Providers\AbstractKeywordCompletionProvider.cs (1)
24static x => x.DisplayText.GetHashCode());
Completion\Providers\UnionCompletionItemComparer.cs (1)
24=> Hash.Combine(obj.DisplayText.GetHashCode(), obj.Tags.Length);
Diagnostics\IPerformanceTrackerService.cs (1)
31AnalyzerIdHash = analyzerId.GetHashCode().ToString();
Diagnostics\Log\DiagnosticLogger.cs (2)
27m[Id] = telemetry ? id : id.GetHashCode().ToString(); 29m[Uri] = telemetry ? uri : uri.GetHashCode().ToString();
EditAndContinue\RunningProjectOptions.cs (1)
69=> obj.path.GetHashCode(); // only hash path, all tfms need to fall to the same bucket
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingSolutionCrawlerLogger.cs (1)
226return solution.FilePath.ToLowerInvariant().GetHashCode();
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
475Hash.Combine(_language.GetHashCode(),
Shared\Utilities\LinkedFilesSymbolEquivalenceComparer.cs (1)
22=> symbol.Name.GetHashCode();
Microsoft.CodeAnalysis.NetAnalyzers (4)
Microsoft.NetCore.Analyzers\InteropServices\PlatformCompatibilityAnalyzer.Value.cs (1)
173PlatformName.GetHashCode(),
src\9382845807600969\AbstractIndex.ConstantValueIndex.cs (1)
22hashCode.Add(nameof(ConstantValueIndex).GetHashCode());
src\9382845807600969\AbstractIndex.OperationBasedIndex.cs (1)
22hashCode.Add(nameof(OperationBasedIndex).GetHashCode());
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AbstractIndex.SymbolBasedIndex.cs (1)
22hashCode.Add(nameof(AnalysisEntityBasedIndex).GetHashCode());
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\DefaultRazorIntermediateNodeLoweringPhase.cs (1)
295public override int GetHashCode() => Namespace.GetHashCode();
Language\DocumentationObject.cs (1)
85string s => s.GetHashCode(),
Microsoft.CodeAnalysis.ResxSourceGenerator (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
70=> NameBasedOnArgument.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
206Hash.Combine(Name.GetHashCode(),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
78=> ConfigName.GetHashCode();
Microsoft.CodeAnalysis.VisualBasic (8)
Binding\Binder_XmlLiterals.vb (2)
593Dim result = obj.LocalName.GetHashCode() 595result = Hash.Combine(result, obj.XmlNamespace.GetHashCode())
GlobalImport.vb (1)
168Return Hash.Combine(Me.Name.GetHashCode(), StringComparer.Ordinal.GetHashCode(Me.Clause.ToFullString()))
Symbols\AliasSymbol.vb (1)
253Return If(Me.Locations.Length > 0, Me.GetFirstLocation().GetHashCode(), Me.Name.GetHashCode())
Symbols\AnonymousTypes\AnonymousTypeDescriptor.vb (1)
112Return Me.Key.GetHashCode()
Symbols\ExtendedErrorTypeSymbol.vb (1)
163If(Me.Name Is Nothing, 0, Me.Name.GetHashCode())))
Symbols\MissingNamespaceSymbol.vb (1)
72Return Hash.Combine(_containingSymbol.GetHashCode(), _name.GetHashCode())
Symbols\PreprocessingSymbol.vb (1)
108Return Me.Name.GetHashCode()
Microsoft.CodeAnalysis.Workspaces (11)
CodeFixesAndRefactorings\FixAllLogger.cs (3)
73m[providerKey] = fixAllState.Provider.GetType().FullName!.GetHashCode().ToString(); 74m[CodeActionEquivalenceKey] = fixAllState.CodeActionEquivalenceKey?.GetHashCode().ToString(); 75m[LanguageName] = fixAllState.Project.Language.GetHashCode().ToString();
Options\OptionKey.cs (1)
63hash = unchecked((hash * (int)0xA5555529) + Language.GetHashCode());
Packaging\IPackageInstallerService.cs (1)
62=> Hash.Combine(Name, Source.GetHashCode());
Remote\RemoteArguments.cs (1)
228hashCode += symbol.SymbolKeyData.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
70=> NameBasedOnArgument.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
206Hash.Combine(Name.GetHashCode(),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
78=> ConfigName.GetHashCode();
SymbolSearch\ISymbolSearchService.cs (1)
117=> PackageName.GetHashCode();
Utilities\Documentation\XmlDocumentationProvider.cs (1)
170=> _filePath.GetHashCode();
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildProjectLoader.Worker.AnalyzerReferencePathComparer.cs (1)
25=> obj?.FullPath?.GetHashCode() ?? 0;
Microsoft.CSharp (7)
Microsoft\CSharp\RuntimeBinder\BinderHelper.cs (1)
440hash = HashHelpers.Combine(hash, argName.GetHashCode());
Microsoft\CSharp\RuntimeBinder\CSharpGetMemberBinder.cs (1)
75hash = HashHelpers.Combine(hash, Name.GetHashCode());
Microsoft\CSharp\RuntimeBinder\CSharpInvokeConstructorBinder.cs (1)
60hash = HashHelpers.Combine(hash, Name.GetHashCode());
Microsoft\CSharp\RuntimeBinder\CSharpInvokeMemberBinder.cs (1)
83hash = HashHelpers.Combine(hash, Name.GetHashCode());
Microsoft\CSharp\RuntimeBinder\CSharpIsEventBinder.cs (1)
54hash = HashHelpers.Combine(hash, Name.GetHashCode());
Microsoft\CSharp\RuntimeBinder\CSharpSetMemberBinder.cs (1)
78hash = HashHelpers.Combine(hash, Name.GetHashCode());
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
45public override int GetHashCode() => Type.GetHashCode() ^ Name.GetHashCode();
Microsoft.Deployment.DotNet.Releases (4)
Cve.cs (1)
78public override int GetHashCode() => Id.GetHashCode() ^ DescriptionLink.GetHashCode();
ReleaseFile.cs (1)
167Hash.GetHashCode();
ReleaseVersion.cs (2)
290return Major ^ Minor ^ Patch ^ (!string.IsNullOrWhiteSpace(Prerelease) ? Prerelease.GetHashCode() : 0) ^ 291(!string.IsNullOrWhiteSpace(BuildMetadata) ? BuildMetadata.GetHashCode() : 0);
Microsoft.Diagnostics.NETCore.Client (2)
DiagnosticsClient\EventPipeProvider.cs (2)
90hash ^= Name.GetHashCode(); 93hash ^= GetArgumentString().GetHashCode();
Microsoft.DotNet.ApiCompatibility (1)
Comparing\SymbolEqualityComparer.cs (1)
20public int GetHashCode([DisallowNull] ISymbol obj) => GetKey(obj).GetHashCode();
Microsoft.DotNet.Build.Tasks.Packaging (4)
GenerateNuSpec.cs (1)
292return obj.AssemblyName.GetHashCode();
PackageReport.cs (3)
159var hash = Project.GetHashCode(); 160hash ^= AdditionalProperties.GetHashCode(); 161hash ^= UndefineProperties.GetHashCode();
Microsoft.DotNet.Build.Tasks.Workloads (1)
Swix\SwixComponent.cs (1)
133public override int GetHashCode() => Name.GetHashCode();
Microsoft.DotNet.PackageValidation (1)
ContentItemEqualityComparer.cs (1)
18public int GetHashCode(ContentItem obj) => obj.Path.GetHashCode();
Microsoft.DotNet.SdkResolver (1)
NETCoreSdkResolver.cs (1)
60int h1 = DotnetExeDirectory!.GetHashCode();
Microsoft.DotNet.TemplateLocator (2)
parent\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\ManifestId.cs (1)
32return _id.GetHashCode();
parent\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\ManifestVersion.cs (1)
39return ToString().GetHashCode();
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (2)
ScenarioRunResultTests.cs (2)
417=> obj.Text.GetHashCode(); 430=> obj.Text.GetHashCode();
Microsoft.Extensions.Configuration.Binder.SourceGeneration (2)
Parser\Extensions.cs (1)
115string hash = ((uint)sb.ToString().GetHashCode()).ToString("D10");
src\runtime\src\libraries\Common\src\SourceGenerators\TypeRef.cs (1)
40public override int GetHashCode() => FullyQualifiedName.GetHashCode();
Microsoft.Extensions.DependencyModel (3)
Dependency.cs (2)
37HashHelpers.Combine(Name.GetHashCode(), Version.GetHashCode());
HashCodeCombiner.cs (1)
38int hashCode = (s != null) ? s.GetHashCode() : 0;
Microsoft.Extensions.FileProviders.Embedded.Manifest.Task (2)
EmbeddedItem.cs (2)
19public override int GetHashCode() => ManifestFilePath.GetHashCode() ^ AssemblyResourceName.GetHashCode();
Microsoft.Extensions.Http.Resilience.Tests (2)
artifacts\obj\Microsoft.Extensions.Http.Resilience.Tests\Debug\net10.0\Protos\Greet.cs (2)
126if (Name.Length != 0) hash ^= Name.GetHashCode(); 319if (Message.Length != 0) hash ^= Message.GetHashCode();
Microsoft.Extensions.Logging.Generators (15)
LoggerMessageGenerator.Parser.cs (15)
1002hash = HashHelpers.Combine(hash, Keyword.GetHashCode()); 1003hash = HashHelpers.Combine(hash, Namespace.GetHashCode()); 1004hash = HashHelpers.Combine(hash, Name.GetHashCode()); 1100hash = HashHelpers.Combine(hash, Name.GetHashCode()); 1101hash = HashHelpers.Combine(hash, UniqueName.GetHashCode()); 1102hash = HashHelpers.Combine(hash, Message.GetHashCode()); 1105hash = HashHelpers.Combine(hash, EventName?.GetHashCode() ?? 0); 1107hash = HashHelpers.Combine(hash, Modifiers.GetHashCode()); 1108hash = HashHelpers.Combine(hash, LoggerField.GetHashCode()); 1178int hash = Name.GetHashCode(); 1179hash = HashHelpers.Combine(hash, Type.GetHashCode()); 1180hash = HashHelpers.Combine(hash, CodeName.GetHashCode()); 1181hash = HashHelpers.Combine(hash, Qualifier?.GetHashCode() ?? 0); 1240int hash = Name.GetHashCode(); 1241hash = HashHelpers.Combine(hash, Constraints?.GetHashCode() ?? 0);
Microsoft.Extensions.Primitives (3)
StringValues.cs (3)
742return this[0]?.GetHashCode() ?? Count.GetHashCode(); 747hashCode = HashHelpers.Combine(hashCode, values[i]?.GetHashCode() ?? 0); 753return Unsafe.As<string>(value)?.GetHashCode() ?? Count.GetHashCode();
Microsoft.Interop.SourceGeneration (2)
ContainingSyntaxContext.cs (1)
94int code = ContainingNamespace?.GetHashCode() ?? 0;
ManualTypeMarshallingHelper.cs (1)
39int hash = UnsupportedReason?.GetHashCode() ?? 0;
Microsoft.Maui.Controls.Build.Tasks (1)
TypeReferenceExtensions.cs (1)
53 return $"{GetAssemblyName(obj)}//{obj.FullName}".GetHashCode();
Microsoft.Maui.Controls.SourceGen (4)
src\Controls\src\Xaml\XamlNode.cs (2)
77 int hashCode = NamespaceUri.GetHashCode(); 78 hashCode = (hashCode * 397) ^ Name.GetHashCode();
src\Controls\src\Xaml\XmlName.cs (2)
48 hashCode = NamespaceURI.GetHashCode(); 50 hashCode = (hashCode * 397) ^ LocalName.GetHashCode();
Microsoft.ML.AutoML (1)
Experiment\SuggestedPipeline.cs (1)
52return ToString().GetHashCode();
Microsoft.ML.Core (1)
ComponentModel\ComponentCatalog.cs (1)
111return Hashing.CombinedHash(Name.GetHashCode(), Signature.GetHashCode());
Microsoft.ML.Data (1)
EntryPoints\EntryPointNode.cs (1)
1232return ParameterName.GetHashCode();
Microsoft.ML.FastTree (1)
TreeEnsemble\InternalRegressionTree.cs (1)
1079return ToString().GetHashCode();
Microsoft.ML.OnnxConverter (26)
OnnxMl.cs (26)
550if (Name.Length != 0) hash ^= Name.GetHashCode(); 551if (RefAttrName.Length != 0) hash ^= RefAttrName.GetHashCode(); 552if (DocString.Length != 0) hash ^= DocString.GetHashCode(); 1031if (Name.Length != 0) hash ^= Name.GetHashCode(); 1033if (DocString.Length != 0) hash ^= DocString.GetHashCode(); 1351if (Name.Length != 0) hash ^= Name.GetHashCode(); 1352if (OpType.Length != 0) hash ^= OpType.GetHashCode(); 1353if (Domain.Length != 0) hash ^= Domain.GetHashCode(); 1355if (DocString.Length != 0) hash ^= DocString.GetHashCode(); 1760if (ProducerName.Length != 0) hash ^= ProducerName.GetHashCode(); 1761if (ProducerVersion.Length != 0) hash ^= ProducerVersion.GetHashCode(); 1762if (Domain.Length != 0) hash ^= Domain.GetHashCode(); 1764if (DocString.Length != 0) hash ^= DocString.GetHashCode(); 2074if (Key.Length != 0) hash ^= Key.GetHashCode(); 2075if (Value.Length != 0) hash ^= Value.GetHashCode(); 2269if (TensorName.Length != 0) hash ^= TensorName.GetHashCode(); 2580if (Name.Length != 0) hash ^= Name.GetHashCode(); 2583if (DocString.Length != 0) hash ^= DocString.GetHashCode(); 3094if (Name.Length != 0) hash ^= Name.GetHashCode(); 3095if (DocString.Length != 0) hash ^= DocString.GetHashCode(); 4180if (valueCase_ == ValueOneofCase.DimParam) hash ^= DimParam.GetHashCode(); 4181if (Denotation.Length != 0) hash ^= Denotation.GetHashCode(); 4522if (Denotation.Length != 0) hash ^= Denotation.GetHashCode(); 5633if (Domain.Length != 0) hash ^= Domain.GetHashCode(); 5634if (Name.Length != 0) hash ^= Name.GetHashCode(); 5844if (Domain.Length != 0) hash ^= Domain.GetHashCode();
Microsoft.ML.OnnxTransformer (26)
parent\Microsoft.ML.OnnxConverter\OnnxMl.cs (26)
550if (Name.Length != 0) hash ^= Name.GetHashCode(); 551if (RefAttrName.Length != 0) hash ^= RefAttrName.GetHashCode(); 552if (DocString.Length != 0) hash ^= DocString.GetHashCode(); 1031if (Name.Length != 0) hash ^= Name.GetHashCode(); 1033if (DocString.Length != 0) hash ^= DocString.GetHashCode(); 1351if (Name.Length != 0) hash ^= Name.GetHashCode(); 1352if (OpType.Length != 0) hash ^= OpType.GetHashCode(); 1353if (Domain.Length != 0) hash ^= Domain.GetHashCode(); 1355if (DocString.Length != 0) hash ^= DocString.GetHashCode(); 1760if (ProducerName.Length != 0) hash ^= ProducerName.GetHashCode(); 1761if (ProducerVersion.Length != 0) hash ^= ProducerVersion.GetHashCode(); 1762if (Domain.Length != 0) hash ^= Domain.GetHashCode(); 1764if (DocString.Length != 0) hash ^= DocString.GetHashCode(); 2074if (Key.Length != 0) hash ^= Key.GetHashCode(); 2075if (Value.Length != 0) hash ^= Value.GetHashCode(); 2269if (TensorName.Length != 0) hash ^= TensorName.GetHashCode(); 2580if (Name.Length != 0) hash ^= Name.GetHashCode(); 2583if (DocString.Length != 0) hash ^= DocString.GetHashCode(); 3094if (Name.Length != 0) hash ^= Name.GetHashCode(); 3095if (DocString.Length != 0) hash ^= DocString.GetHashCode(); 4180if (valueCase_ == ValueOneofCase.DimParam) hash ^= DimParam.GetHashCode(); 4181if (Denotation.Length != 0) hash ^= Denotation.GetHashCode(); 4522if (Denotation.Length != 0) hash ^= Denotation.GetHashCode(); 5633if (Domain.Length != 0) hash ^= Domain.GetHashCode(); 5634if (Name.Length != 0) hash ^= Name.GetHashCode(); 5844if (Domain.Length != 0) hash ^= Domain.GetHashCode();
Microsoft.ML.SearchSpace (1)
Parameter.cs (1)
403return thisJson.GetHashCode();
Microsoft.ML.TestFramework (2)
SubComponent.cs (2)
149int hash = Kind.GetHashCode(); 151hash = CombineHash(hash, Settings[i].GetHashCode());
Microsoft.NET.Build.Tasks (6)
parent\parent\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\ManifestId.cs (1)
32return _id.GetHashCode();
parent\parent\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\ManifestVersion.cs (1)
39return ToString().GetHashCode();
ProcessFrameworkReferences.cs (2)
1254hashCode = hashCode * -1521134295 + obj.ItemSpec.GetHashCode(); 1255hashCode = hashCode * -1521134295 + obj.GetMetadata(MetadataKeys.Version).GetHashCode();
ResolvedFile.cs (2)
111return SourcePath.GetHashCode() + DestinationSubDirectory.GetHashCode();
Microsoft.NET.ProjectData (1)
StringPool.cs (1)
54 int stripe = value.GetHashCode() & StripeMask;
Microsoft.NET.Sdk.WorkloadManifestReader (2)
ManifestId.cs (1)
32return _id.GetHashCode();
ManifestVersion.cs (1)
39return ToString().GetHashCode();
Microsoft.Private.Windows.Core (4)
System\Reflection\Metadata\TypeNameComparer.cs (4)
62hashCode = "constructed".GetHashCode() ^ GetHashCode(obj.GetGenericTypeDefinition()); 71hashCode = obj.FullName.GetHashCode(); 76hashCode ^= info.Name.GetHashCode(); 86hashCode ^= info.CultureName.GetHashCode();
Microsoft.TemplateEngine.Cli (1)
Commands\create\TemplateOption.cs (1)
68return new { a = TemplateParameter.Name, b = TemplateParameter.Type, c = Aliases.Aggregate(0, (sum, next) => sum ^ next.GetHashCode()) }.GetHashCode();
Microsoft.TemplateEngine.Core (3)
TokenConfig.cs (3)
78return (Before?.GetHashCode() ?? 0) ^ (After?.GetHashCode() ?? 0) ^ (Value?.GetHashCode() ?? 0);
Microsoft.TemplateEngine.Edge (4)
Template\FilteredTemplateEqualityComparer.cs (1)
18return obj?.Info?.Identity?.GetHashCode() ?? 0;
Template\TemplateEqualityComparer.cs (1)
20return obj?.Identity?.GetHashCode() ?? 0;
Template\TemplateMatchInfoEqualityComparer.cs (1)
18return obj?.Info?.Identity?.GetHashCode() ?? 0;
TemplateListFilter.cs (1)
148return obj?.Info?.Identity?.GetHashCode() ?? 0;
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (1)
Parameter.cs (1)
83public override int GetHashCode() => Name.GetHashCode();
Microsoft.TemplateEngine.Utils (2)
MultiValueParameter.cs (1)
88public override int GetHashCode() => Values.OrderBy(v => v).ToCsvString().GetHashCode();
TemplateParameter.cs (1)
102public override int GetHashCode() => Name != null ? Name.GetHashCode() : 0;
Microsoft.TemplateSearch.Common (1)
TemplateDiscoveryMetadata\BlobStorageTemplateInfo.cs (1)
437public override int GetHashCode() => Name != null ? Name.GetHashCode() : 0;
Microsoft.VisualStudio.TestPlatform.Common (1)
Utilities\SimpleJSON.cs (1)
1042return _data.GetHashCode();
Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger (1)
ObjectModel\TestResultCollection.cs (1)
42get => _source.GetHashCode();
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (2)
ObjectModel\TestCategoryItems.cs (1)
79return _category.ToUpperInvariant().GetHashCode();
ObjectModel\TestMethod.cs (1)
64return Name?.GetHashCode() ?? 0;
Microsoft.VisualStudio.TestPlatform.ObjectModel (9)
Client\FilterOptions.cs (2)
54var hashCode = FilterRegEx?.GetHashCode() ?? 0; 55return (hashCode * 397) ^ (FilterRegExReplacement != null ? FilterRegExReplacement.GetHashCode() : 0);
Client\TestRunCriteria.cs (2)
658hashCode = (hashCode * 397) ^ (_testCaseFilter != null ? _testCaseFilter.GetHashCode() : 0); 874hashCode = (hashCode * 397) ^ (TestRunSettings != null ? TestRunSettings.GetHashCode() : 0);
InvokedDataCollector.cs (3)
88hashCode = (hashCode * 397) ^ FriendlyName.GetHashCode(); 89hashCode = (hashCode * 397) ^ AssemblyQualifiedName.GetHashCode(); 90hashCode = (hashCode * 397) ^ (FilePath != null ? FilePath.GetHashCode() : 0);
Nuget.Frameworks\NuGetFrameworkNameComparer.cs (1)
47return obj.Framework.ToUpperInvariant().GetHashCode();
TestProperty\TestProperty.cs (1)
132return Id.GetHashCode();
Mono.Cecil (5)
Mono.Cecil.Metadata\Row.cs (2)
126 return (x != null ? x.GetHashCode () : 0) ^ (y != null ? y.GetHashCode () : 0);
Mono.Cecil\MethodReferenceComparer.cs (1)
140 return TypeReferenceEqualityComparer.GetHashCodeFor (obj.DeclaringType) * hashCodeMultiplier + obj.Name.GetHashCode ();
Mono.Cecil\TypeReferenceEqualityComparer.cs (2)
250 return obj.Namespace.GetHashCode () * hashCodeMultiplier + obj.FullName.GetHashCode ();
MyFrontend (6)
artifacts\obj\MyFrontend\Debug\net8.0\Basket.cs (6)
148if (Id.Length != 0) hash ^= Id.GetHashCode(); 359if (BuyerId.Length != 0) hash ^= BuyerId.GetHashCode(); 583if (BuyerId.Length != 0) hash ^= BuyerId.GetHashCode(); 850if (Id.Length != 0) hash ^= Id.GetHashCode(); 1158if (BuyerId.Length != 0) hash ^= BuyerId.GetHashCode(); 1517if (BuyerId.Length != 0) hash ^= BuyerId.GetHashCode();
NuGet.Configuration (8)
Settings\Items\AddItem.cs (1)
125public sealed override int GetHashCode() => Key.GetHashCode();
Settings\Items\AuthorItem.cs (1)
77public override int GetHashCode() => Name.GetHashCode();
Settings\Items\CertificateItem.cs (1)
121public override int GetHashCode() => Fingerprint.GetHashCode();
Settings\Items\ClearItem.cs (1)
36public override int GetHashCode() => ElementName.GetHashCode();
Settings\Items\CredentialsItem.cs (1)
257public override int GetHashCode() => ElementName.GetHashCode();
Settings\Items\UnknownItem.cs (1)
181public override int GetHashCode() => ElementName.GetHashCode();
Settings\SettingSection.cs (1)
71public override int GetHashCode() => ElementName.GetHashCode();
Settings\SettingText.cs (1)
55public override int GetHashCode() => Value.GetHashCode();
NuGet.Frameworks (1)
comparers\NuGetFrameworkNameComparer.cs (1)
44return obj.Framework.ToUpperInvariant().GetHashCode();
NuGet.PackageManagement (2)
FileModifiers\FileTransformExtensions.cs (2)
40return InstallExtension.GetHashCode() * 3137 + UninstallExtension.GetHashCode();
PresentationBuildTasks (4)
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlMapTable.cs (3)
1897return ((AssemblyFullName != null) ? AssemblyFullName.GetHashCode() : 0); 1960return ((DeclaringAssembly != null) ? DeclaringAssembly.GetHashCode() : 0) ^ 1961((TypeFullName != null) ? TypeFullName.GetHashCode() : 0);
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (1)
6869return _ownerType.GetHashCode() ^ _name.GetHashCode();
PresentationCore (5)
MS\Internal\FontCache\CanonicalFontFamilyReference.cs (3)
130return _familyName.GetHashCode(); 137EscapedFileName.GetHashCode(); 140hash = HashFn.HashMultiply(hash) + _familyName.GetHashCode();
MS\Internal\FontFace\FontFamilyIdentifier.cs (1)
450hash = HashFn.HashMultiply(hash) + _name.GetHashCode();
MS\Internal\Shaping\ShapeTypeface.cs (1)
41+ (_deviceFont == null ? 0 : _deviceFont.Name.GetHashCode());
PresentationFramework (18)
MS\Internal\Data\AccessorTable.cs (1)
198public override int GetHashCode() => unchecked(_type.GetHashCode() + _name.GetHashCode());
MS\Internal\IO\Packaging\ContentDescriptor.cs (2)
52return XmlNamespace.GetHashCode() ^ BaseName.GetHashCode();
System\Windows\Data\XmlNamespaceMapping.cs (1)
117hash = _prefix.GetHashCode();
System\Windows\Documents\Serialization\SerializerDescriptor.cs (1)
354return id.GetHashCode();
System\Windows\Markup\BamlMapTable.cs (3)
1897return ((AssemblyFullName != null) ? AssemblyFullName.GetHashCode() : 0); 1960return ((DeclaringAssembly != null) ? DeclaringAssembly.GetHashCode() : 0) ^ 1961((TypeFullName != null) ? TypeFullName.GetHashCode() : 0);
System\Windows\Markup\Localizer\BamlLocalizableResource.cs (2)
181return (_content == null ? 0 : _content.GetHashCode()) 182^(_comments == null ? 0 : _comments.GetHashCode())
System\Windows\Markup\Localizer\BamlLocalizableResourceKey.cs (3)
125return _uid.GetHashCode() 126^ _className.GetHashCode() 127^ _propertyName.GetHashCode();
System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
317return _type.GetHashCode() ^ _propertyName.GetHashCode();
System\Windows\Markup\Primitives\MarkupWriter.cs (2)
1292return Uri.GetHashCode() + Prefix.GetHashCode();
System\Windows\VisualStateManager.cs (2)
765int targetNameHash = _targetName != null ? _targetName.GetHashCode() : 0; 766int targetPropertyHash = (_targetProperty != null && _targetProperty.Path != null) ? _targetProperty.Path.GetHashCode() : 0;
ReachFramework (2)
Serialization\ImageSourceTypeConverter.cs (1)
450_uriHashValue = sourceUri.GetHashCode();
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\UriComparer.cs (1)
90return uriAsString.GetHashCode();
Roslyn.Diagnostics.Analyzers (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
70=> NameBasedOnArgument.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
206Hash.Combine(Name.GetHashCode(),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
78=> ConfigName.GetHashCode();
Stress.ApiService (22)
artifacts\obj\Stress.ApiService\Debug\net8.0\opentelemetry\proto\collector\logs\v1\LogsService.cs (1)
584if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode();
artifacts\obj\Stress.ApiService\Debug\net8.0\opentelemetry\proto\collector\metrics\v1\MetricsService.cs (1)
586if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode();
artifacts\obj\Stress.ApiService\Debug\net8.0\opentelemetry\proto\collector\trace\v1\TraceService.cs (1)
585if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode();
artifacts\obj\Stress.ApiService\Debug\net8.0\opentelemetry\proto\common\v1\Common.cs (4)
343if (HasStringValue) hash ^= StringValue.GetHashCode(); 1121if (Key.Length != 0) hash ^= Key.GetHashCode(); 1404if (Name.Length != 0) hash ^= Name.GetHashCode(); 1405if (Version.Length != 0) hash ^= Version.GetHashCode();
artifacts\obj\Stress.ApiService\Debug\net8.0\opentelemetry\proto\logs\v1\Logs.cs (3)
467if (SchemaUrl.Length != 0) hash ^= SchemaUrl.GetHashCode(); 751if (SchemaUrl.Length != 0) hash ^= SchemaUrl.GetHashCode(); 1198if (SeverityText.Length != 0) hash ^= SeverityText.GetHashCode();
artifacts\obj\Stress.ApiService\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (5)
567if (SchemaUrl.Length != 0) hash ^= SchemaUrl.GetHashCode(); 851if (SchemaUrl.Length != 0) hash ^= SchemaUrl.GetHashCode(); 1324if (Name.Length != 0) hash ^= Name.GetHashCode(); 1325if (Description.Length != 0) hash ^= Description.GetHashCode(); 1326if (Unit.Length != 0) hash ^= Unit.GetHashCode();
artifacts\obj\Stress.ApiService\Debug\net8.0\opentelemetry\proto\trace\v1\Trace.cs (7)
413if (SchemaUrl.Length != 0) hash ^= SchemaUrl.GetHashCode(); 697if (SchemaUrl.Length != 0) hash ^= SchemaUrl.GetHashCode(); 1235if (TraceState.Length != 0) hash ^= TraceState.GetHashCode(); 1237if (Name.Length != 0) hash ^= Name.GetHashCode(); 1836if (Name.Length != 0) hash ^= Name.GetHashCode(); 2174if (TraceState.Length != 0) hash ^= TraceState.GetHashCode(); 2481if (Message.Length != 0) hash ^= Message.GetHashCode();
Stress.TelemetryService (22)
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\collector\logs\v1\LogsService.cs (1)
584if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode();
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\collector\metrics\v1\MetricsService.cs (1)
586if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode();
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\collector\trace\v1\TraceService.cs (1)
585if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode();
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\common\v1\Common.cs (4)
343if (HasStringValue) hash ^= StringValue.GetHashCode(); 1121if (Key.Length != 0) hash ^= Key.GetHashCode(); 1404if (Name.Length != 0) hash ^= Name.GetHashCode(); 1405if (Version.Length != 0) hash ^= Version.GetHashCode();
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\logs\v1\Logs.cs (3)
467if (SchemaUrl.Length != 0) hash ^= SchemaUrl.GetHashCode(); 751if (SchemaUrl.Length != 0) hash ^= SchemaUrl.GetHashCode(); 1198if (SeverityText.Length != 0) hash ^= SeverityText.GetHashCode();
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (5)
567if (SchemaUrl.Length != 0) hash ^= SchemaUrl.GetHashCode(); 851if (SchemaUrl.Length != 0) hash ^= SchemaUrl.GetHashCode(); 1324if (Name.Length != 0) hash ^= Name.GetHashCode(); 1325if (Description.Length != 0) hash ^= Description.GetHashCode(); 1326if (Unit.Length != 0) hash ^= Unit.GetHashCode();
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\trace\v1\Trace.cs (7)
413if (SchemaUrl.Length != 0) hash ^= SchemaUrl.GetHashCode(); 697if (SchemaUrl.Length != 0) hash ^= SchemaUrl.GetHashCode(); 1235if (TraceState.Length != 0) hash ^= TraceState.GetHashCode(); 1237if (Name.Length != 0) hash ^= Name.GetHashCode(); 1836if (Name.Length != 0) hash ^= Name.GetHashCode(); 2174if (TraceState.Length != 0) hash ^= TraceState.GetHashCode(); 2481if (Message.Length != 0) hash ^= Message.GetHashCode();
System.CodeDom (1)
System\CodeDom\Compiler\CompilerInfo.cs (1)
86public override int GetHashCode() => _codeDomProviderTypeName.GetHashCode();
System.CommandLine (3)
Completions\CompletionItem.cs (2)
86return (Label.GetHashCode() * 397) ^ (Kind != null ? Kind.GetHashCode() : 0);
Parsing\Token.cs (1)
58public override int GetHashCode() => Value.GetHashCode() ^ (int)Type;
System.ComponentModel.Annotations (2)
System\ComponentModel\DataAnnotations\UIHintAttribute.cs (2)
113return a.GetHashCode() ^ b.GetHashCode();
System.ComponentModel.Primitives (4)
System\ComponentModel\CategoryAttribute.cs (1)
140public override int GetHashCode() => Category?.GetHashCode() ?? 0;
System\ComponentModel\DescriptionAttribute.cs (1)
47public override int GetHashCode() => Description?.GetHashCode() ?? 0;
System\ComponentModel\DesignerCategoryAttribute.cs (1)
63public override int GetHashCode() => Category?.GetHashCode() ?? 0;
System\ComponentModel\DisplayNameAttribute.cs (1)
46public override int GetHashCode() => DisplayName?.GetHashCode() ?? 0;
System.ComponentModel.TypeConverter (7)
System\ComponentModel\Design\ServiceContainer.cs (1)
256public int GetHashCode(Type obj) => obj.FullName!.GetHashCode();
System\ComponentModel\MemberDescriptor.cs (4)
52_nameHash = name.GetHashCode(); 72_nameHash = _name?.GetHashCode() ?? 0; 93_nameHash = _name.GetHashCode(); 187/// Gets the hash code for the name of the member as specified in <see cref='string.GetHashCode()'/>.
System\ComponentModel\ToolboxItemAttribute.cs (1)
118return _toolboxItemTypeName.GetHashCode();
System\ComponentModel\ToolboxItemFilterAttribute.cs (1)
96return FilterString.GetHashCode();
System.Composition.Runtime (3)
System\Composition\Hosting\Core\CompositionContract.cs (3)
93hc ^= _contractName.GetHashCode(); 219result ^= kv.Key.GetHashCode(); 224result ^= sval.GetHashCode();
System.Data.Common (3)
src\runtime\src\libraries\Common\src\System\Data\Common\DbConnectionPoolKey.cs (1)
56return _connectionString == null ? 0 : _connectionString.GetHashCode();
System\Data\Common\ObjectStorage.cs (1)
660return unchecked(obj.Key.GetHashCode() + obj.Value.ElementName.GetHashCode());
System\Data\XmlToDatasetMap.cs (1)
27return LocalName.GetHashCode();
System.Data.Odbc (2)
Common\System\Data\ProviderBase\DbConnectionPoolIdentity.cs (1)
20_hashCode = sidString == null ? 0 : sidString.GetHashCode();
src\runtime\src\libraries\Common\src\System\Data\Common\DbConnectionPoolKey.cs (1)
56return _connectionString == null ? 0 : _connectionString.GetHashCode();
System.Data.OleDb (2)
System\Data\Common\DbConnectionPoolKey.cs (1)
58return _connectionString == null ? 0 : _connectionString.GetHashCode();
System\Data\ProviderBase\DbConnectionPoolIdentity.cs (1)
35_hashCode = sidString == null ? 0 : sidString.GetHashCode();
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\Activity.cs (2)
2065return ToHexString().GetHashCode(); 2233return ToHexString().GetHashCode();
System\Diagnostics\Metrics\StringSequence.cs (1)
18public override int GetHashCode() => Value1.GetHashCode();
System.Diagnostics.EventLog (1)
System\Diagnostics\Reader\ProviderMetadataCachedInformation.cs (1)
44return ProviderName.GetHashCode() ^ TheCultureInfo.GetHashCode();
System.DirectoryServices (2)
System\DirectoryServices\ActiveDirectory\DirectoryEntryManager.cs (2)
62hashCode = hashCode + Components[i].Name!.ToUpperInvariant().GetHashCode() + Components[i].Value!.ToUpperInvariant().GetHashCode();
System.DirectoryServices.AccountManagement (2)
System\DirectoryServices\AccountManagement\AD\ADStoreKey.cs (1)
83(_domainName.GetHashCode() ^ _sid.GetHashCode());
System\DirectoryServices\AccountManagement\SAM\SAMStoreKey.cs (1)
49return _machineName.GetHashCode() ^ _sid.GetHashCode();
System.Drawing.Primitives (1)
System\Drawing\Color.cs (1)
608return name.GetHashCode();
System.IO.Packaging (1)
System\IO\Packaging\ZipPackage.cs (1)
753return extension.ToUpperInvariant().GetHashCode();
System.Linq.Expressions (1)
System\Dynamic\ExpandoClass.cs (1)
52int hashCode = _hashCode ^ newKey.GetHashCode();
System.Management (3)
System\Management\ManagementBaseObject.cs (3)
707localHash = this.GetText(TextFormat.Mof).GetHashCode(); 712localHash = string.Empty.GetHashCode(); 717localHash = string.Empty.GetHashCode();
System.Net.Http (3)
System\Net\Http\Headers\AuthenticationHeaderValue.cs (1)
90result ^= _parameter.GetHashCode();
System\Net\Http\Headers\NameValueHeaderValue.cs (1)
72return nameHashCode ^ _value.GetHashCode();
System\Net\Http\Headers\ProductInfoHeaderValue.cs (1)
77return _comment.GetHashCode();
System.Net.HttpListener (1)
System\Net\Managed\ListenerPrefix.cs (1)
95return _original.GetHashCode();
System.Net.Sockets (1)
System\Net\Sockets\UnixDomainSocketEndPoint.cs (1)
144public override int GetHashCode() => _path.GetHashCode();
System.ObjectModel (1)
System\ComponentModel\TypeConverterAttribute.cs (1)
68public override int GetHashCode() => ConverterTypeName.GetHashCode();
System.Private.CoreLib (18)
Internal\Runtime\CompilerHelpers\InteropHelpers.cs (1)
693^ Cookie.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\ApplicationId.cs (1)
82Name.GetHashCode() ^ Version.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\EqualityComparer.cs (1)
323public override int GetHashCode([DisallowNull] string obj) => obj?.GetHashCode() ?? 0;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.cs (1)
1519public override int GetHashCode() => Name.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CultureInfo.cs (1)
650return Name.GetHashCode() + CompareInfo.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\RegionInfo.cs (1)
190public override int GetHashCode() => Name.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\StringInfo.cs (1)
36public override int GetHashCode() => _str.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\TextInfo.cs (1)
598public override int GetHashCode() => CultureName.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\FrameworkName.cs (2)
81return Identifier.GetHashCode() ^ Version.GetHashCode() ^ Profile.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\StringComparer.cs (3)
377return obj.GetHashCode(); 421int hashCode = nameof(OrdinalComparer).GetHashCode(); 451return obj.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\DecoderReplacementFallback.cs (1)
76public override int GetHashCode() => _strDefault.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\EncoderReplacementFallback.cs (1)
76public override int GetHashCode() => _strDefault.GetHashCode();
System\Reflection\RuntimeAssemblyName.cs (1)
120return this.Name.GetHashCode();
System\String.Intern.cs (2)
34protected sealed override int GetKeyHashCode(string key) => key.GetHashCode(); 35protected sealed override int GetValueHashCode(string value) => value.GetHashCode();
System.Private.DataContractSerialization (3)
System\Xml\PrefixHandle.cs (1)
251return GetString().GetHashCode();
System\Xml\StringHandle.cs (1)
292return GetString().GetHashCode();
System\Xml\UniqueId.cs (1)
336return ToString().GetHashCode();
System.Private.TypeLoader (2)
Internal\Runtime\TypeLoader\TypeLoaderLogger.cs (2)
24int hash = message.GetHashCode(); 28if (s_pauseHash == message.GetHashCode())
System.Private.Uri (2)
System\Uri.cs (2)
1533return OriginalString.GetHashCode(); 1554return remoteUrl.GetHashCode();
System.Private.Windows.Core (4)
System\Reflection\Metadata\TypeNameComparer.cs (4)
62hashCode = "constructed".GetHashCode() ^ GetHashCode(obj.GetGenericTypeDefinition()); 71hashCode = obj.FullName.GetHashCode(); 76hashCode ^= info.Name.GetHashCode(); 86hashCode ^= info.CultureName.GetHashCode();
System.Private.Xml (22)
System\Xml\BinaryXml\XmlBinaryReader.cs (2)
100this.prefix.GetHashCode() ^ this.localname.GetHashCode();
System\Xml\Schema\Chameleonkey.cs (1)
47_hashCode = unchecked(targetNS.GetHashCode() + chameleonLocation.GetHashCode() +
System\Xml\Serialization\CodeIdentifiers.cs (1)
29return CultureInfo.CurrentCulture.TextInfo.ToUpper(s).GetHashCode();
System\Xml\Serialization\Compilation.cs (1)
733return ((_ns != null ? _ns.GetHashCode() : 0) ^ (_type != null ? _type.GetHashCode() : 0));
System\Xml\Serialization\ImportContext.cs (1)
176int code = hashString.GetHashCode();
System\Xml\Serialization\NameTable.cs (3)
32return (_ns == null ? "<null>".GetHashCode() : _ns.GetHashCode()) ^ (_name == null ? 0 : _name.GetHashCode());
System\Xml\Serialization\SourceInfo.cs (1)
269return (Source == null) ? 0 : Source.GetHashCode();
System\Xml\Serialization\XmlSerializer.cs (3)
1084hashCode ^= this.Mapping.Key.GetHashCode(); 1087hashCode ^= this.Mapping.ElementName.GetHashCode(); 1090hashCode ^= this.Mapping.Namespace.GetHashCode();
System\Xml\XmlQualifiedName.cs (1)
54_hash = Name.GetHashCode(); /*+ Namespace.GetHashCode()*/ // for perf reasons we are not taking ns's hashcode.
System\Xml\XPath\XPathNavigatorKeyComparer.cs (3)
45hashCode ^= nav.LocalName.GetHashCode(); 46hashCode ^= nav.Prefix.GetHashCode(); 47hashCode ^= nav.NamespaceURI.GetHashCode();
System\Xml\Xsl\QIL\QilName.cs (1)
88return _local.GetHashCode();
System\Xml\Xsl\Runtime\EarlyBoundInfo.cs (1)
67return _namespaceUri.GetHashCode();
System\Xml\Xsl\Runtime\WhitespaceRuleLookup.cs (1)
148_hashCode = localName.GetHashCode();
System\Xml\Xsl\Runtime\XmlExtensionFunction.cs (2)
117_hashCode = namespaceUri.GetHashCode() ^ name.GetHashCode() ^ ((int)flags << 16) ^ (int)numArgs;
System.Private.Xml.Linq (13)
System\Xml\Linq\XAttribute.cs (1)
687return name.GetHashCode() ^ value.GetHashCode();
System\Xml\Linq\XComment.cs (1)
130return value.GetHashCode();
System\Xml\Linq\XContainer.cs (2)
712if (s != null) return s.GetHashCode(); 723h ^= text.GetHashCode();
System\Xml\Linq\XDocumentType.cs (4)
183return _name.GetHashCode() ^ 184(_publicId != null ? _publicId.GetHashCode() : 0) ^ 185(_systemId != null ? _systemId.GetHashCode() : 0) ^ 186(_internalSubset != null ? _internalSubset.GetHashCode() : 0);
System\Xml\Linq\XName.cs (1)
26_hashCode = ns.GetHashCode() ^ localName.GetHashCode();
System\Xml\Linq\XNamespace.cs (1)
37_hashCode = namespaceName.GetHashCode();
System\Xml\Linq\XProcessingInstruction.cs (2)
156return target.GetHashCode() ^ data.GetHashCode();
System\Xml\Linq\XText.cs (1)
135return text.GetHashCode();
System.Reflection.Context (2)
System\Reflection\Context\Virtual\VirtualMethodBase.cs (1)
129return Name.GetHashCode() ^
System\Reflection\Context\Virtual\VirtualPropertyBase.cs (1)
189return _name.GetHashCode() ^
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\General\RoAssemblyName.cs (1)
70public sealed override int GetHashCode() => Name.GetHashCode();
System\Reflection\TypeLoading\Types\RoFunctionPointerType.cs (1)
106return ToString().GetHashCode();
System.Runtime.Caching (1)
System\Runtime\Caching\MemoryCacheKey.cs (1)
21_hash = key.GetHashCode();
System.Security.Cryptography (11)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaAlgorithm.cs (1)
317public override int GetHashCode() => Name.GetHashCode();
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLKemAlgorithm.cs (1)
249public override int GetHashCode() => Name.GetHashCode();
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsaAlgorithm.cs (1)
136public override int GetHashCode() => Name.GetHashCode();
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKemAlgorithm.cs (1)
126public override int GetHashCode() => Name.GetHashCode();
src\runtime\src\libraries\Common\src\System\Security\Cryptography\SlhDsaAlgorithm.cs (1)
220public override int GetHashCode() => Name.GetHashCode();
System\Security\Cryptography\CngAlgorithm.cs (1)
75return _algorithm.GetHashCode();
System\Security\Cryptography\CngAlgorithmGroup.cs (1)
76return _algorithmGroup.GetHashCode();
System\Security\Cryptography\CngKeyBlobFormat.cs (1)
76return _format.GetHashCode();
System\Security\Cryptography\CngProperty.cs (1)
94int hashCode = Name.GetHashCode() ^ Options.GetHashCode();
System\Security\Cryptography\CngProvider.cs (1)
73return _provider.GetHashCode();
System\Security\Cryptography\HashAlgorithmName.cs (1)
111return _name == null ? 0 : _name.GetHashCode();
System.Security.Cryptography.Cose (1)
src\runtime\src\libraries\Common\src\System\HashCodeRandomization.cs (1)
22return value.GetHashCode();
System.Security.Permissions (2)
System\Security\Permissions\IDRole.cs (2)
52(ID == null ? 0 : ID.GetHashCode()) + 53(Role == null ? 0 : Role.GetHashCode()));
System.ServiceModel.Http (1)
System\ServiceModel\Channels\WebSocketTransportSettings.cs (1)
161hashcode ^= SubProtocol.ToLowerInvariant().GetHashCode();
System.ServiceModel.Primitives (6)
System\IdentityModel\Claims\ClaimComparer.cs (2)
183return claim.ClaimType.GetHashCode() ^ claim.Right.GetHashCode()
System\ServiceModel\Channels\AddressHeader.cs (1)
114return GetComparableForm().GetHashCode();
System\ServiceModel\Description\MetadataConversionError.cs (1)
34return Message.GetHashCode();
System\ServiceModel\Description\ServiceReflector.cs (1)
347return EncodedName.GetHashCode();
System\ServiceModel\Dispatcher\OperationFormatter.cs (1)
972return obj.Name.GetHashCode();
System.Speech (6)
Internal\GrammarBuilding\GrammarBuilderDictation.cs (1)
37return _category == null ? 0 : _category.GetHashCode();
Internal\GrammarBuilding\GrammarBuilderPhrase.cs (1)
68return _phrase.GetHashCode();
Internal\GrammarBuilding\GrammarBuilderRuleRef.cs (1)
37return _uri.GetHashCode();
Internal\ObjectToken\ObjectToken.cs (1)
102return Id.GetHashCode();
Synthesis\InstalledVoice.cs (1)
61return VoiceInfo.Name?.GetHashCode() ?? 0;
Synthesis\VoiceInfo.cs (1)
141return _name?.GetHashCode() ?? 0;
System.Text.Json (1)
System\Text\Json\JsonEncodedText.cs (1)
190=> _value?.GetHashCode() ?? 0;
System.Text.Json.SourceGeneration (1)
src\runtime\src\libraries\Common\src\SourceGenerators\TypeRef.cs (1)
40public override int GetHashCode() => FullyQualifiedName.GetHashCode();
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Regex.Cache.cs (1)
327_pattern.GetHashCode() ^ (int)_options;
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\MetadataName.T.cs (1)
39return _name.GetHashCode();
System.Windows.Forms (1)
System\Windows\Forms\ComponentModel\COM2Interop\Com2TypeInfoProcessor.PropInfo.cs (1)
36public override int GetHashCode() => Name?.GetHashCode() ?? base.GetHashCode();
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\MaskDescriptor.cs (1)
147return hash.GetHashCode();
System.Xaml (7)
System\Xaml\AttachableMemberIdentifier.cs (1)
68int b = memberName is null ? 0 : memberName.GetHashCode();
System\Xaml\Schema\XamlDirective.cs (2)
65int result = (Name is null) ? 0 : Name.GetHashCode(); 70result ^= ns[i].GetHashCode();
System\Xaml\Schema\XamlValueConverter.cs (1)
118int result = Name.GetHashCode();
System\Xaml\XamlMember.cs (1)
1046return (Name is null ? 0 : Name.GetHashCode()) ^ (int)_memberType ^ DeclaringType.GetHashCode();
System\Xaml\XamlType.cs (2)
1844int result = _name.GetHashCode(); 1847result ^= _namespaces[0].GetHashCode();
UIAutomationTypes (1)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsCLR.cs (1)
89return this.ToString().GetHashCode();