1285 overrides of GetHashCode
aspire (1)
Commands\DescribeCommand.cs (1)
416public override int GetHashCode() =>
Aspire.Dashboard (80)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\DashboardService.cs (34)
364public override int GetHashCode() { 558public override int GetHashCode() { 1008public override int GetHashCode() { 1511public override int GetHashCode() { 1896public override int GetHashCode() { 2200public override int GetHashCode() { 2502public override int GetHashCode() { 2778public override int GetHashCode() { 3109public override int GetHashCode() { 3428public override int GetHashCode() { 3706public override int GetHashCode() { 4061public override int GetHashCode() { 4380public override int GetHashCode() { 4739public override int GetHashCode() { 5426public override int GetHashCode() { 6033public override int GetHashCode() { 6248public override int GetHashCode() { 6512public override int GetHashCode() { 6762public override int GetHashCode() { 6973public override int GetHashCode() { 7224public override int GetHashCode() { 7523public override int GetHashCode() { 7791public override int GetHashCode() { 8015public override int GetHashCode() { 8352public override int GetHashCode() { 8969public override int GetHashCode() { 9501public override int GetHashCode() { 9710public override int GetHashCode() { 9993public override int GetHashCode() { 10280public override int GetHashCode() { 10480public override int GetHashCode() { 10907public override int GetHashCode() { 11527public override int GetHashCode() { 11797public override int GetHashCode() {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\collector\logs\v1\LogsService.cs (3)
140public override int GetHashCode() { 345public override int GetHashCode() { 581public override int GetHashCode() {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\collector\metrics\v1\MetricsService.cs (3)
142public override int GetHashCode() { 347public override int GetHashCode() { 583public override int GetHashCode() {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\collector\trace\v1\TraceService.cs (3)
141public override int GetHashCode() { 346public override int GetHashCode() { 582public override int GetHashCode() {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\common\v1\Common.cs (6)
344public override int GetHashCode() { 716public override int GetHashCode() { 918public override int GetHashCode() { 1130public override int GetHashCode() { 1424public override int GetHashCode() { 1755public override int GetHashCode() {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\logs\v1\Logs.cs (4)
233public override int GetHashCode() { 466public override int GetHashCode() { 755public override int GetHashCode() { 1228public override int GetHashCode() {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (16)
354public override int GetHashCode() { 587public override int GetHashCode() { 876public override int GetHashCode() { 1374public override int GetHashCode() { 1829public override int GetHashCode() { 2059public override int GetHashCode() { 2318public override int GetHashCode() { 2554public override int GetHashCode() { 2779public override int GetHashCode() { 3138public override int GetHashCode() { 3731public override int GetHashCode() { 4446public override int GetHashCode() { 4977public override int GetHashCode() { 5323public override int GetHashCode() { 5675public override int GetHashCode() { 6054public override int GetHashCode() {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\resource\v1\Resource.cs (1)
171public override int GetHashCode() {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\trace\v1\Trace.cs (7)
222public override int GetHashCode() { 455public override int GetHashCode() { 744public override int GetHashCode() { 1318public override int GetHashCode() { 1944public override int GetHashCode() { 2315public override int GetHashCode() { 2647public override int GetHashCode() {
Model\SelectViewModel.cs (1)
41public override int GetHashCode()
Otlp\Model\MetricValues\HistogramValue.cs (1)
67public override int GetHashCode()
Otlp\Model\MetricValues\MetricValue.cs (1)
50public override int GetHashCode()
Aspire.Hosting (36)
artifacts\obj\Aspire.Hosting\Debug\net8.0\Dashboard\proto\DashboardService.cs (34)
364public override int GetHashCode() { 558public override int GetHashCode() { 1008public override int GetHashCode() { 1511public override int GetHashCode() { 1896public override int GetHashCode() { 2200public override int GetHashCode() { 2502public override int GetHashCode() { 2778public override int GetHashCode() { 3109public override int GetHashCode() { 3428public override int GetHashCode() { 3706public override int GetHashCode() { 4061public override int GetHashCode() { 4380public override int GetHashCode() { 4739public override int GetHashCode() { 5426public override int GetHashCode() { 6033public override int GetHashCode() { 6248public override int GetHashCode() { 6512public override int GetHashCode() { 6762public override int GetHashCode() { 6973public override int GetHashCode() { 7224public override int GetHashCode() { 7523public override int GetHashCode() { 7791public override int GetHashCode() { 8015public override int GetHashCode() { 8352public override int GetHashCode() { 8969public override int GetHashCode() { 9501public override int GetHashCode() { 9710public override int GetHashCode() { 9993public override int GetHashCode() { 10280public override int GetHashCode() { 10480public override int GetHashCode() { 10907public override int GetHashCode() { 11527public override int GetHashCode() { 11797public override int GetHashCode() {
Dcp\Model\ModelCommon.cs (1)
221public override int GetHashCode()
Publishing\PublisherAdvertisementEvent.cs (1)
30public override int GetHashCode()
Aspire.Hosting.Azure (1)
AzureBicepResource.cs (1)
636public override int GetHashCode() =>
BasketService (9)
artifacts\obj\BasketService\Debug\net8.0\Protos\Basket.cs (9)
146public override int GetHashCode() { 357public override int GetHashCode() { 581public override int GetHashCode() { 848public override int GetHashCode() { 1156public override int GetHashCode() { 1340public override int GetHashCode() { 1515public override int GetHashCode() { 1699public override int GetHashCode() { 1899public override int GetHashCode() {
ConfigurationSchemaGenerator (2)
RuntimeSource\SourceGenerators\ImmutableEquatableArray.cs (1)
33public override int GetHashCode()
RuntimeSource\SourceGenerators\TypeRef.cs (1)
40public override int GetHashCode() => FullyQualifiedName.GetHashCode();
CSharpSyntaxGenerator (1)
Model\Kind.cs (1)
24public override int GetHashCode()
dotnet (2)
Commands\Workload\WorkloadHistoryRecord.cs (1)
73public override int GetHashCode()
ToolPackage\RestoredCommandIdentifier.cs (1)
47public override int GetHashCode()
dotnet-aot (1)
src\sdk\src\Cli\dotnet\ToolPackage\RestoredCommandIdentifier.cs (1)
47public override int GetHashCode()
dotnet-svcutil-lib (36)
FrameworkFork\Microsoft.CodeDom\Compiler\CompilerInfo.cs (1)
130public override int GetHashCode()
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathNodeInfoAtom.cs (1)
254public override int GetHashCode()
FrameworkFork\Microsoft.Xml\Xml\schema\BitSet.cs (1)
150public override int GetHashCode()
FrameworkFork\Microsoft.Xml\Xml\schema\ChameleonKey.cs (1)
47public override int GetHashCode()
FrameworkFork\Microsoft.Xml\Xml\schema\ConstraintStruct.cs (1)
447public override int GetHashCode()
FrameworkFork\Microsoft.Xml\Xml\Serialization\Compilation.cs (1)
283public override int GetHashCode()
FrameworkFork\Microsoft.Xml\Xml\Serialization\NameTable.cs (1)
30public override int GetHashCode()
FrameworkFork\Microsoft.Xml\Xml\Serialization\SourceInfo.cs (1)
265public override int GetHashCode()
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializer.cs (1)
949public override int GetHashCode()
FrameworkFork\Microsoft.Xml\Xml\XmlQualifiedName.cs (1)
81public override int GetHashCode()
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (2)
2206public override int GetHashCode() 2543public override int GetHashCode()
FrameworkFork\System.Runtime.Serialization\System\Xml\PrefixHandle.cs (1)
248public override int GetHashCode()
FrameworkFork\System.Runtime.Serialization\System\Xml\StringHandle.cs (1)
284public override int GetHashCode()
FrameworkFork\System.Runtime.Serialization\System\Xml\UniqueId.cs (1)
420public override int GetHashCode()
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\Claim.cs (1)
192public override int GetHashCode()
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AddressHeader.cs (1)
99public override int GetHashCode()
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\DirectionalAction.cs (1)
70public override int GetHashCode()
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FramingEncoders.cs (1)
77public override int GetHashCode()
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageVersion.cs (1)
124public override int GetHashCode()
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\RequestReplyCorrelator.cs (1)
242public override int GetHashCode()
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportSettings.cs (1)
155public override int GetHashCode()
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DispatcherBuilder.cs (1)
92public override int GetHashCode()
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataConversionError.cs (1)
31public override int GetHashCode()
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (2)
737public override int GetHashCode() 1077public override int GetHashCode()
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (1)
312public override int GetHashCode()
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (2)
1245public override int GetHashCode() 1270public override int GetHashCode()
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointAddress.cs (1)
482public override int GetHashCode()
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointIdentity.cs (1)
91public override int GetHashCode()
Metadata\MetadataDocumentLoader.cs (1)
697public override int GetHashCode()
Metadata\MetadataDocumentSaver.cs (1)
409public override int GetHashCode()
Metadata\MetadataFileInfo.cs (1)
48public override int GetHashCode()
Shared\ProjectDependency.cs (1)
383public override int GetHashCode()
Shared\Utilities\LogTag.cs (1)
80public override int GetHashCode()
GenerateDocumentationAndConfigFiles (12)
src\roslyn\src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
63public override int GetHashCode() =>
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
345public override int GetHashCode()
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
258public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (1)
240public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
503public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
390public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
203public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
91public override int GetHashCode() => Definition.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
77public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
79public override int GetHashCode() => Definition.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SyntaxPath.cs (1)
175public override int GetHashCode()
ILCompiler.Compiler (7)
Compiler\Compilation.cs (1)
725public override int GetHashCode() => HashCode.Combine(ConstrainedType, Method);
Compiler\Dataflow\ValueNode.cs (1)
29public override int GetHashCode()
Compiler\DelegateCreationInfo.cs (1)
330public override int GetHashCode()
Compiler\DependencyAnalysis\GenericLookupResult.cs (1)
91public sealed override int GetHashCode()
src\runtime\src\coreclr\tools\Common\Compiler\EventPseudoDesc.cs (1)
92public override int GetHashCode() => _type.GetHashCode() ^ _handle.GetHashCode();
src\runtime\src\coreclr\tools\Common\Compiler\PropertyPseudoDesc.cs (1)
87public override int GetHashCode() => _type.GetHashCode() ^ _handle.GetHashCode();
src\runtime\src\tools\illink\src\ILLink.Shared\DataFlow\ValueSet.cs (1)
37public override int GetHashCode()
ILCompiler.DependencyAnalysisFramework (2)
DependencyNode.cs (1)
41public sealed override int GetHashCode()
FullGraphLogStrategy.cs (1)
46public override int GetHashCode()
ILCompiler.Diagnostics (1)
PdbWriter.cs (1)
44public override int GetHashCode()
ILCompiler.MetadataTransform (80)
Internal\Metadata\NativeFormat\Writer\NativeFormatWriterGen.cs (63)
48public override sealed int GetHashCode() 132public override sealed int GetHashCode() 200public override sealed int GetHashCode() 266public override sealed int GetHashCode() 329public override sealed int GetHashCode() 395public override sealed int GetHashCode() 458public override sealed int GetHashCode() 524public override sealed int GetHashCode() 587public override sealed int GetHashCode() 653public override sealed int GetHashCode() 719public override sealed int GetHashCode() 788public override sealed int GetHashCode() 855public override sealed int GetHashCode() 917public override sealed int GetHashCode() 983public override sealed int GetHashCode() 1046public override sealed int GetHashCode() 1112public override sealed int GetHashCode() 1175public override sealed int GetHashCode() 1241public override sealed int GetHashCode() 1303public override sealed int GetHashCode() 1363public override sealed int GetHashCode() 1429public override sealed int GetHashCode() 1492public override sealed int GetHashCode() 1558public override sealed int GetHashCode() 1622public override sealed int GetHashCode() 1687public override sealed int GetHashCode() 1756public override sealed int GetHashCode() 1822public override sealed int GetHashCode() 1885public override sealed int GetHashCode() 1951public override sealed int GetHashCode() 2014public override sealed int GetHashCode() 2080public override sealed int GetHashCode() 2165public override sealed int GetHashCode() 2285public override sealed int GetHashCode() 2379public override sealed int GetHashCode() 2495public override sealed int GetHashCode() 2564public override sealed int GetHashCode() 2635public override sealed int GetHashCode() 2725public override sealed int GetHashCode() 2812public override sealed int GetHashCode() 2901public override sealed int GetHashCode() 2976public override sealed int GetHashCode() 3049public override sealed int GetHashCode() 3145public override sealed int GetHashCode() 3212public override sealed int GetHashCode() 3296public override sealed int GetHashCode() 3412public override sealed int GetHashCode() 3490public override sealed int GetHashCode() 3566public override sealed int GetHashCode() 3675public override sealed int GetHashCode() 3753public override sealed int GetHashCode() 3875public override sealed int GetHashCode() 3960public override sealed int GetHashCode() 4029public override sealed int GetHashCode() 4096public override sealed int GetHashCode() 4182public override sealed int GetHashCode() 4300public override sealed int GetHashCode() 4401public override sealed int GetHashCode() 4507public override sealed int GetHashCode() 4578public override sealed int GetHashCode() 4655public override sealed int GetHashCode() 4725public override sealed int GetHashCode() 4799public override sealed int GetHashCode()
src\runtime\src\coreclr\tools\Common\Internal\NativeFormat\NativeFormatWriter.cs (17)
550public override int GetHashCode() 585public override int GetHashCode() 741public override int GetHashCode() 773public override int GetHashCode() 811public override int GetHashCode() 851public override int GetHashCode() 885public override int GetHashCode() 942public override int GetHashCode() 1006public override int GetHashCode() 1049public override int GetHashCode() 1092public override int GetHashCode() 1149public override int GetHashCode() 1202public override int GetHashCode() 1236public override int GetHashCode() 1275public override int GetHashCode() 1338public override int GetHashCode() 1399public override int GetHashCode()
ILCompiler.ReadyToRun (23)
Compiler\DependencyAnalysis\ReadyToRun\SignatureContext.cs (1)
95public override int GetHashCode()
JitInterface\CorInfoImpl.ReadyToRun.cs (2)
94public override int GetHashCode() 337public override int GetHashCode()
src\runtime\src\coreclr\tools\Common\CallingConvention\ArgIterator.cs (1)
225public override int GetHashCode()
src\runtime\src\coreclr\tools\Common\Compiler\EventPseudoDesc.cs (1)
92public override int GetHashCode() => _type.GetHashCode() ^ _handle.GetHashCode();
src\runtime\src\coreclr\tools\Common\Compiler\PropertyPseudoDesc.cs (1)
87public override int GetHashCode() => _type.GetHashCode() ^ _handle.GetHashCode();
src\runtime\src\coreclr\tools\Common\Internal\NativeFormat\NativeFormatWriter.cs (17)
550public override int GetHashCode() 585public override int GetHashCode() 741public override int GetHashCode() 773public override int GetHashCode() 811public override int GetHashCode() 851public override int GetHashCode() 885public override int GetHashCode() 942public override int GetHashCode() 1006public override int GetHashCode() 1049public override int GetHashCode() 1092public override int GetHashCode() 1149public override int GetHashCode() 1202public override int GetHashCode() 1236public override int GetHashCode() 1275public override int GetHashCode() 1338public override int GetHashCode() 1399public override int GetHashCode()
ILCompiler.TypeSystem (6)
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\FieldDesc.cs (1)
21public override int GetHashCode()
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\MethodDesc.cs (2)
329public override int GetHashCode() 480public sealed override int GetHashCode()
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\TypeDesc.cs (1)
24public abstract override int GetHashCode();
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\TypeDesc.TypeEquivalence.cs (1)
31public override int GetHashCode()
src\runtime\src\coreclr\tools\Common\TypeSystem\Interop\MarshalAsDescriptor.cs (1)
106public override int GetHashCode()
illink (2)
ILLink.RoslynAnalyzer (1)
src\runtime\src\tools\illink\src\ILLink.Shared\DataFlow\ValueSet.cs (1)
37public override int GetHashCode()
Microsoft.AspNetCore.Antiforgery (1)
Internal\BinaryBlob.cs (1)
71public override int GetHashCode()
Microsoft.AspNetCore.Components.AI.SourceGenerators (6)
ToolBlockCandidate.cs (6)
66public override int GetHashCode() 110public override int GetHashCode() 147public override int GetHashCode() 191public override int GetHashCode() 226public override int GetHashCode() 264public override int GetHashCode() => Hash.Combine(FilePath.GetHashCode(), TextSpan.GetHashCode());
Microsoft.AspNetCore.Components.Endpoints (2)
Discovery\ComponentBuilder.cs (1)
41public override int GetHashCode()
Discovery\PageComponentBuilder.cs (1)
69public override int GetHashCode()
Microsoft.AspNetCore.Components.QuickGrid (1)
Pagination\PaginationState.cs (1)
44public override int GetHashCode()
Microsoft.AspNetCore.Components.Testing.Generators (1)
ServiceOverrideCallsite.cs (1)
43public override int GetHashCode()
Microsoft.AspNetCore.Connections.Abstractions (1)
NamedPipeEndPoint.cs (1)
61public override int GetHashCode()
Microsoft.AspNetCore.Http (1)
BindingAddress.cs (1)
128public override int GetHashCode()
Microsoft.AspNetCore.Http.Extensions (2)
QueryBuilder.cs (1)
97public override int GetHashCode()
src\aspnetcore\src\Shared\ParameterBindingMethodCache.cs (1)
718public override int GetHashCode()
Microsoft.AspNetCore.Http.RequestDelegateGenerator (4)
StaticRouteHandlerModel\Endpoint.cs (1)
113public override int GetHashCode() =>
StaticRouteHandlerModel\EndpointParameter.cs (1)
605public override int GetHashCode()
StaticRouteHandlerModel\EndpointResponse.cs (1)
114public override int GetHashCode() =>
StaticRouteHandlerModel\Model\ParameterLookupKey.cs (1)
21public override int GetHashCode()
Microsoft.AspNetCore.Identity (1)
Passkeys\BufferSource.cs (1)
85public override int GetHashCode()
Microsoft.AspNetCore.Mvc.Abstractions (3)
ModelBinding\BindingSource.cs (1)
218public override int GetHashCode()
ModelBinding\ModelMetadata.cs (1)
736public override int GetHashCode()
src\aspnetcore\src\Shared\ParameterBindingMethodCache.cs (1)
718public override int GetHashCode()
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Cache\CacheTagKey.cs (1)
231public override int GetHashCode()
Microsoft.AspNetCore.OpenApi (1)
src\aspnetcore\src\Shared\ParameterBindingMethodCache.cs (1)
718public override int GetHashCode()
Microsoft.AspNetCore.RateLimiting (1)
PolicyNameKey.cs (1)
19public override int GetHashCode()
Microsoft.AspNetCore.Razor (1)
TagHelpers\TagHelperAttribute.cs (1)
215public override int GetHashCode()
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
Utilities\Hashing\NonCryptographicHashAlgorithm.cs (1)
344public override int GetHashCode()
Microsoft.AspNetCore.Server.HttpSys (1)
UrlPrefix.cs (1)
198public override int GetHashCode()
Microsoft.AspNetCore.Server.IIS (1)
Core\WrappingStream.cs (1)
113public override int GetHashCode()
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\ConfigSectionClone.cs (1)
54public override int GetHashCode() => HashCode.Combine(Value, Children.Count);
Internal\ConfigurationReader.cs (3)
312public override int GetHashCode() => HashCode.Combine(Name, Url, 352public override int GetHashCode() => HashCode.Combine( 432public override int GetHashCode() => HashCode.Combine(Path, KeyPath, Password, FileHasChanged, Subject, Store, Location, AllowInvalid ?? false);
Internal\Infrastructure\WrappingStream.cs (1)
112public override int GetHashCode()
Microsoft.AspNetCore.Session (1)
EncodedKey.cs (1)
66public override int GetHashCode()
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnectionBuilder.cs (1)
61public override int GetHashCode()
Microsoft.AspNetCore.SignalR.Core (1)
Internal\HubGroupList.cs (1)
87public override int GetHashCode()
Microsoft.Build (13)
BackEnd\Components\BuildRequestEngine\FullyQualifiedBuildRequest.cs (1)
101public override int GetHashCode()
BackEnd\Components\Scheduler\SchedulableRequest.cs (1)
712public override int GetHashCode()
BackEnd\Components\SdkResolution\SdkResult.cs (1)
171public override int GetHashCode()
BackEnd\Shared\BuildRequestConfiguration.cs (1)
937public override int GetHashCode()
BackEnd\Shared\ConfigurationMetadata.cs (1)
101public override int GetHashCode()
BuildCheck\Checks\NoEnvironmentVariablePropertyCheck.cs (1)
117public override int GetHashCode()
BuildCheck\Infrastructure\CustomConfigurationData.cs (1)
94public override int GetHashCode()
ElementLocation\ElementLocation.cs (1)
91public override int GetHashCode()
Instance\ProjectItemInstance.cs (1)
1707public override int GetHashCode()
Logging\ParallelLogger\ParallelLoggerHelpers.cs (2)
581public override int GetHashCode() 676public override int GetHashCode()
Logging\TerminalLogger\TerminalNodeStatus.cs (1)
85public override int GetHashCode()
src\697a1c9088572269\SegmentedHashSetEqualityComparer`1.cs (1)
88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
Microsoft.Build.Framework (5)
BuildEventContext.cs (1)
216public override int GetHashCode()
Sdk\SdkReference.cs (1)
132public override int GetHashCode()
Sdk\SdkResultItem.cs (1)
50public override int GetHashCode()
Telemetry\TaskExecutionStats.cs (1)
88public override int GetHashCode()
Utilities\AssemblyLoadInfo.cs (1)
80public override int GetHashCode()
Microsoft.Build.Tasks.Core (5)
AssemblyRemapping.cs (1)
51public override int GetHashCode()
GetSDKReferenceFiles.cs (2)
773public override int GetHashCode() 852public override int GetHashCode()
ResolveSDKReference.cs (1)
955public override int GetHashCode()
RoslynCodeTaskFactory\RoslynCodeTaskFactoryTaskInfo.cs (1)
71public override int GetHashCode()
Microsoft.Build.Utilities.Core (1)
TargetPlatformSDK.cs (1)
146public override int GetHashCode()
Microsoft.CodeAnalysis (48)
CodeGen\ArrayMembers.cs (1)
372public sealed override int GetHashCode()
CodeGen\PrivateImplementationDetails.cs (2)
856public sealed override int GetHashCode() 1072public sealed override int GetHashCode()
Collections\Rope.cs (1)
132public override int GetHashCode()
Compilation\CompilationOptions.cs (1)
656public sealed override int GetHashCode()
Compilation\ParseOptions.cs (1)
156public abstract override int GetHashCode();
Compilation\SourceReferenceResolver.cs (1)
22public abstract override int GetHashCode();
Compilation\XmlReferenceResolver.cs (1)
20public abstract override int GetHashCode();
ConstantValue.cs (1)
899public override int GetHashCode()
Diagnostic\Diagnostic.cs (1)
427public abstract override int GetHashCode();
Diagnostic\DiagnosticDescriptor.cs (1)
219public override int GetHashCode()
Diagnostic\DiagnosticInfo.cs (1)
396public sealed override int GetHashCode()
Diagnostic\LocalizableString.cs (1)
57public sealed override int GetHashCode()
Diagnostic\Location.cs (1)
93public abstract override int GetHashCode();
Diagnostic\ProgrammaticSuppressionInfo.cs (1)
39public override int GetHashCode()
Diagnostic\SuppressionDescriptor.cs (1)
92public override int GetHashCode()
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
106public override int GetHashCode()
DiagnosticAnalyzer\AnalyzerOptions.cs (1)
84public override int GetHashCode()
DiagnosticAnalyzer\DiagnosticAnalyzer.cs (1)
31public sealed override int GetHashCode() => base.GetHashCode();
DocumentationComments\DocumentationProvider.cs (1)
51public abstract override int GetHashCode();
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (1)
185public sealed override int GetHashCode()
Emit\EditAndContinue\DeletedSourceEventDefinition.cs (1)
63public sealed override int GetHashCode()
Emit\EditAndContinue\DeletedSourceMethodDefinition.cs (1)
146public sealed override int GetHashCode()
Emit\EditAndContinue\DeletedSourcePropertyDefinition.cs (1)
87public sealed override int GetHashCode()
Emit\EmitOptions.cs (1)
305public override int GetHashCode()
Emit\ErrorType.cs (1)
200public sealed override int GetHashCode()
Emit\NoPia\CommonEmbeddedMember.cs (1)
128public sealed override int GetHashCode()
Emit\NoPia\CommonEmbeddedParameter.cs (1)
280public sealed override int GetHashCode()
Emit\NoPia\CommonEmbeddedType.cs (1)
732public sealed override int GetHashCode()
Emit\NoPia\CommonEmbeddedTypeParameter.cs (1)
246public sealed override int GetHashCode()
Emit\NoPia\VtblGap.cs (1)
266public sealed override int GetHashCode()
FileSystem\RelativePathResolver.cs (1)
63public override int GetHashCode() =>
Hashing\NonCryptographicHashAlgorithm.cs (1)
345public override int GetHashCode()
MetadataReference\AssemblyIdentity.cs (1)
409public override int GetHashCode()
MetadataReference\CompilationReference.cs (1)
138public override int GetHashCode()
MetadataReference\MetadataReferenceResolver.cs (1)
16public abstract override int GetHashCode();
PEWriter\InheritedTypeParameter.cs (1)
312public sealed override int GetHashCode()
PEWriter\MethodDefinitionBase.cs (1)
179public sealed override int GetHashCode()
PEWriter\ModifiedTypeReference.cs (1)
158public sealed override int GetHashCode()
PEWriter\ParameterDefinitionBase.cs (1)
43public sealed override int GetHashCode()
PEWriter\RootModuleType.cs (1)
337public sealed override int GetHashCode()
ReferenceManager\AssemblyData.cs (1)
79public sealed override int GetHashCode()
SourceGeneration\GlobalAliases.cs (1)
62public override int GetHashCode()
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
StrongName\StrongNameFileSystem.cs (1)
45public override int GetHashCode()
StrongName\StrongNameProvider.cs (1)
20public abstract override int GetHashCode();
SymbolDisplay\FormattedSymbol.cs (1)
46public override int GetHashCode()
Syntax\SyntaxAnnotation.cs (1)
63public override int GetHashCode()
Microsoft.CodeAnalysis.Analyzers (13)
src\roslyn\src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
63public override int GetHashCode() =>
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
345public override int GetHashCode()
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\roslyn\src\Dependencies\Contracts\EqualityComparerExtensions.cs (1)
58public override int GetHashCode()
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
258public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (1)
240public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
503public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
390public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
203public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
91public override int GetHashCode() => Definition.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
77public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
79public override int GetHashCode() => Definition.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SyntaxPath.cs (1)
175public override int GetHashCode()
Microsoft.CodeAnalysis.AnalyzerUtilities (22)
src\roslyn\src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
63public override int GetHashCode() =>
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
345public override int GetHashCode()
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\roslyn\src\Dependencies\Contracts\EqualityComparerExtensions.cs (1)
58public override int GetHashCode()
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
258public override int GetHashCode()
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\ConstructorMapper.cs (1)
101public override int GetHashCode()
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\HazardousUsageEvaluator.cs (1)
119public override int GetHashCode()
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertyMapper.cs (1)
120public override int GetHashCode()
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SanitizerInfo.cs (1)
85public override int GetHashCode()
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SinkInfo.cs (1)
73public override int GetHashCode()
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SourceInfo.cs (1)
193public override int GetHashCode()
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\TaintedDataSymbolMap.cs (1)
168public override int GetHashCode()
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\CacheBasedEquatable.cs (1)
42public sealed override int GetHashCode() => GetOrComputeHashCode();
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\ThrownExceptionInfo.cs (1)
108public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (1)
240public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
503public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
390public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
203public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
91public override int GetHashCode() => Definition.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
77public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
79public override int GetHashCode() => Definition.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SyntaxPath.cs (1)
175public override int GetHashCode()
Microsoft.CodeAnalysis.CodeStyle (12)
src\roslyn\src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
63public override int GetHashCode() =>
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
345public override int GetHashCode()
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\roslyn\src\Dependencies\Contracts\EqualityComparerExtensions.cs (1)
58public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (1)
240public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
503public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
390public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
203public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
91public override int GetHashCode() => Definition.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
77public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
79public override int GetHashCode() => Definition.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SyntaxPath.cs (1)
175public override int GetHashCode()
Microsoft.CodeAnalysis.CSharp (28)
Binder\DecisionDagBuilder.cs (4)
3511public override int GetHashCode() => this.Test.GetHashCode(); 4180public override int GetHashCode() => Hash.Combine(Input.GetHashCode(), Values.GetHashCode()); 4236public override int GetHashCode() => Hash.Combine(Negated.GetHashCode(), typeof(Not).GetHashCode()); 4688public sealed override int GetHashCode()
BoundTree\BoundDagTemp.cs (1)
47public override int GetHashCode()
BoundTree\BoundDagTest.cs (1)
46public override int GetHashCode()
BoundTree\BoundDecisionDagNode.cs (1)
38public override int GetHashCode()
BoundTree\UnboundLambda.cs (1)
1133public override int GetHashCode()
Emitter\Model\ExpandedVarargsMethodReference.cs (1)
231public sealed override int GetHashCode()
Emitter\Model\FunctionPointerTypeSymbolAdapter.cs (1)
90public override int GetHashCode() => throw ExceptionUtilities.Unreachable();
Emitter\Model\NamedTypeReference.cs (1)
175public sealed override int GetHashCode()
Emitter\Model\ParameterTypeInformation.cs (2)
75public sealed override int GetHashCode() 126public sealed override int GetHashCode()
Emitter\Model\SymbolAdapter.cs (1)
192public sealed override int GetHashCode()
Emitter\Model\TypeMemberReference.cs (1)
60public sealed override int GetHashCode()
Symbols\CustomModifier.cs (1)
44public abstract override int GetHashCode();
Symbols\PublicModel\PreprocessingSymbol.cs (1)
27public sealed override int GetHashCode()
Symbols\PublicModel\Symbol.cs (1)
80public sealed override int GetHashCode()
Symbols\Source\ExtensionGroupingInfo.cs (1)
675public sealed override int GetHashCode()
Symbols\Symbol.cs (1)
838public override int GetHashCode()
Symbols\SymbolDistinguisher.cs (1)
228public override int GetHashCode()
Utilities\InterceptableLocation.cs (1)
42public abstract override int GetHashCode();
Utilities\ValueSetFactory.BoolValueSet.cs (1)
100public override int GetHashCode() => System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(this);
Utilities\ValueSetFactory.EnumeratedValueSet.cs (1)
173public override int GetHashCode() => Hash.Combine(this._included.GetHashCode(), this._membersIncludedOrExcluded.GetHashCode());
Utilities\ValueSetFactory.FloatingValueSet.cs (1)
157public override int GetHashCode() => this._numbers.GetHashCode();
Utilities\ValueSetFactory.NintValueSet.cs (1)
127public override int GetHashCode() =>
Utilities\ValueSetFactory.NuintValueSet.cs (1)
110public override int GetHashCode() =>
Utilities\ValueSetFactory.NumericValueSet.cs (1)
324public override int GetHashCode()
Microsoft.CodeAnalysis.Extensions.Package (2)
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\roslyn\src\Dependencies\Contracts\EqualityComparerExtensions.cs (1)
58public override int GetHashCode()
Microsoft.CodeAnalysis.Features (6)
AddImport\References\Reference.cs (1)
74public override int GetHashCode()
EditAndContinue\DeclarationBody.cs (1)
94public override int GetHashCode()
FindUsages\DefinitionItem.DetachedDefinitionItem.cs (1)
62public override int GetHashCode()
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
469public override int GetHashCode()
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.cs (1)
46public abstract override int GetHashCode();
SignatureHelp\AbstractSignatureHelpProvider.SymbolKeySignatureHelpItem.cs (1)
36public override int GetHashCode()
Microsoft.CodeAnalysis.Features.ExternalAccess (1)
Copilot\Analyzer\CopilotChecksumWrapper.cs (1)
40public override int GetHashCode()
Microsoft.CodeAnalysis.NetAnalyzers (11)
Microsoft.NetCore.Analyzers\Security\Helpers\ObjectGraphOptions.cs (1)
124public override int GetHashCode()
src\11b41c7305441175\HazardousUsageEvaluator.cs (1)
118public override int GetHashCode()
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
256public override int GetHashCode()
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\ConstructorMapper.cs (1)
100public override int GetHashCode()
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertyMapper.cs (1)
119public override int GetHashCode()
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SanitizerInfo.cs (1)
84public override int GetHashCode()
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SinkInfo.cs (1)
72public override int GetHashCode()
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SourceInfo.cs (1)
192public override int GetHashCode()
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\TaintedDataSymbolMap.cs (1)
166public override int GetHashCode()
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\CacheBasedEquatable.cs (1)
41public sealed override int GetHashCode() => GetOrComputeHashCode();
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\ThrownExceptionInfo.cs (1)
106public override int GetHashCode()
Microsoft.CodeAnalysis.Razor.Compiler (15)
CSharp\DefaultUtf8WriteLiteralFeature.cs (1)
271public override int GetHashCode()
Language\DocumentationDescriptor.cs (1)
96public sealed override int GetHashCode()
Language\Legacy\ExpressionChunkGenerator.cs (1)
25public override int GetHashCode()
Language\Legacy\LocationTagged.cs (1)
48public override int GetHashCode()
Language\Legacy\SpanChunkGenerator.cs (1)
22public override int GetHashCode()
Language\Legacy\SpanEditHandler.cs (1)
151public override int GetHashCode()
Language\RazorConfiguration.cs (1)
51public override int GetHashCode()
Language\RazorDiagnostic.cs (1)
102public override int GetHashCode()
Language\RazorParserOptions.cs (1)
204public override int GetHashCode()
Language\SourceChange.cs (1)
127public override int GetHashCode()
Language\SourceMapping.cs (1)
41public override int GetHashCode()
Language\TagHelperCollection.cs (1)
153public override int GetHashCode()
Language\TagHelperObject`1.cs (1)
55public sealed override int GetHashCode()
SourceGenerators\RazorSourceGenerationOptions.cs (1)
35public override int GetHashCode() => Configuration.GetHashCode();
SourceGenerators\SourceGeneratorProjectItem.cs (1)
84public override int GetHashCode() => AdditionalText.GetHashCode();
Microsoft.CodeAnalysis.ResxSourceGenerator (13)
src\roslyn\src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
63public override int GetHashCode() =>
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
345public override int GetHashCode()
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\roslyn\src\Dependencies\Contracts\EqualityComparerExtensions.cs (1)
58public override int GetHashCode()
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
258public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (1)
240public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
503public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
390public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
203public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
91public override int GetHashCode() => Definition.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
77public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
79public override int GetHashCode() => Definition.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SyntaxPath.cs (1)
175public override int GetHashCode()
Microsoft.CodeAnalysis.Scripting (2)
src\roslyn\src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
63public override int GetHashCode() =>
src\roslyn\src\Compilers\Shared\GlobalAssemblyCacheHelpers\GacFileResolver.cs (1)
80public override int GetHashCode()
Microsoft.CodeAnalysis.VisualBasic (8)
BoundTree\UnboundLambda.vb (1)
178Public Overrides Function GetHashCode() As Integer
Emit\NamedTypeReference.vb (1)
130Public NotOverridable Overrides Function GetHashCode() As Integer
Emit\ParameterTypeInformation.vb (1)
56Public Overrides Function GetHashCode() As Integer
Emit\SymbolAdapter.vb (1)
163Public NotOverridable Overrides Function GetHashCode() As Integer
Emit\TypeMemberReference.vb (1)
49Public NotOverridable Overrides Function GetHashCode() As Integer
GlobalImport.vb (1)
167Public Overrides Function GetHashCode() As Integer
Symbols\CustomModifier.vb (1)
38Public MustOverride Overrides Function GetHashCode() As Integer
Symbols\Symbol.vb (1)
869Public Overrides Function GetHashCode() As Integer
Microsoft.CodeAnalysis.Workspaces (29)
CodeStyle\CodeStyleOption.cs (1)
73public override int GetHashCode()
Diagnostics\DiagnosticData.cs (1)
142public override int GetHashCode()
FindSymbols\IStreamingFindReferencesProgress.cs (1)
50public override int GetHashCode()
Options\Option.cs (1)
94public override int GetHashCode() => OptionDefinition.GetHashCode();
Options\PerLanguageOption.cs (1)
86public override int GetHashCode() => _optionDefinition.GetHashCode();
Remote\RemoteArguments.cs (2)
47public override int GetHashCode() 222public override int GetHashCode()
src\roslyn\src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
63public override int GetHashCode() =>
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
345public override int GetHashCode()
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (1)
240public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
503public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
390public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
203public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
91public override int GetHashCode() => Definition.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
77public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
79public override int GetHashCode() => Definition.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SyntaxPath.cs (1)
175public override int GetHashCode()
SymbolSearch\ISymbolSearchService.cs (1)
116public override int GetHashCode()
Workspace\IsolatedAnalyzerFileReference.cs (1)
107public override int GetHashCode()
Workspace\Solution\DocumentId.cs (1)
78public override int GetHashCode()
Workspace\Solution\ProjectCone.cs (1)
35public override int GetHashCode()
Workspace\Solution\ProjectId.cs (1)
88public override int GetHashCode()
Workspace\Solution\ProjectReference.cs (1)
62public override int GetHashCode()
Workspace\Solution\ProjectState.cs (1)
597public override int GetHashCode() => _lazyAnalyzerConfigSet.GetHashCode();
Workspace\Solution\SolutionId.cs (1)
74public override int GetHashCode()
Workspace\Solution\SourceGeneratorExecutionVersion.cs (1)
83public override int GetHashCode()
Workspace\Solution\StateChecksums.cs (1)
373public override int GetHashCode()
Workspace\Solution\TextDocumentStates.cs (1)
279public override int GetHashCode()
Microsoft.CSharp (3)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComBinder.cs (1)
324public override int GetHashCode()
Microsoft\CSharp\RuntimeBinder\ComInterop\DispCallable.cs (1)
45public override int GetHashCode()
Microsoft\CSharp\RuntimeBinder\Semantics\WithType.cs (1)
89public override int GetHashCode()
Microsoft.Deployment.DotNet.Releases (3)
Cve.cs (1)
78public override int GetHashCode() => Id.GetHashCode() ^ DescriptionLink.GetHashCode();
ReleaseFile.cs (1)
166public override int GetHashCode() =>
ReleaseVersion.cs (1)
288public override int GetHashCode()
Microsoft.Diagnostics.DataContractReader.Contracts (2)
Contracts\StackWalk\Context\ContextHolder.cs (1)
77public override int GetHashCode() => Context.GetHashCode();
src\runtime\src\coreclr\tools\Common\CallingConvention\ArgIterator.cs (1)
225public override int GetHashCode()
Microsoft.Diagnostics.NETCore.Client (4)
DiagnosticsClient\EventPipeProvider.cs (1)
87public override int GetHashCode()
DiagnosticsIpc\IpcTransport.cs (3)
185public override int GetHashCode() 235public override int GetHashCode() 579public override int GetHashCode()
Microsoft.DotNet.ApiCompatibility (1)
Logging\Suppression.cs (1)
89public override int GetHashCode()
Microsoft.DotNet.Build.Manifest (1)
ArtifactModel.cs (1)
129public override int GetHashCode()
Microsoft.DotNet.Build.Tasks.Packaging (1)
PackageReport.cs (1)
157public override int GetHashCode()
Microsoft.DotNet.Build.Tasks.Workloads (1)
Swix\SwixComponent.cs (1)
133public override int GetHashCode() => Name.GetHashCode();
Microsoft.DotNet.Cli.Definitions (1)
Help\TwoColumnHelpRow.cs (1)
38public override int GetHashCode()
Microsoft.DotNet.SdkResolver (1)
NETCoreSdkResolver.cs (1)
58public override int GetHashCode()
Microsoft.DotNet.SourceBuild.Tasks (1)
src\UsageReport\Usage.cs (1)
105public override int GetHashCode() => (
Microsoft.DotNet.TemplateLocator (3)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\ManifestVersion.cs (1)
36public override int GetHashCode()
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\ManifestVersionUpdate.cs (1)
50public override int GetHashCode()
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadSuggestionFinder.cs (1)
220public override int GetHashCode()
Microsoft.Extensions.AI.Abstractions (7)
ChatCompletion\AutoChatToolMode.cs (1)
27public override int GetHashCode() => typeof(AutoChatToolMode).GetHashCode();
ChatCompletion\ChatResponseFormatText.cs (1)
26public override int GetHashCode() => typeof(ChatResponseFormatText).GetHashCode();
ChatCompletion\NoneChatToolMode.cs (1)
27public override int GetHashCode() => typeof(NoneChatToolMode).GetHashCode();
ChatCompletion\RequiredChatToolMode.cs (1)
54public override int GetHashCode() =>
HostedMcpServerToolAlwaysRequireApprovalMode.cs (1)
27public override int GetHashCode() => typeof(HostedMcpServerToolAlwaysRequireApprovalMode).GetHashCode();
HostedMcpServerToolNeverRequireApprovalMode.cs (1)
27public override int GetHashCode() => typeof(HostedMcpServerToolNeverRequireApprovalMode).GetHashCode();
HostedMcpServerToolRequireSpecificApprovalMode.cs (1)
42public override int GetHashCode() =>
Microsoft.Extensions.AI.Abstractions.Tests (1)
ChatRouting\RoutingChatClientTests.cs (1)
178public override int GetHashCode() => 0;
Microsoft.Extensions.AI.Evaluation.Safety (1)
ContentSafetyService.UrlCacheKey.cs (1)
27public override int GetHashCode() =>
Microsoft.Extensions.AI.Tests (2)
ChatRouting\OrderedFailoverChatClientTests.cs (1)
397public override int GetHashCode() => 0;
ChatRouting\SemanticRoutingChatClientTests.cs (1)
258public override int GetHashCode() => 0;
Microsoft.Extensions.Compliance.Abstractions (1)
Classification\DataClassificationSet.cs (1)
90public override int GetHashCode() => _cachedHashCode;
Microsoft.Extensions.Configuration.Binder.SourceGeneration (2)
src\runtime\src\libraries\Common\src\SourceGenerators\ImmutableEquatableArray.cs (1)
33public override int GetHashCode()
src\runtime\src\libraries\Common\src\SourceGenerators\TypeRef.cs (1)
40public override int GetHashCode() => FullyQualifiedName.GetHashCode();
Microsoft.Extensions.FileProviders.Embedded.Manifest.Task (1)
EmbeddedItem.cs (1)
19public override int GetHashCode() => ManifestFilePath.GetHashCode() ^ AssemblyResourceName.GetHashCode();
Microsoft.Extensions.FileSystemGlobbing (1)
Internal\PathSegments\LiteralPathSegment.cs (1)
38public override int GetHashCode()
Microsoft.Extensions.Http.Resilience.Tests (2)
Greet.cs (2)
124public override int GetHashCode() { 317public override int GetHashCode() {
Microsoft.Extensions.Logging.Generators (5)
LoggerMessageGenerator.Parser.cs (4)
998public override int GetHashCode() 1092public override int GetHashCode() 1175public override int GetHashCode() 1237public override int GetHashCode()
src\runtime\src\libraries\Common\src\SourceGenerators\ImmutableEquatableArray.cs (1)
33public override int GetHashCode()
Microsoft.Extensions.ServiceDiscovery.Abstractions (1)
UriEndPoint.cs (1)
35public override int GetHashCode() => Uri.GetHashCode();
Microsoft.Interop.ComInterfaceGenerator (3)
ComClassInfo.cs (1)
63public override int GetHashCode()
ComInterfaceInfo.cs (1)
400public override int GetHashCode()
ComMethodContext.cs (1)
54public override int GetHashCode() => _state.GetHashCode();
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSSignatureContext.cs (1)
97public override int GetHashCode()
Microsoft.Interop.SourceGeneration (4)
ContainingSyntaxContext.cs (1)
92public override int GetHashCode()
ManagedTypeInfo.cs (1)
26public override int GetHashCode()
MethodSignatureDiagnosticLocations.cs (1)
68public override int GetHashCode() => throw new UnreachableException();
SignatureContext.cs (1)
230public override int GetHashCode()
Microsoft.Maui.Controls (10)
Accelerator.cs (1)
96 public override int GetHashCode()
AnimatableKey.cs (1)
69 public override int GetHashCode()
GradientStop.cs (1)
51 public override int GetHashCode()
ImageBrush.cs (1)
31 public override int GetHashCode() =>
Routing.cs (1)
293 public override int GetHashCode()
Shell\ShellAppearance.cs (1)
129 public override int GetHashCode()
SolidColorBrush.cs (1)
54 public override int GetHashCode()
VisualStateManager.cs (3)
364 public override int GetHashCode() 587 public override int GetHashCode() 676 public override int GetHashCode()
Microsoft.Maui.Controls.Maps (1)
Pin.cs (1)
103 public override int GetHashCode()
Microsoft.Maui.Controls.SourceGen (1)
src\Controls\src\Xaml\XamlNode.cs (1)
72 public override int GetHashCode()
Microsoft.Maui.Controls.Xaml (1)
XamlNode.cs (1)
72 public override int GetHashCode()
Microsoft.Maui.Essentials (1)
Types\Location.shared.cs (1)
262 public override int GetHashCode()
Microsoft.Maui.Graphics (4)
Color.cs (1)
94 public override int GetHashCode()
Insets.cs (1)
76 public override int GetHashCode()
InsetsF.cs (1)
76 public override int GetHashCode()
PathF.cs (1)
1335 public override int GetHashCode()
Microsoft.Maui.Maps (1)
Primitives\MapSpan.cs (1)
57 public override int GetHashCode()
Microsoft.ML.AutoML (5)
Experiment\SuggestedPipeline.cs (1)
50public override int GetHashCode()
Sweepers\ISweeper.cs (1)
148public override int GetHashCode()
Sweepers\Parameters.cs (3)
100public override int GetHashCode() 146public override int GetHashCode() 189public override int GetHashCode()
Microsoft.ML.Core (2)
Utilities\NormStr.cs (1)
37public override int GetHashCode()
Utilities\SummaryStatistics.cs (1)
30public override int GetHashCode()
Microsoft.ML.Core.Tests (1)
UnitTests\TestCustomTypeRegister.cs (1)
130public override int GetHashCode()
Microsoft.ML.Data (4)
Data\DataViewTypeManager.cs (1)
269public override int GetHashCode()
EntryPoints\EntryPointNode.cs (3)
1230public override int GetHashCode() 1258public override int GetHashCode() 1286public override int GetHashCode()
Microsoft.ML.DataView (2)
KeyDataViewType.cs (1)
163public override int GetHashCode()
VectorType.cs (1)
146public override int GetHashCode()
Microsoft.ML.FastTree (2)
Dataset\IntArray.cs (1)
271public override int GetHashCode()
TreeEnsemble\InternalRegressionTree.cs (1)
1077public override int GetHashCode()
Microsoft.ML.ImageAnalytics (1)
ImageType.cs (1)
101public override int GetHashCode()
Microsoft.ML.OnnxConverter (19)
OnnxMl.cs (19)
547public override int GetHashCode() 1028public override int GetHashCode() 1346public override int GetHashCode() 1755public override int GetHashCode() 2071public override int GetHashCode() 2266public override int GetHashCode() 2576public override int GetHashCode() 3084public override int GetHashCode() 3519public override int GetHashCode() 3750public override int GetHashCode() 3955public override int GetHashCode() 4176public override int GetHashCode() 4514public override int GetHashCode() 4839public override int GetHashCode() 5030public override int GetHashCode() 5221public override int GetHashCode() 5425public override int GetHashCode() 5630public override int GetHashCode() 5841public override int GetHashCode()
Microsoft.ML.OnnxTransformer (21)
OnnxMapType.cs (1)
38public override int GetHashCode()
OnnxSequenceType.cs (1)
44public override int GetHashCode()
src\Microsoft.ML.OnnxConverter\OnnxMl.cs (19)
547public override int GetHashCode() 1028public override int GetHashCode() 1346public override int GetHashCode() 1755public override int GetHashCode() 2071public override int GetHashCode() 2266public override int GetHashCode() 2576public override int GetHashCode() 3084public override int GetHashCode() 3519public override int GetHashCode() 3750public override int GetHashCode() 3955public override int GetHashCode() 4176public override int GetHashCode() 4514public override int GetHashCode() 4839public override int GetHashCode() 5030public override int GetHashCode() 5221public override int GetHashCode() 5425public override int GetHashCode() 5630public override int GetHashCode() 5841public override int GetHashCode()
Microsoft.ML.Predictor.Tests (1)
CmdLine\CmdLineReverseTest.cs (1)
170public override int GetHashCode()
Microsoft.ML.Samples (1)
Dynamic\Transforms\CustomMappingWithInMemoryCustomType.cs (1)
179public override int GetHashCode()
Microsoft.ML.SearchSpace (2)
Parameter.cs (1)
400public override int GetHashCode()
SearchSpace.cs (1)
148public override int GetHashCode()
Microsoft.ML.Sweeper (4)
ISweeper.cs (1)
177public override int GetHashCode()
Parameters.cs (3)
108public override int GetHashCode() 154public override int GetHashCode() 197public override int GetHashCode()
Microsoft.ML.TestFramework (1)
SubComponent.cs (1)
147public override int GetHashCode()
Microsoft.ML.TimeSeries (1)
RootCauseLocalizationType.cs (1)
239public override int GetHashCode()
Microsoft.ML.Transforms (1)
Text\NgramHashingTransformer.cs (1)
728public override int GetHashCode()
Microsoft.NET.Build.Tasks (5)
GetPackagesToPrune.cs (1)
84public override int GetHashCode()
ResolvedFile.cs (1)
107public override int GetHashCode()
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\ManifestVersion.cs (1)
36public override int GetHashCode()
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\ManifestVersionUpdate.cs (1)
50public override int GetHashCode()
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadSuggestionFinder.cs (1)
220public override int GetHashCode()
Microsoft.NET.HostModel (1)
MachO\BinaryFormat\Blobs\CodeDirectoryBlob.cs (1)
287public override int GetHashCode()
Microsoft.Net.Http.Headers (12)
CacheControlHeaderValue.cs (1)
439public override int GetHashCode()
ContentDispositionHeaderValue.cs (1)
244public override int GetHashCode()
ContentRangeHeaderValue.cs (1)
156public override int GetHashCode()
CookieHeaderValue.cs (1)
208public override int GetHashCode()
EntityTagHeaderValue.cs (1)
113public override int GetHashCode()
MediaTypeHeaderValue.cs (1)
488public override int GetHashCode()
NameValueHeaderValue.cs (1)
116public override int GetHashCode()
RangeConditionHeaderValue.cs (1)
100public override int GetHashCode()
RangeHeaderValue.cs (1)
117public override int GetHashCode()
RangeItemHeaderValue.cs (1)
88public override int GetHashCode()
SetCookieHeaderValue.cs (1)
746public override int GetHashCode()
StringWithQualityHeaderValue.cs (1)
108public override int GetHashCode()
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (4)
src\sdk\src\StaticWebAssetsSdk\Tasks\Data\StaticWebAsset.cs (1)
1610public override int GetHashCode()
src\sdk\src\StaticWebAssetsSdk\Tasks\Data\StaticWebAssetPathPattern.cs (1)
551public override int GetHashCode()
src\sdk\src\StaticWebAssetsSdk\Tasks\Data\StaticWebAssetPathSegment.cs (1)
37public override int GetHashCode()
src\sdk\src\StaticWebAssetsSdk\Tasks\Data\StaticWebAssetSegmentPart.cs (1)
48public override int GetHashCode() => HashCode.Combine(Name, Value, IsLiteral);
Microsoft.NET.Sdk.StaticWebAssets.Tasks (8)
Data\ReferencedProjectConfiguration.cs (1)
51public override int GetHashCode()
Data\StaticAssetsManifest.cs (1)
138public override int GetHashCode()
Data\StaticWebAsset.cs (1)
1610public override int GetHashCode()
Data\StaticWebAssetEndpoint.cs (1)
265public override int GetHashCode()
Data\StaticWebAssetPathPattern.cs (1)
551public override int GetHashCode()
Data\StaticWebAssetPathSegment.cs (1)
37public override int GetHashCode()
Data\StaticWebAssetsDiscoveryPattern.cs (1)
33public override int GetHashCode()
Data\StaticWebAssetSegmentPart.cs (1)
48public override int GetHashCode() => HashCode.Combine(Name, Value, IsLiteral);
Microsoft.NET.Sdk.WorkloadManifestReader (3)
ManifestVersion.cs (1)
36public override int GetHashCode()
ManifestVersionUpdate.cs (1)
50public override int GetHashCode()
WorkloadSuggestionFinder.cs (1)
220public override int GetHashCode()
Microsoft.Private.Windows.Core (2)
System\Private\Windows\BinaryFormat\Serializer\BinaryObjectString.cs (1)
41public override int GetHashCode() => HashCode.Combine(ObjectId, Value);
System\Private\Windows\BinaryFormat\Serializer\ObjectNull.cs (1)
30public override int GetHashCode() => Instance.GetHashCode();
Microsoft.TemplateEngine.Cli (2)
Commands\create\InvalidTemplateOptionResult.cs (1)
74public override int GetHashCode()
Commands\create\TemplateOption.cs (1)
66public override int GetHashCode()
Microsoft.TemplateEngine.Core (1)
TokenConfig.cs (1)
76public override int GetHashCode()
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.VisualBasic.Core (13)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (13)
367Public Overrides Function GetHashCode() As Integer 445Public Overrides Function GetHashCode() As Integer 522Public Overrides Function GetHashCode() As Integer 591Public Overrides Function GetHashCode() As Integer 660Public Overrides Function GetHashCode() As Integer 712Public Overrides Function GetHashCode() As Integer 771Public Overrides Function GetHashCode() As Integer 804Public Overrides Function GetHashCode() As Integer 860Public Overrides Function GetHashCode() As Integer 908Public Overrides Function GetHashCode() As Integer 959Public Overrides Function GetHashCode() As Integer 1027Public Overrides Function GetHashCode() As Integer 1102Public Overrides Function GetHashCode() As Integer
Microsoft.VisualStudio.TestPlatform.Common (1)
Utilities\SimpleJSON.cs (1)
455public override int GetHashCode()
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (15)
ObjectModel\TestCategoryItems.cs (2)
76public override int GetHashCode() 241public override int GetHashCode()
ObjectModel\TestElement.cs (1)
234public override int GetHashCode()
ObjectModel\TestEntry.cs (1)
86public override int GetHashCode()
ObjectModel\TestExecId.cs (1)
64public override int GetHashCode()
ObjectModel\TestId.cs (1)
144public override int GetHashCode()
ObjectModel\TestLink.cs (1)
70public override int GetHashCode()
ObjectModel\TestListCategory.cs (1)
150public override int GetHashCode()
ObjectModel\TestListCategoryId.cs (1)
85public override int GetHashCode()
ObjectModel\TestMethod.cs (1)
62public override int GetHashCode()
ObjectModel\TestResult.cs (2)
87public override int GetHashCode() 422public override int GetHashCode()
ObjectModel\TestType.cs (1)
39public override int GetHashCode()
ObjectModel\WorkItems.cs (2)
58public override int GetHashCode() 212public override int GetHashCode()
Microsoft.VisualStudio.TestPlatform.ObjectModel (12)
Client\FilterOptions.cs (1)
50public override int GetHashCode()
Client\TestRunCriteria.cs (1)
869public override int GetHashCode()
Client\TestSessionInfo.cs (1)
40public override int GetHashCode()
DataCollector\Common\RequestId.cs (1)
67public override int GetHashCode()
DataCollector\Common\Session.cs (1)
33public override int GetHashCode() => Id.GetHashCode();
DataCollector\Common\TestExecId.cs (1)
34public override int GetHashCode() => Id.GetHashCode();
DataCollector\DataCollectionContext.cs (1)
128public override int GetHashCode()
InvokedDataCollector.cs (1)
83public override int GetHashCode()
Nuget.Frameworks\FrameworkRange.cs (1)
114public override int GetHashCode()
Nuget.Frameworks\NuGetFramework.cs (1)
443public override int GetHashCode()
Nuget.Frameworks\OneWayCompatibilityMappingEntry.cs (1)
57public override int GetHashCode()
TestProperty\TestProperty.cs (1)
130public override int GetHashCode()
Microsoft.Win32.SystemEvents (1)
Microsoft\Win32\SystemEvents.cs (1)
1287public override int GetHashCode()
MyFrontend (9)
artifacts\obj\MyFrontend\Debug\net8.0\Basket.cs (9)
146public override int GetHashCode() { 357public override int GetHashCode() { 581public override int GetHashCode() { 848public override int GetHashCode() { 1156public override int GetHashCode() { 1340public override int GetHashCode() { 1515public override int GetHashCode() { 1699public override int GetHashCode() { 1899public override int GetHashCode() {
NuGet.CommandLine.XPlat (2)
Commands\Why\DependencyNode.cs (1)
20public abstract override int GetHashCode();
Utility\FormattedCell.cs (1)
28public override int GetHashCode()
NuGet.Commands (5)
RestoreCommand\LockFileBuilderCache.cs (1)
169public override int GetHashCode()
RestoreCommand\Logging\PackageSpecificWarningProperties.cs (1)
141public override int GetHashCode()
RestoreCommand\Logging\TransitiveNoWarnUtils.cs (2)
648public override int GetHashCode() 724public override int GetHashCode()
RestoreCommand\Logging\WarningPropertiesCollection.cs (1)
184public override int GetHashCode()
NuGet.Configuration (17)
PackageSource\PackageSource.cs (1)
249public override int GetHashCode() => _hashCode;
PackageSource\PackageSourceCredential.cs (1)
233public override int GetHashCode()
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\ClientCertItem.cs (1)
60public override int GetHashCode()
Settings\Items\CredentialsItem.cs (1)
257public override int GetHashCode() => ElementName.GetHashCode();
Settings\Items\MinPublishAgeExceptionItem.cs (1)
105public override int GetHashCode() => StringComparer.OrdinalIgnoreCase.GetHashCode(Pattern);
Settings\Items\OwnersItem.cs (1)
101public override int GetHashCode() => Content.GetHashCode();
Settings\Items\PackagePatternItem.cs (1)
66public override int GetHashCode() => StringComparer.OrdinalIgnoreCase.GetHashCode(Pattern);
Settings\Items\PackageSourceMappingSourceItem.cs (1)
215public override int GetHashCode()
Settings\Items\RepositoryItem.cs (1)
146public override int GetHashCode()
Settings\Items\UnknownItem.cs (1)
181public override int GetHashCode() => ElementName.GetHashCode();
Settings\NuGetConfiguration.cs (1)
186public override int GetHashCode() => Children.GetHashCode();
Settings\SettingSection.cs (1)
71public override int GetHashCode() => ElementName.GetHashCode();
Settings\SettingText.cs (1)
55public override int GetHashCode() => Value.GetHashCode();
NuGet.DependencyResolver.Core (3)
GraphModel\GraphItem.cs (1)
41public override int GetHashCode()
LockFileCacheKey.cs (1)
61public override int GetHashCode()
Remote\RemoteMatch.cs (1)
27public override int GetHashCode()
NuGet.Frameworks (3)
FrameworkRange.cs (1)
114public override int GetHashCode()
FrameworkRuntimePair.cs (1)
40public override int GetHashCode()
NuGetFramework.cs (1)
444public override int GetHashCode()
NuGet.LibraryModel (7)
CentralPackageVersion.cs (1)
34public override int GetHashCode()
DownloadDependency.cs (1)
76public override int GetHashCode()
FrameworkDependency.cs (1)
59public override int GetHashCode()
LibraryDependency.cs (1)
120public override int GetHashCode()
LibraryIdentity.cs (1)
57public override int GetHashCode()
LibraryRange.cs (1)
161public override int GetHashCode()
PrunePackageReference.cs (1)
54public override int GetHashCode()
NuGet.PackageManagement (3)
FileModifiers\FileTransformExtensions.cs (1)
38public override int GetHashCode()
Resolution\GatherCache.cs (2)
161public override int GetHashCode() 214public override int GetHashCode()
NuGet.Packaging (17)
Core\FrameworkReference.cs (1)
60public override int GetHashCode()
Core\FrameworkReferenceGroup.cs (1)
58public override int GetHashCode()
Core\FrameworkSpecificGroup.cs (1)
94public override int GetHashCode()
Core\PackageDependency.cs (1)
96public override int GetHashCode()
Core\PackageDependencyGroup.cs (1)
97public override int GetHashCode()
Core\PackageIdentity.cs (1)
104public override int GetHashCode()
Core\PackageType.cs (1)
82public override int GetHashCode()
Core\RepositoryMetadata.cs (1)
75public override int GetHashCode()
NupkgMetadata\NupkgMetadataFile.cs (1)
39public override int GetHashCode()
PackageCreation\Authoring\LicenseMetadata.cs (1)
81public override int GetHashCode()
PackageCreation\Authoring\PhysicalPackageFile.cs (1)
115public override int GetHashCode()
RuntimeModel\CompatibilityProfile.cs (1)
32public override int GetHashCode()
RuntimeModel\RuntimeDependencySet.cs (1)
65public override int GetHashCode()
RuntimeModel\RuntimeDescription.cs (1)
125public override int GetHashCode()
RuntimeModel\RuntimeGraph.cs (1)
320public override int GetHashCode()
RuntimeModel\RuntimePackageDependency.cs (1)
44public override int GetHashCode()
Signing\Verification\CertificateHashAllowListEntry.cs (1)
69public override int GetHashCode()
NuGet.ProjectModel (23)
CacheFile.cs (1)
71public override int GetHashCode()
CentralTransitiveDependencyGroup.cs (1)
58public override int GetHashCode()
ExternalProjectReference.cs (1)
137public override int GetHashCode()
LockFile\AssetsLogMessage.cs (1)
163public override int GetHashCode()
LockFile\LockFile.cs (1)
120public override int GetHashCode()
LockFile\LockFileItem.cs (1)
80public override int GetHashCode()
LockFile\LockFileLibrary.cs (1)
69public override int GetHashCode()
LockFile\LockFileTarget.cs (1)
65public override int GetHashCode()
LockFile\LockFileTargetLibrary.cs (1)
218public override int GetHashCode()
PackageSpec.cs (1)
81public override int GetHashCode()
ProjectFileDependencyGroup.cs (1)
52public override int GetHashCode()
ProjectLockFile\LockFileDependency.cs (1)
50public override int GetHashCode()
ProjectLockFile\PackagesLockFile.cs (1)
51public override int GetHashCode()
ProjectLockFile\PackagesLockFileTarget.cs (1)
67public override int GetHashCode()
ProjectRestoreMetadata.cs (1)
165public override int GetHashCode()
ProjectRestoreMetadataFile.cs (1)
60public override int GetHashCode()
ProjectRestoreMetadataFrameworkInfo.cs (1)
43public override int GetHashCode()
ProjectRestoreReference.cs (1)
30public override int GetHashCode()
ProjectRestoreSettings.cs (1)
55public override int GetHashCode()
RestoreAuditProperties.cs (1)
119public override int GetHashCode()
RestoreLockProperties.cs (1)
41public override int GetHashCode()
TargetFrameworkInformation.cs (1)
153public override int GetHashCode()
WarningProperties.cs (1)
53public override int GetHashCode()
NuGet.Protocol (3)
Model\PackageVulnerabilityInfo.cs (1)
58public override int GetHashCode()
Plugins\PluginManager.cs (1)
474public override int GetHashCode()
RemoteSourceDependencyInfo.cs (1)
84public override int GetHashCode()
NuGet.Versioning (3)
FloatRange.cs (1)
465public override int GetHashCode()
SemanticVersionBase.cs (1)
79public override int GetHashCode()
VersionRangeBase.cs (1)
190public override int GetHashCode()
PresentationBuildTasks (2)
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (1)
6867public override int GetHashCode()
src\wpf\src\Microsoft.DotNet.Wpf\src\WindowsBase\System\IO\Packaging\CompoundFile\VersionPair.cs (1)
264public override int GetHashCode()
PresentationCore (20)
MS\Internal\DpiScale2.cs (1)
189public override int GetHashCode()
MS\Internal\FontCache\CanonicalFontFamilyReference.cs (1)
125public override int GetHashCode()
MS\Internal\FontCache\FontSource.cs (1)
115public override int GetHashCode()
MS\Internal\FontFace\FontFamilyIdentifier.cs (1)
439public abstract override int GetHashCode();
MS\Internal\Ink\ExtendedProperty.cs (1)
31public override int GetHashCode()
MS\Internal\Ink\ExtendedPropertyCollection.cs (1)
93public override int GetHashCode()
MS\Internal\Shaping\OpenTypeLayoutCache.cs (1)
1134public override int GetHashCode()
MS\Internal\Shaping\ShapeTypeface.cs (2)
38public override int GetHashCode() 118public override int GetHashCode()
MS\Internal\TextFormatting\GenericTextProperties.cs (1)
67public override int GetHashCode()
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
270public override int GetHashCode()
System\Windows\Ink\DrawingAttributes.cs (1)
491public override int GetHashCode()
System\Windows\Media\Animation\TimelineClockCollection.cs (1)
251public override int GetHashCode()
System\Windows\Media\CharacterMetrics.cs (1)
287public override int GetHashCode()
System\Windows\Media\ColorContext.cs (1)
411public override int GetHashCode()
System\Windows\Media\FamilyTypeface.cs (1)
260public override int GetHashCode()
System\Windows\Media\FontFamily.cs (1)
253public override int GetHashCode()
System\Windows\Media\GlyphTypeface.cs (1)
172public override int GetHashCode()
System\Windows\Media\textformatting\NumberSubstitution.cs (1)
227public override int GetHashCode()
System\Windows\Media\Typeface.cs (1)
663public override int GetHashCode()
PresentationFramework (34)
MS\Internal\Annotations\Anchoring\PathNode.cs (1)
68public override int GetHashCode()
MS\Internal\Annotations\Component\AdornerPresentationContext.cs (1)
302public override int GetHashCode()
MS\Internal\Annotations\TextAnchor.cs (1)
151public override int GetHashCode()
MS\Internal\AppModel\BamlStream.cs (1)
185public override int GetHashCode()
MS\Internal\Data\ValueTable.cs (1)
348public override int GetHashCode()
MS\Internal\IO\Packaging\ContentDescriptor.cs (1)
50public override int GetHashCode()
MS\Internal\Navigation\BindStream.cs (1)
261public override int GetHashCode()
MS\Internal\Text\TypographyProperties.cs (1)
714public override int GetHashCode()
MS\Internal\WeakHashtable.cs (1)
226public override int GetHashCode()
MS\Internal\WeakObjectHashtable.cs (1)
235public override int GetHashCode()
MS\Internal\WindowsRuntime\Generated\Windows.Data.Text.cs (3)
53public override int GetHashCode() => ThisPtr.GetHashCode(); 271public override int GetHashCode() => ThisPtr.GetHashCode(); 376public override int GetHashCode() => ThisPtr.GetHashCode();
MS\Internal\WindowsRuntime\Generated\Windows.Globalization.cs (1)
148public override int GetHashCode() => ThisPtr.GetHashCode();
System\Windows\Annotations\LocatorPart.cs (1)
126public override int GetHashCode()
System\Windows\ComponentResourceKey.cs (1)
115public override int GetHashCode()
System\Windows\Controls\Grid.cs (1)
3602public override int GetHashCode()
System\Windows\Controls\ItemsControl.cs (1)
3828public override int GetHashCode()
System\Windows\Controls\ValidationResult.cs (1)
114public override int GetHashCode()
System\Windows\Data\XmlNamespaceMapping.cs (1)
106public override int GetHashCode()
System\Windows\Documents\FixedHighlight.cs (1)
75public override int GetHashCode()
System\Windows\Documents\FlowNode.cs (1)
76public override int GetHashCode()
System\Windows\Documents\FlowPosition.cs (1)
81public override int GetHashCode()
System\Windows\Documents\Serialization\SerializerDescriptor.cs (1)
351public override int GetHashCode()
System\Windows\Markup\Localizer\BamlLocalizableResource.cs (1)
179public override int GetHashCode()
System\Windows\Markup\Localizer\BamlLocalizableResourceKey.cs (1)
123public override int GetHashCode()
System\Windows\Markup\Primitives\MarkupWriter.cs (2)
267public override int GetHashCode() 1290public override int GetHashCode()
System\Windows\Media\Animation\Storyboard.cs (1)
192public override int GetHashCode()
System\Windows\Style.cs (1)
817public override int GetHashCode()
System\Windows\StyleHelper.cs (1)
6118public override int GetHashCode()
System\Windows\SystemResourceKey.cs (1)
2004public override int GetHashCode()
System\Windows\SystemThemeKey.cs (1)
67public override int GetHashCode()
System\Windows\TemplateKey.cs (1)
82public override int GetHashCode()
PresentationUI (2)
MS\Internal\Documents\Application\CriticalFileToken.cs (1)
95public override int GetHashCode()
MS\Internal\Documents\Application\StreamProxy.cs (1)
229public override int GetHashCode()
Roslyn.Diagnostics.Analyzers (13)
src\roslyn\src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
63public override int GetHashCode() =>
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
345public override int GetHashCode()
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\roslyn\src\Dependencies\Contracts\EqualityComparerExtensions.cs (1)
58public override int GetHashCode()
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
258public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (1)
240public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
503public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
390public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
203public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
91public override int GetHashCode() => Definition.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
77public override int GetHashCode()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
79public override int GetHashCode() => Definition.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SyntaxPath.cs (1)
175public override int GetHashCode()
Stress.TelemetryService (42)
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\collector\logs\v1\LogsService.cs (3)
140public override int GetHashCode() { 345public override int GetHashCode() { 581public override int GetHashCode() {
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\collector\metrics\v1\MetricsService.cs (3)
142public override int GetHashCode() { 347public override int GetHashCode() { 583public override int GetHashCode() {
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\collector\trace\v1\TraceService.cs (3)
141public override int GetHashCode() { 346public override int GetHashCode() { 582public override int GetHashCode() {
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\common\v1\Common.cs (5)
341public override int GetHashCode() { 713public override int GetHashCode() { 913public override int GetHashCode() { 1119public override int GetHashCode() { 1402public override int GetHashCode() {
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\logs\v1\Logs.cs (4)
234public override int GetHashCode() { 463public override int GetHashCode() { 747public override int GetHashCode() { 1193public override int GetHashCode() {
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (16)
334public override int GetHashCode() { 563public override int GetHashCode() { 847public override int GetHashCode() { 1322public override int GetHashCode() { 1760public override int GetHashCode() { 1986public override int GetHashCode() { 2241public override int GetHashCode() { 2473public override int GetHashCode() { 2691public override int GetHashCode() { 3049public override int GetHashCode() { 3636public override int GetHashCode() { 4350public override int GetHashCode() { 4881public override int GetHashCode() { 5225public override int GetHashCode() { 5577public override int GetHashCode() { 5956public override int GetHashCode() {
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\resource\v1\Resource.cs (1)
149public override int GetHashCode() {
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\trace\v1\Trace.cs (7)
180public override int GetHashCode() { 409public override int GetHashCode() { 693public override int GetHashCode() { 1231public override int GetHashCode() { 1833public override int GetHashCode() { 2170public override int GetHashCode() { 2479public override int GetHashCode() {
System.CodeDom (1)
System\CodeDom\Compiler\CompilerInfo.cs (1)
86public override int GetHashCode() => _codeDomProviderTypeName.GetHashCode();
System.Collections (2)
System\Collections\Generic\SortedDictionary.cs (1)
860public override int GetHashCode()
System\Collections\Generic\SortedSetEqualityComparer.cs (1)
58public override int GetHashCode() => _comparer.GetHashCode() ^ _memberEqualityComparer.GetHashCode();
System.CommandLine (3)
Completions\CompletionItem.cs (1)
82public override int GetHashCode()
Help\TwoColumnHelpRow.cs (1)
46public override int GetHashCode()
Parsing\Token.cs (1)
58public override int GetHashCode() => Value.GetHashCode() ^ (int)Type;
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\UIHintAttribute.cs (1)
108public override int GetHashCode()
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (1)
536public override int GetHashCode()
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePartDefinition.cs (1)
337public override int GetHashCode()
System.ComponentModel.TypeConverter (2)
System\ComponentModel\Design\CommandID.cs (1)
38public override int GetHashCode() => Guid.GetHashCode() << 2 | ID;
System\ComponentModel\MemberDescriptor.cs (1)
425public override int GetHashCode() => _nameHash;
System.Composition.Runtime (1)
System\Composition\Hosting\Core\CompositionContract.cs (1)
89public override int GetHashCode()
System.Configuration.ConfigurationManager (2)
System\Configuration\ConfigurationElement.cs (1)
698public override int GetHashCode()
System\Configuration\Internal\FileVersion.cs (1)
32public override int GetHashCode()
System.Data.Common (5)
src\runtime\src\libraries\Common\src\System\Data\Common\DbConnectionPoolKey.cs (1)
54public override int GetHashCode()
System\Data\DataRowView.cs (1)
34public override int GetHashCode()
System\Data\ForeignKeyConstraint.cs (1)
869public override int GetHashCode() => base.GetHashCode();
System\Data\UniqueConstraint.cs (1)
400public override int GetHashCode()
System\Data\XmlToDatasetMap.cs (1)
25public override int GetHashCode()
System.Data.Odbc (2)
Common\System\Data\ProviderBase\DbConnectionPoolIdentity.cs (1)
44public override int GetHashCode()
src\runtime\src\libraries\Common\src\System\Data\Common\DbConnectionPoolKey.cs (1)
54public override int GetHashCode()
System.Data.OleDb (2)
System\Data\Common\DbConnectionPoolKey.cs (1)
56public override int GetHashCode()
System\Data\ProviderBase\DbConnectionPoolIdentity.cs (1)
59public override int GetHashCode()
System.Diagnostics.EventLog (1)
System\Diagnostics\Reader\ProviderMetadataCachedInformation.cs (1)
42public override int GetHashCode()
System.DirectoryServices (1)
System\DirectoryServices\ActiveDirectory\DirectoryEntryManager.cs (1)
57public override int GetHashCode()
System.DirectoryServices.AccountManagement (3)
System\DirectoryServices\AccountManagement\AD\ADStoreKey.cs (1)
79public override int GetHashCode()
System\DirectoryServices\AccountManagement\Principal.cs (1)
482public override int GetHashCode()
System\DirectoryServices\AccountManagement\SAM\SAMStoreKey.cs (1)
47public override int GetHashCode()
System.DirectoryServices.Protocols (1)
System\DirectoryServices\Protocols\ldap\LdapAsyncResult.cs (1)
34public override int GetHashCode() => _manualResetEvent.GetHashCode();
System.Drawing.Common (6)
System\Drawing\Drawing2D\Matrix.cs (1)
413public override int GetHashCode() => base.GetHashCode();
System\Drawing\Font.cs (1)
255public override int GetHashCode() => HashCode.Combine(Name, Style, Size, Unit);
System\Drawing\FontFamily.cs (1)
187public override int GetHashCode()
System\Drawing\Imaging\FrameDimension.cs (1)
58public override int GetHashCode()
System\Drawing\Imaging\ImageFormat.cs (1)
119public override int GetHashCode() => _guid.GetHashCode();
System\Drawing\Printing\Margins.cs (1)
187public override int GetHashCode() => HashCode.Combine(Left, Right, Top, Bottom);
System.IO.Hashing (1)
System\IO\Hashing\NonCryptographicHashAlgorithm.cs (1)
297public override int GetHashCode()
System.Linq.Expressions (4)
System\Dynamic\BindingRestrictions.cs (3)
250public override int GetHashCode() => CustomRestrictionHash ^ _expression.GetHashCode(); 273public override int GetHashCode() => TypeRestrictionHash ^ _expression.GetHashCode() ^ _type.GetHashCode(); 295public override int GetHashCode()
System\Dynamic\CallInfo.cs (1)
76public override int GetHashCode()
System.Management (2)
System\Management\ManagementBaseObject.cs (1)
697public override int GetHashCode()
System\Management\WmiEventSink.cs (1)
104public override int GetHashCode()
System.Memory.Data (1)
System\BinaryData.cs (1)
505public override int GetHashCode() => base.GetHashCode();
System.Net.Http (20)
src\runtime\src\libraries\Common\src\System\Net\CredentialCacheKey.cs (1)
84public override int GetHashCode() =>
System\Net\Http\Headers\AuthenticationHeaderValue.cs (1)
84public override int GetHashCode()
System\Net\Http\Headers\CacheControlHeaderValue.cs (1)
318public override int GetHashCode() =>
System\Net\Http\Headers\ContentDispositionHeaderValue.cs (1)
172public override int GetHashCode()
System\Net\Http\Headers\ContentRangeHeaderValue.cs (1)
101public override int GetHashCode() =>
System\Net\Http\Headers\EntityTagHeaderValue.cs (1)
62public override int GetHashCode() =>
System\Net\Http\Headers\MediaTypeHeaderValue.cs (1)
141public override int GetHashCode()
System\Net\Http\Headers\NameValueHeaderValue.cs (1)
60public override int GetHashCode()
System\Net\Http\Headers\ProductHeaderValue.cs (1)
73public override int GetHashCode()
System\Net\Http\Headers\ProductInfoHeaderValue.cs (1)
72public override int GetHashCode()
System\Net\Http\Headers\RangeConditionHeaderValue.cs (1)
51public override int GetHashCode() => _entityTag?.GetHashCode() ?? _date.GetHashCode();
System\Net\Http\Headers\RangeHeaderValue.cs (1)
97public override int GetHashCode()
System\Net\Http\Headers\RangeItemHeaderValue.cs (1)
74public override int GetHashCode() =>
System\Net\Http\Headers\RetryConditionHeaderValue.cs (1)
54public override int GetHashCode() =>
System\Net\Http\Headers\StringWithQualityHeaderValue.cs (1)
61public override int GetHashCode() =>
System\Net\Http\Headers\TransferCodingHeaderValue.cs (1)
133public override int GetHashCode()
System\Net\Http\Headers\ViaHeaderValue.cs (1)
111public override int GetHashCode() =>
System\Net\Http\Headers\WarningHeaderValue.cs (1)
108public override int GetHashCode() =>
System\Net\Http\HttpMethod.cs (1)
63public override int GetHashCode()
System\Net\Http\SocketsHttpHandler\HttpAuthority.cs (1)
62public override int GetHashCode()
System.Net.HttpListener (1)
System\Net\Managed\ListenerPrefix.cs (1)
93public override int GetHashCode()
System.Net.Mail (3)
System\Net\Mail\MailAddress.cs (1)
297public override int GetHashCode()
System\Net\Mime\ContentDisposition.cs (1)
251public override int GetHashCode() => StringComparer.OrdinalIgnoreCase.GetHashCode(ToString());
System\Net\Mime\ContentType.cs (1)
215public override int GetHashCode() => StringComparer.OrdinalIgnoreCase.GetHashCode(ToString());
System.Net.NetworkInformation (1)
System\Net\NetworkInformation\PhysicalAddress.cs (1)
21public override int GetHashCode()
System.Net.Primitives (6)
src\runtime\src\libraries\Common\src\System\Net\CredentialCacheKey.cs (1)
84public override int GetHashCode() =>
src\runtime\src\libraries\Common\src\System\Net\SocketAddress.cs (1)
146public override int GetHashCode()
System\Net\Cookie.cs (1)
633public override int GetHashCode()
System\Net\DnsEndPoint.cs (1)
42public override int GetHashCode() =>
System\Net\IPAddress.cs (1)
714public override int GetHashCode()
System\Net\IPEndPoint.cs (1)
209public override int GetHashCode()
System.Net.Sockets (2)
System\Net\Sockets\LingerOption.cs (1)
50public override int GetHashCode() => HashCode.Combine(_enabled, _lingerTime);
System\Net\Sockets\UnixDomainSocketEndPoint.cs (1)
144public override int GetHashCode() => _path.GetHashCode();
System.Private.CoreLib (57)
Internal\Runtime\CompilerServices\MethodNameAndSignature.cs (1)
71public override int GetHashCode()
src\runtime\src\libraries\System.Private.CoreLib\src\System\ApplicationId.cs (1)
79public override int GetHashCode() =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Comparer.cs (4)
73public override int GetHashCode() => 108public override int GetHashCode() => 126public override int GetHashCode() => 144public override int GetHashCode() =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\EqualityComparer.cs (7)
131public override int GetHashCode() => 162public override int GetHashCode() => 202public override int GetHashCode() => 231public override int GetHashCode() => 252public override int GetHashCode() => 285public override int GetHashCode() => 341public override int GetHashCode() => GetType().GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSetEqualityComparer.cs (1)
77public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
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)
648public override int GetHashCode()
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\IdnMapping.cs (1)
208public override int 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\SortKey.cs (1)
65public override int GetHashCode() => _compareInfo.GetHashCode(_string, _options);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\SortVersion.cs (1)
57public override int 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\Reflection\Assembly.cs (1)
181public override int GetHashCode() => base.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MemberInfo.cs (1)
44public override int GetHashCode() => base.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Module.cs (1)
146public override int GetHashCode() => base.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Pointer.cs (1)
54public override int GetHashCode() => ((nuint)_ptr).GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\FrameworkName.cs (1)
79public override int GetHashCode()
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\PermissionSet.cs (1)
36public override int GetHashCode() => base.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.Comparison.cs (1)
691public override int GetHashCode()
src\runtime\src\libraries\System.Private.CoreLib\src\System\StringComparer.cs (2)
299public override int GetHashCode() 419public override int GetHashCode()
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\DecoderExceptionFallback.cs (1)
24public override int GetHashCode() => 879;
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\EncoderExceptionFallback.cs (1)
28public override int GetHashCode() => 654;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\EncoderReplacementFallback.cs (1)
76public override int GetHashCode() => _strDefault.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Encoding.cs (1)
1058public override int GetHashCode() =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\EncodingInfo.cs (1)
69public override int GetHashCode()
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF7Encoding.cs (1)
835public override int GetHashCode() => 984;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Thread.cs (1)
559public override int GetHashCode() => ManagedThreadId;
src\runtime\src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.AdjustmentRule.cs (1)
65public override int GetHashCode() => _dateStart.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.cs (1)
757public override int GetHashCode() => StringComparer.OrdinalIgnoreCase.GetHashCode(_id);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Tuple.cs (8)
160public override int GetHashCode() 284public override int GetHashCode() 413public override int GetHashCode() 552public override int GetHashCode() 701public override int GetHashCode() 860public override int GetHashCode() 1029public override int GetHashCode() 1213public override int GetHashCode()
src\runtime\src\libraries\System.Private.CoreLib\src\System\Version.cs (1)
154public override int GetHashCode()
System\Attribute.NativeAot.cs (1)
58public override unsafe int GetHashCode()
System\Delegate.cs (1)
730public sealed override int GetHashCode()
System\Reflection\Emit\SignatureHelper.cs (1)
44public override int GetHashCode()
System\Reflection\Runtime\ParameterInfos\RuntimeParameterInfo.cs (1)
38public sealed override int GetHashCode()
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (1)
139public abstract override int GetHashCode();
System\Reflection\RuntimeAssemblyName.cs (1)
118public sealed override int GetHashCode()
System\ValueType.cs (1)
105public override unsafe int GetHashCode()
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\DataContract.cs (2)
2130public override int GetHashCode() 2514public override int GetHashCode()
System\Xml\PrefixHandle.cs (1)
249public override int GetHashCode()
System\Xml\StringHandle.cs (1)
290public override int GetHashCode()
System\Xml\UniqueId.cs (1)
327public override int GetHashCode()
System.Private.TypeLoader (6)
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.ConstructedGenericMethodsLookup.cs (1)
30public override int GetHashCode()
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.ConstructedGenericTypesLookup.cs (1)
29public override int GetHashCode()
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\FieldDesc.cs (1)
21public override int GetHashCode()
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\MethodDesc.cs (2)
329public override int GetHashCode() 480public sealed override int GetHashCode()
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\TypeDesc.cs (1)
24public abstract override int GetHashCode();
System.Private.Uri (2)
System\Uri.cs (1)
1529public override int GetHashCode()
System\UriBuilder.cs (1)
279public override int GetHashCode() => Uri.GetHashCode();
System.Private.Windows.Core (2)
System\Private\Windows\BinaryFormat\Serializer\BinaryObjectString.cs (1)
41public override int GetHashCode() => HashCode.Combine(ObjectId, Value);
System\Private\Windows\BinaryFormat\Serializer\ObjectNull.cs (1)
30public override int GetHashCode() => Instance.GetHashCode();
System.Private.Xml (15)
System\Xml\Cache\XPathNodeInfoAtom.cs (1)
253public override int GetHashCode()
System\Xml\Schema\BitSet.cs (1)
141public override int GetHashCode()
System\Xml\Schema\Chameleonkey.cs (1)
43public override int GetHashCode()
System\Xml\Schema\ConstraintStruct.cs (1)
439public override int GetHashCode()
System\Xml\Serialization\Compilation.cs (1)
731public override int GetHashCode()
System\Xml\Serialization\NameTable.cs (1)
30public override int GetHashCode()
System\Xml\Serialization\SourceInfo.cs (1)
267public override int GetHashCode()
System\Xml\Serialization\XmlSerializer.cs (1)
1079public override int GetHashCode()
System\Xml\XmlQualifiedName.cs (1)
50public override int GetHashCode()
System\Xml\Xsl\QIL\QilName.cs (1)
86public override int GetHashCode()
System\Xml\Xsl\Runtime\EarlyBoundInfo.cs (1)
65public override int GetHashCode()
System\Xml\Xsl\Runtime\WhitespaceRuleLookup.cs (1)
166public override int GetHashCode()
System\Xml\Xsl\Runtime\XmlCollation.cs (1)
358public override int GetHashCode()
System\Xml\Xsl\Runtime\XmlExtensionFunction.cs (1)
318public override int GetHashCode()
System\Xml\Xsl\XmlQueryType.cs (1)
335public override int GetHashCode()
System.Private.Xml.Linq (2)
System\Xml\Linq\XName.cs (1)
129public override int GetHashCode()
System\Xml\Linq\XNamespace.cs (1)
168public override int GetHashCode()
System.Reflection.Context (2)
System\Reflection\Context\Projection\ProjectingParameterInfo.cs (1)
70public override int GetHashCode()
System\Reflection\Context\Virtual\VirtualParameter.cs (1)
52public override int GetHashCode()
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\General\RoAssemblyName.cs (1)
70public sealed override int GetHashCode() => Name.GetHashCode();
System\Reflection\TypeLoading\Parameters\RoParameter.cs (1)
58public sealed override int GetHashCode() => _member.GetHashCode() ^ _position.GetHashCode();
System.Runtime.InteropServices.JavaScript (2)
System\Runtime\InteropServices\JavaScript\JSException.cs (1)
94public override int GetHashCode()
System\Runtime\InteropServices\JavaScript\JSObject.References.cs (1)
40public override int GetHashCode() => (int)JSHandle;
System.Runtime.Serialization.Formatters (2)
System\Runtime\Serialization\MemberHolder.cs (1)
22public override int GetHashCode() => _memberType.GetHashCode();
System\Runtime\Serialization\SurrogateSelector.cs (1)
187public override int GetHashCode() => _type.GetHashCode();
System.Security.AccessControl (1)
System\Security\AccessControl\ACE.cs (1)
447public sealed override int GetHashCode()
System.Security.Cryptography (14)
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)
72public override int GetHashCode()
System\Security\Cryptography\CngAlgorithmGroup.cs (1)
73public override int GetHashCode()
System\Security\Cryptography\CngKeyBlobFormat.cs (1)
73public override int GetHashCode()
System\Security\Cryptography\CngProvider.cs (1)
70public override int GetHashCode()
System\Security\Cryptography\ECDiffieHellmanWrapper.cs (1)
207public override int GetHashCode() => _wrapped.GetHashCode();
System\Security\Cryptography\RSAEncryptionPadding.cs (1)
92public override int GetHashCode()
System\Security\Cryptography\RSASignaturePadding.cs (1)
52public override int GetHashCode()
System\Security\Cryptography\X509Certificates\X509Certificate.cs (1)
504public override int GetHashCode()
System\Security\Cryptography\X509Certificates\X509CertificateCollection.cs (1)
79public override int GetHashCode()
System.Security.Permissions (25)
System\Net\EndpointPermission.cs (1)
13public override int GetHashCode() { return 0; }
System\Security\CodeAccessPermission.cs (1)
19public override int GetHashCode() => base.GetHashCode();
System\Security\Permissions\IDRole.cs (1)
47public override int GetHashCode()
System\Security\Permissions\KeyContainerPermissionAccessEntry.cs (1)
25public override int GetHashCode() { return 0; }
System\Security\Permissions\PrincipalPermission.cs (1)
211public override int GetHashCode()
System\Security\Permissions\StrongNamePublicKeyBlob.cs (1)
13public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\AllMembershipCondition.cs (1)
14public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\ApplicationDirectory.cs (1)
12public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\ApplicationDirectoryMembershipCondition.cs (1)
14public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\CodeConnectAccess.cs (1)
18public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\CodeGroup.cs (1)
26public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\GacInstalled.cs (1)
15public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\GacMembershipCondition.cs (1)
14public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\HashMembershipCondition.cs (1)
19public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\PolicyStatement.cs (1)
26public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\Publisher.cs (1)
18public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\PublisherMembershipCondition.cs (1)
17public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\Site.cs (1)
17public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\SiteMembershipCondition.cs (1)
15public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\StrongName.cs (1)
20public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\StrongNameMembershipCondition.cs (1)
22public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\Url.cs (1)
16public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\UrlMembershipCondition.cs (1)
15public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\Zone.cs (1)
17public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\ZoneMembershipCondition.cs (1)
15public override int GetHashCode() => base.GetHashCode();
System.Security.Principal.Windows (1)
System\Security\Principal\IdentityReference.cs (1)
21public abstract override int GetHashCode();
System.ServiceModel.Http (1)
System\ServiceModel\Channels\WebSocketTransportSettings.cs (1)
155public override int GetHashCode()
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\FramingEncoders.cs (1)
73public override int GetHashCode()
System.ServiceModel.Primitives (12)
System\IdentityModel\Claims\Claim.cs (1)
229public override int GetHashCode()
System\ServiceModel\Channels\AddressHeader.cs (1)
112public override int GetHashCode()
System\ServiceModel\Channels\MessageVersion.cs (1)
123public override int GetHashCode()
System\ServiceModel\Channels\RequestReplyCorrelator.cs (1)
260public override int GetHashCode()
System\ServiceModel\Description\DispatcherBuilder.cs (1)
89public override int GetHashCode()
System\ServiceModel\Description\MetadataConversionError.cs (1)
32public override int GetHashCode()
System\ServiceModel\Description\ServiceReflector.cs (1)
340public override int GetHashCode()
System\ServiceModel\EndpointAddress.cs (1)
450public override int GetHashCode()
System\ServiceModel\EndpointIdentity.cs (1)
118public override int GetHashCode()
System\ServiceModel\ProgrammaticEndpointTrait.cs (1)
46public override int GetHashCode()
System\ServiceModel\Security\SendSecurityHeader.cs (1)
740public override int GetHashCode()
System\ServiceModel\ServiceEndpointTrait.cs (1)
37public override int GetHashCode()
System.Speech (13)
AudioFormat\SpeechAudioFormatInfo.cs (1)
132public override int GetHashCode()
Internal\GrammarBuilding\BuilderElements.cs (1)
49public override int GetHashCode()
Internal\GrammarBuilding\GrammarBuilderDictation.cs (1)
35public override int GetHashCode()
Internal\GrammarBuilding\GrammarBuilderPhrase.cs (1)
66public override int GetHashCode()
Internal\GrammarBuilding\GrammarBuilderRuleRef.cs (1)
35public override int GetHashCode()
Internal\GrammarBuilding\GrammarBuilderWildcard.cs (1)
25public override int GetHashCode()
Internal\GrammarBuilding\RuleRefElement.cs (1)
38public override int GetHashCode()
Internal\ObjectToken\ObjectToken.cs (1)
100public override int GetHashCode()
Internal\Synthesis\ISSmlParser.cs (1)
85public override int GetHashCode()
Internal\Synthesis\TTSVoice.cs (1)
36public override int GetHashCode()
Result\SemanticValue.cs (1)
55public override int GetHashCode()
Synthesis\InstalledVoice.cs (1)
59public override int GetHashCode()
Synthesis\VoiceInfo.cs (1)
139public override int GetHashCode()
System.Text.Encoding.CodePages (2)
System\Text\DecoderBestFitFallback.cs (1)
38public override int GetHashCode() => encoding.CodePage;
System\Text\EncoderBestFitFallback.cs (1)
38public override int GetHashCode() => encoding.CodePage;
System.Text.Json.SourceGeneration (2)
src\runtime\src\libraries\Common\src\SourceGenerators\ImmutableEquatableArray.cs (1)
33public override int GetHashCode()
src\runtime\src\libraries\Common\src\SourceGenerators\TypeRef.cs (1)
40public override int GetHashCode() => FullyQualifiedName.GetHashCode();
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\Symbolic\BDD.cs (1)
141public override int GetHashCode() => _hashcode;
System\Text\RegularExpressions\Symbolic\MatchingState.cs (1)
174public override int GetHashCode() => HashCode.Combine(PrevCharKind, Node);
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\MetadataName.T.cs (1)
37public override int GetHashCode()
System.Transactions.Local (1)
System\Transactions\Transaction.cs (1)
309public override int GetHashCode()
System.Windows.Forms (16)
System\Windows\Forms\ComponentModel\COM2Interop\Com2TypeInfoProcessor.PropInfo.cs (1)
36public override int GetHashCode() => Name?.GetHashCode() ?? base.GetHashCode();
System\Windows\Forms\Controls\DataGridView\DataGridView.HitTestInfo.cs (1)
100public override int GetHashCode() => HashCode.Combine(_type, _row, _col);
System\Windows\Forms\Controls\DataGridView\DataGridViewAdvancedBorderStyle.cs (1)
290public override int GetHashCode() => HashCode.Combine(_top, _left, _bottom, _right);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyle.cs (1)
484public override int GetHashCode()
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1467public override int GetHashCode() => HashCode.Combine(PropertyLabel, PropertyType, GetType());
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (1)
695public override int GetHashCode() => _hashCode;
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (1)
819public override int GetHashCode() => _hashCode;
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.cs (1)
477public override int GetHashCode() => _hashCode;
System\Windows\Forms\DataBinding\BindingContext.HashKey.cs (1)
28public override int GetHashCode() => HashCode.Combine(_dataSourceHashCode, _dataMember);
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogButton.cs (1)
363public override int GetHashCode()
System\Windows\Forms\Input\Cursor.cs (1)
477public override unsafe int GetHashCode() => (int)_handle.Value;
System\Windows\Forms\Input\InputLanguage.cs (1)
281public override int GetHashCode() => (int)_handle;
System\Windows\Forms\Layout\ArrangedElementCollection.cs (1)
42public override int GetHashCode()
System\Windows\Forms\Layout\TableLayout.LayoutInfo.cs (1)
66public override int GetHashCode()
System\Windows\Forms\Screen.cs (1)
313public override int GetHashCode() => PARAM.ToInt(_hmonitor);
System\Windows\Forms\Scrolling\ScrollableControl.DockPaddingEdgesConverter.cs (1)
194public override int GetHashCode() => HashCode.Combine(Left, Top, Right, Bottom);
System.Windows.Forms.Design (3)
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
405public override int GetHashCode()
System\Drawing\Design\ToolboxItem.cs (1)
394public override int GetHashCode() => HashCode.Combine(TypeName, DisplayName);
System\Windows\Forms\Design\MaskDescriptor.cs (1)
144public override int GetHashCode()
System.Xaml (6)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
270public override int GetHashCode()
System\Xaml\AttachableMemberIdentifier.cs (1)
65public override int GetHashCode()
System\Xaml\Schema\XamlValueConverter.cs (1)
116public override int GetHashCode()
System\Xaml\XamlMember.cs (1)
1043public override int GetHashCode()
System\Xaml\XamlObjectReader.cs (1)
3048public override int GetHashCode()
System\Xaml\XamlType.cs (1)
1840public override int GetHashCode()
UIAutomationClient (1)
System\Windows\Automation\AutomationElement.cs (1)
317public override int GetHashCode()
UIAutomationTypes (2)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsCLR.cs (1)
87public override int GetHashCode()
System\Windows\Automation\AutomationIdentifier.cs (1)
114public override int GetHashCode()
1800 references to GetHashCode
Client.ClientBase.IntegrationTests (4)
SessionTests.cs (4)
251Assert.Equal(s_channel.GetHashCode(), c.GetHashCode()); 252Assert.Equal(s_channel.GetHashCode(), channel.GetHashCode());
ConfigurationSchemaGenerator (2)
RuntimeSource\SourceGenerators\DiagnosticInfo.cs (1)
54hashCode = HashHelpers.Combine(hashCode, messageArg?.GetHashCode() ?? 0);
RuntimeSource\SourceGenerators\ImmutableEquatableArray.cs (1)
38hash = HashHelpers.Combine(hash, value is null ? 0 : value.GetHashCode());
dotnet-svcutil-lib (49)
FrameworkFork\Microsoft.Xml\Xml\schema\ChameleonKey.cs (1)
52(originalSchema == null ? 0 : originalSchema.GetHashCode());
FrameworkFork\Microsoft.Xml\Xml\schema\ConstraintStruct.cs (3)
479_hashcode += ((XmlAtomicValue)atomicValues.GetValue(j)).TypedValue.GetHashCode(); 486_hashcode += ((Array)_ks[i].Value).GetValue(j).GetHashCode(); 492_hashcode += _ks[i].Value.GetHashCode();
FrameworkFork\Microsoft.Xml\Xml\Serialization\Compilation.cs (1)
285return ((_ns != null ? _ns.GetHashCode() : 0) ^ (_type != null ? _type.GetHashCode() : 0));
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigatorKeyComparer.cs (2)
49hashCode = underlyingObject.GetHashCode(); 61hashCode = obj.GetHashCode();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (3)
2208return base.GetHashCode(); 2545return _object1.GetHashCode() ^ _object2.GetHashCode();
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
161return String.Format(CultureInfo.CurrentCulture, "{0}/{1}", source.GetType().ToString(), source.GetHashCode());
FrameworkFork\System.ServiceModel\Internals\System\Runtime\InternalBufferManager.cs (1)
277_buffersPooled.TryRemove(returnValue.GetHashCode(), out dummy);
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\ClaimComparer.cs (1)
180return obj.GetHashCode();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
121WebSocket != null ? WebSocket.GetHashCode() : -1);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrSocketConnection.cs (4)
569WcfEventSource.Instance.SocketWriteStart(_socket.GetHashCode(), size, remoteEndpointAddressString); 573WcfEventSource.Instance.SocketAsyncWriteStart(_socket.GetHashCode(), size, remoteEndpointAddressString); 618WcfEventSource.Instance.SocketReadStop((_socket != null) ? _socket.GetHashCode() : -1, bytesRead, remoteEndpointAddressString); 622WcfEventSource.Instance.SocketAsyncReadStop((_socket != null) ? _socket.GetHashCode() : -1, bytesRead, remoteEndpointAddressString);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (23)
87WebSocket != null ? WebSocket.GetHashCode() : -1); 98WebSocket.GetHashCode(), 108WcfEventSource.Instance.WebSocketConnectionClosed(WebSocket.GetHashCode()); 117WebSocket.GetHashCode(), 131WebSocket.GetHashCode(), 197WebSocket.GetHashCode(), 209WcfEventSource.Instance.WebSocketAsyncWriteStop(WebSocket.GetHashCode()); 289WebSocket.GetHashCode(), 299WcfEventSource.Instance.WebSocketAsyncWriteStop(_webSocket.GetHashCode()); 427WcfEventSource.Instance.WebSocketAsyncWriteStop(WebSocket.GetHashCode()); 577WcfEventSource.Instance.WebSocketAsyncReadStart(_webSocket.GetHashCode()); 607_webSocket.GetHashCode(), 711_webSocket.GetHashCode(), 759WcfEventSource.Instance.WebSocketAsyncReadStart(_webSocket.GetHashCode()); 774_webSocket.GetHashCode(), 1054WcfEventSource.Instance.WebSocketAsyncReadStart(_webSocket.GetHashCode()); 1088WcfEventSource.Instance.WebSocketAsyncReadStop(_webSocket.GetHashCode(), receivedBytes, string.Empty); 1133_webSocket.GetHashCode(), 1159WcfEventSource.Instance.WebSocketAsyncWriteStop(_webSocket.GetHashCode()); 1174_webSocket.GetHashCode(), 1189WcfEventSource.Instance.WebSocketAsyncWriteStop(_webSocket.GetHashCode()); 1199_webSocket.GetHashCode(), 1213WcfEventSource.Instance.WebSocketAsyncWriteStop(_webSocket.GetHashCode());
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
264return obj.GetHashCode();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (3)
1247return this.Contract.GetHashCode() ^ this.Binding.GetHashCode(); 1272return this.Endpoint.GetHashCode() ^ this.ServiceQName.GetHashCode();
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\TraceUtility.cs (1)
261return source.GetType().ToString() + "/" + source.GetHashCode().ToString(CultureInfo.CurrentCulture);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ChannelHandler.cs (3)
197WcfEventSource.Instance.ChannelReceiveStop(this.EventTraceActivity, this.GetHashCode()); 239WcfEventSource.Instance.ChannelReceiveStart(this.EventTraceActivity, this.GetHashCode()); 743WcfEventSource.Instance.ChannelReceiveStop(handler.EventTraceActivity, state.GetHashCode());
GenerateDocumentationAndConfigFiles (59)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Hash.cs (4)
45return unchecked(hash + newKeyPart.GetHashCode()); 70hashCode = Hash.Combine(value.GetHashCode(), hashCode); 113hashCode = Hash.Combine(value.GetHashCode(), hashCode); 139hashCode = Hash.Combine(value.GetHashCode(), hashCode);
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (2)
77hashCode ^= t.GetHashCode(); // same hashcode as default comparer 88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
301=> _dictionary?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
317=> _set?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
588=> _list?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
183return _items.GetHashCode();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
414var hashCode = (uint)key.GetHashCode(); 525var hashCode = (uint)((SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null) ? key.GetHashCode() : comparer!.GetHashCode(key)); 712var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key)); 789var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key));
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (3)
237var hashCode = item!.GetHashCode(); 304SupportsComparerDevirtualization && typeof(T).IsValueType && comparer == null ? item!.GetHashCode() : 1038hashCode = value!.GetHashCode();
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\HashUtilities.cs (1)
19=> obj?.GetHashCode() ?? 0;
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\RoslynHashCode.cs (38)
96var hc1 = (uint)(value1?.GetHashCode() ?? 0); 109var hc1 = (uint)(value1?.GetHashCode() ?? 0); 110var hc2 = (uint)(value2?.GetHashCode() ?? 0); 124var hc1 = (uint)(value1?.GetHashCode() ?? 0); 125var hc2 = (uint)(value2?.GetHashCode() ?? 0); 126var hc3 = (uint)(value3?.GetHashCode() ?? 0); 141var hc1 = (uint)(value1?.GetHashCode() ?? 0); 142var hc2 = (uint)(value2?.GetHashCode() ?? 0); 143var hc3 = (uint)(value3?.GetHashCode() ?? 0); 144var hc4 = (uint)(value4?.GetHashCode() ?? 0); 162var hc1 = (uint)(value1?.GetHashCode() ?? 0); 163var hc2 = (uint)(value2?.GetHashCode() ?? 0); 164var hc3 = (uint)(value3?.GetHashCode() ?? 0); 165var hc4 = (uint)(value4?.GetHashCode() ?? 0); 166var hc5 = (uint)(value5?.GetHashCode() ?? 0); 186var hc1 = (uint)(value1?.GetHashCode() ?? 0); 187var hc2 = (uint)(value2?.GetHashCode() ?? 0); 188var hc3 = (uint)(value3?.GetHashCode() ?? 0); 189var hc4 = (uint)(value4?.GetHashCode() ?? 0); 190var hc5 = (uint)(value5?.GetHashCode() ?? 0); 191var hc6 = (uint)(value6?.GetHashCode() ?? 0); 212var hc1 = (uint)(value1?.GetHashCode() ?? 0); 213var hc2 = (uint)(value2?.GetHashCode() ?? 0); 214var hc3 = (uint)(value3?.GetHashCode() ?? 0); 215var hc4 = (uint)(value4?.GetHashCode() ?? 0); 216var hc5 = (uint)(value5?.GetHashCode() ?? 0); 217var hc6 = (uint)(value6?.GetHashCode() ?? 0); 218var hc7 = (uint)(value7?.GetHashCode() ?? 0); 240var hc1 = (uint)(value1?.GetHashCode() ?? 0); 241var hc2 = (uint)(value2?.GetHashCode() ?? 0); 242var hc3 = (uint)(value3?.GetHashCode() ?? 0); 243var hc4 = (uint)(value4?.GetHashCode() ?? 0); 244var hc5 = (uint)(value5?.GetHashCode() ?? 0); 245var hc6 = (uint)(value6?.GetHashCode() ?? 0); 246var hc7 = (uint)(value7?.GetHashCode() ?? 0); 247var hc8 = (uint)(value8?.GetHashCode() ?? 0); 313Add(value?.GetHashCode() ?? 0); 318Add(value is null ? 0 : (comparer?.GetHashCode(value) ?? value.GetHashCode()));
src\roslyn\src\RoslynAnalyzers\Utilities\Workspaces\SyntaxGeneratorExtensions.cs (1)
395/// Creates a default declaration for an override of <see cref="object.GetHashCode()"/>.
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
300=> Hash.Combine(x.GetHashCode(), currentHash);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (1)
76/// Generates an override of <see cref="object.GetHashCode()"/> similar to the one
ILAssembler (1)
EntityRegistry.cs (1)
67return (obj.Item1.GetHashCode(), obj.Item2.Count).GetHashCode();
ILCompiler.Compiler (28)
Compiler\AnalysisBasedMetadataManager.cs (2)
320public override int GetHashCode() => Module.GetHashCode() ^ CustomAttributeHandle.GetHashCode(); 335public override int GetHashCode() => Module.GetHashCode() ^ ParameterHandle.GetHashCode();
Compiler\DelegateCreationInfo.cs (1)
332return Constructor.GetHashCode() ^ _targetMethod.GetHashCode();
Compiler\DependencyAnalysis\ExternalReferencesTableNode.cs (1)
137return Symbol.GetHashCode();
Compiler\DependencyAnalysis\NodeFactory.cs (4)
1742hashCode = hashCode * 23 + Target.GetHashCode(); 1766hashCode = hashCode * 23 + Target.GetHashCode(); 1767hashCode = hashCode * 23 + DictionaryOwner.GetHashCode(); 1789hashCode = hashCode * 23 + CallsiteId.GetHashCode();
Compiler\DependencyAnalysis\NodeFactory.NativeLayout.cs (1)
441hashCode ^= FunctionPointerTarget.GetHashCode();
Compiler\DependencyAnalysis\PInvokeModuleFixupNode.cs (1)
106return ModuleName.GetHashCode() ^ DeclaringModule.GetHashCode();
Compiler\Logging\UnconditionalSuppressMessageAttributeState.cs (2)
50protected override int GetKeyHashCode(EcmaAssembly key) => key.GetHashCode(); 51protected override int GetValueHashCode(EcmaAssembly value) => value.GetHashCode();
Compiler\ManifestResourceBlockingPolicy.cs (2)
88protected override int GetKeyHashCode(EcmaModule key) => key.GetHashCode(); 89protected override int GetValueHashCode(AssemblyFeatureInfo value) => value.Module.GetHashCode();
Compiler\SubstitutionProvider.cs (2)
165protected override int GetKeyHashCode(EcmaModule key) => key.GetHashCode(); 166protected override int GetValueHashCode(AssemblyFeatureInfo value) => value.Module.GetHashCode();
Compiler\UsageBasedMetadataManager.cs (2)
1086protected override int GetKeyHashCode(EcmaModule key) => key.GetHashCode(); 1087protected override int GetValueHashCode(AssemblyFeatureInfo value) => value.Module.GetHashCode();
src\runtime\src\coreclr\tools\Common\Compiler\CompilerTypeSystemContext.cs (2)
37return key.GetHashCode(); 41return value.Module.GetHashCode();
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\ModuleCycleInfo.cs (4)
47protected override int GetKeyHashCode(EcmaModule key) => key.GetHashCode(); 48protected override int GetValueHashCode(ModuleCycleInfo value) => value.Module.GetHashCode(); 103public override int GetHashCode() => HashCode.Combine(Owner.GetHashCode(), Referent.GetHashCode());
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\VersionResilientHashCode.TypeSystem.cs (1)
41int argumentHashCode = instantiation[i].GetHashCode();
src\runtime\src\coreclr\tools\Common\TypeSystem\IL\Stubs\AssemblyGetExecutingAssemblyMethodThunk.cs (2)
114return key.GetHashCode(); 118return value.ExecutingAssembly.GetHashCode();
src\runtime\src\tools\illink\src\ILLink.Shared\DataFlow\ValueSet.cs (1)
228return _values.GetHashCode();
ILCompiler.DependencyAnalysisFramework (1)
DependencyNode.cs (1)
43return base.GetHashCode();
ILCompiler.MetadataTransform (52)
ILCompiler\Metadata\Transform.TypeForwarders.cs (1)
107public override int GetHashCode() => HashCode.Combine(Module.GetHashCode(), ExportedType.GetHashCode());
Internal\Metadata\NativeFormat\Writer\NativeFormatWriterGen.cs (33)
54hash = ((hash << 13) - (hash >> 19)) ^ (ElementType == null ? 0 : ElementType.GetHashCode()); 138hash = ((hash << 13) - (hash >> 19)) ^ (Type == null ? 0 : Type.GetHashCode()); 725hash = ((hash << 13) - (hash >> 19)) ^ (ElementType == null ? 0 : ElementType.GetHashCode()); 726hash = ((hash << 13) - (hash >> 19)) ^ (Value == null ? 0 : Value.GetHashCode()); 794hash = ((hash << 13) - (hash >> 19)) ^ (Value == null ? 0 : Value.GetHashCode()); 795hash = ((hash << 13) - (hash >> 19)) ^ (Type == null ? 0 : Type.GetHashCode()); 2171hash = ((hash << 13) - (hash >> 19)) ^ (Constructor == null ? 0 : Constructor.GetHashCode()); 2174hash = ((hash << 13) - (hash >> 19)) ^ (FixedArguments[i] == null ? 0 : FixedArguments[i].GetHashCode()); 2293hash = ((hash << 13) - (hash >> 19)) ^ (Type == null ? 0 : Type.GetHashCode()); 2388hash = ((hash << 13) - (hash >> 19)) ^ (DefaultValue == null ? 0 : DefaultValue.GetHashCode()); 2501hash = ((hash << 13) - (hash >> 19)) ^ (Type == null ? 0 : Type.GetHashCode()); 2647hash = ((hash << 13) - (hash >> 19)) ^ (Constraints[i] == null ? 0 : Constraints[i].GetHashCode()); 2731hash = ((hash << 13) - (hash >> 19)) ^ (Parent == null ? 0 : Parent.GetHashCode()); 2733hash = ((hash << 13) - (hash >> 19)) ^ (Signature == null ? 0 : Signature.GetHashCode()); 2907hash = ((hash << 13) - (hash >> 19)) ^ (Method == null ? 0 : Method.GetHashCode()); 3057hash = ((hash << 13) - (hash >> 19)) ^ (ReturnType == null ? 0 : ReturnType.GetHashCode()); 3060hash = ((hash << 13) - (hash >> 19)) ^ (Parameters[i] == null ? 0 : Parameters[i].GetHashCode()); 3064hash = ((hash << 13) - (hash >> 19)) ^ (VarArgParameters[i] == null ? 0 : VarArgParameters[i].GetHashCode()); 3219hash = ((hash << 13) - (hash >> 19)) ^ (ModifierType == null ? 0 : ModifierType.GetHashCode()); 3220hash = ((hash << 13) - (hash >> 19)) ^ (Type == null ? 0 : Type.GetHashCode()); 3304hash = ((hash << 13) - (hash >> 19)) ^ (Type == null ? 0 : Type.GetHashCode()); 3305hash = ((hash << 13) - (hash >> 19)) ^ (Value == null ? 0 : Value.GetHashCode()); 3418hash = ((hash << 13) - (hash >> 19)) ^ (ParentScopeOrNamespace == null ? 0 : ParentScopeOrNamespace.GetHashCode()); 3496hash = ((hash << 13) - (hash >> 19)) ^ (ParentScopeOrNamespace == null ? 0 : ParentScopeOrNamespace.GetHashCode()); 3575hash = ((hash << 13) - (hash >> 19)) ^ (DefaultValue == null ? 0 : DefaultValue.GetHashCode()); 3681hash = ((hash << 13) - (hash >> 19)) ^ (Type == null ? 0 : Type.GetHashCode()); 3766hash = ((hash << 13) - (hash >> 19)) ^ (DefaultValue == null ? 0 : DefaultValue.GetHashCode()); 3882hash = ((hash << 13) - (hash >> 19)) ^ (Type == null ? 0 : Type.GetHashCode()); 3885hash = ((hash << 13) - (hash >> 19)) ^ (Parameters[i] == null ? 0 : Parameters[i].GetHashCode()); 4102hash = ((hash << 13) - (hash >> 19)) ^ (ElementType == null ? 0 : ElementType.GetHashCode()); 4584hash = ((hash << 13) - (hash >> 19)) ^ (GenericType == null ? 0 : GenericType.GetHashCode()); 4661hash = ((hash << 13) - (hash >> 19)) ^ (ParentNamespaceOrType == null ? 0 : ParentNamespaceOrType.GetHashCode()); 4731hash = ((hash << 13) - (hash >> 19)) ^ (Signature == null ? 0 : Signature.GetHashCode());
src\runtime\src\coreclr\tools\Common\Internal\NativeFormat\NativeFormatWriter.cs (18)
587int hash = _item1.GetHashCode() * 93481 + _item2.GetHashCode() + 3492; 589hash += (hash << 7) + _item3.GetHashCode() * 34987 + 213; 746int value = (element != null ? element.GetHashCode() : 0) * 0x5498341 + 0x832424; 813return _item.GetHashCode() >> 3; 853return _item.GetHashCode(); 947hash += (hash << 5) + _containingType.GetHashCode(); 949hash += (hash << 5) + _args[iArg].GetHashCode(); 1008return 53345 + 97 * (int)_kind + ((_signature != null) ? _signature.GetHashCode() : 0); 1051return 456789 + 101 * (int)_staticDataKind + _type.GetHashCode(); 1094return 124121 + 47 * (int)_slot + _type.GetHashCode(); 1151int hash = 317 + 709 * (int)_callingConvention + 953 * (int)_genericArgCount + 31 * _returnType.GetHashCode(); 1153hash += (hash << 5) + p.GetHashCode(); 1204return 432981 + 37 * (int)_modifier + _param.GetHashCode(); 1279hash += (hash << 5) + _typeDef.GetHashCode(); 1281hash += (hash << 5) + _args[iArg].GetHashCode(); 1340int hash = 79 + 971 * (int)_rank + 83 * _arrayElementType.GetHashCode(); 1401return _methodSignature.GetHashCode();
ILCompiler.ReadyToRun (40)
Compiler\DependencyAnalysis\ReadyToRun\ModuleToken.cs (1)
44return IsNull ? 0 : Module.GetHashCode() ^ unchecked((int)(31 * (uint)Token));
Compiler\DependencyAnalysis\ReadyToRun\SignatureContext.cs (2)
97return (GlobalContext?.GetHashCode() ?? 0) ^ ((LocalContext?.GetHashCode() ?? 0) * 31);
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (3)
241hashCode = hashCode * 23 + Target.GetHashCode(); 242hashCode = hashCode * 23 + DictionaryOwner.GetHashCode(); 265return hashCode * 23 + Module.GetHashCode();
Compiler\DependencyAnalysis\ReadyToRunSymbolNodeFactory.cs (1)
242return Id.GetHashCode() ^ (Target.GetHashCode() * 23);
Compiler\ReadyToRunMetadataFieldLayoutAlgorithm.cs (2)
424return key.GetHashCode(); 429return value.Module.GetHashCode();
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
453public override int GetHashCode() => Context.GetHashCode();
src\runtime\src\coreclr\tools\Common\CallingConvention\ArgIterator.cs (2)
229_returnType.GetHashCode() : 230VersionResilientHashCode.GenericInstanceHashCode(_returnType.GetHashCode(), _parameterTypes));
src\runtime\src\coreclr\tools\Common\Compiler\CompilerTypeSystemContext.cs (2)
37return key.GetHashCode(); 41return value.Module.GetHashCode();
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\ModuleCycleInfo.cs (4)
47protected override int GetKeyHashCode(EcmaModule key) => key.GetHashCode(); 48protected override int GetValueHashCode(ModuleCycleInfo value) => value.Module.GetHashCode(); 103public override int GetHashCode() => HashCode.Combine(Owner.GetHashCode(), Referent.GetHashCode());
src\runtime\src\coreclr\tools\Common\Internal\NativeFormat\NativeFormatWriter.cs (18)
587int hash = _item1.GetHashCode() * 93481 + _item2.GetHashCode() + 3492; 589hash += (hash << 7) + _item3.GetHashCode() * 34987 + 213; 746int value = (element != null ? element.GetHashCode() : 0) * 0x5498341 + 0x832424; 813return _item.GetHashCode() >> 3; 853return _item.GetHashCode(); 947hash += (hash << 5) + _containingType.GetHashCode(); 949hash += (hash << 5) + _args[iArg].GetHashCode(); 1008return 53345 + 97 * (int)_kind + ((_signature != null) ? _signature.GetHashCode() : 0); 1051return 456789 + 101 * (int)_staticDataKind + _type.GetHashCode(); 1094return 124121 + 47 * (int)_slot + _type.GetHashCode(); 1151int hash = 317 + 709 * (int)_callingConvention + 953 * (int)_genericArgCount + 31 * _returnType.GetHashCode(); 1153hash += (hash << 5) + p.GetHashCode(); 1204return 432981 + 37 * (int)_modifier + _param.GetHashCode(); 1279hash += (hash << 5) + _typeDef.GetHashCode(); 1281hash += (hash << 5) + _args[iArg].GetHashCode(); 1340int hash = 79 + 971 * (int)_rank + 83 * _arrayElementType.GetHashCode(); 1401return _methodSignature.GetHashCode();
src\runtime\src\coreclr\tools\Common\JitInterface\IJitHashableOnly.cs (2)
17return obj.GetHashCode(); 28return obj.GetHashCode();
src\runtime\src\coreclr\tools\Common\Pgo\TypeSystemEntityOrUnknown.cs (1)
46public override int GetHashCode() => _data?.GetHashCode() ?? 0;
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\VersionResilientHashCode.TypeSystem.cs (1)
41int argumentHashCode = instantiation[i].GetHashCode();
ILCompiler.RyuJit (3)
src\runtime\src\coreclr\tools\Common\JitInterface\IJitHashableOnly.cs (2)
17return obj.GetHashCode(); 28return obj.GetHashCode();
src\runtime\src\coreclr\tools\Common\Pgo\TypeSystemEntityOrUnknown.cs (1)
46public override int GetHashCode() => _data?.GetHashCode() ?? 0;
ILCompiler.TypeSystem (2)
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\TypeHashingAlgorithms.cs (1)
82int parameterHashCode = parameters[i].GetHashCode();
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\VersionResilientHashCode.TypeSystem.cs (1)
41int argumentHashCode = instantiation[i].GetHashCode();
illink (3)
ILLink.RoslynAnalyzer (8)
DataFlow\CapturedReferenceValue.cs (1)
45=> Reference?.GetHashCode() ?? 0;
DataFlow\LocalStateLattice.cs (1)
50public override int GetHashCode() => Operation.GetHashCode();
src\runtime\src\tools\illink\src\ILLink.Shared\DataFlow\ValueSet.cs (1)
228return _values.GetHashCode();
src\runtime\src\tools\illink\src\ILLink.Shared\HashUtils.cs (5)
24return value1.GetHashCode() * Multiplier + value2.GetHashCode(); 36return (value1.GetHashCode() * Multiplier + value2.GetHashCode()) * Multiplier + value3.GetHashCode();
Microsoft.AspNetCore.App.Analyzers (1)
RouteHandlers\DetectAmbiguousRoutes.cs (1)
297return (ParentOperation?.GetHashCode() ?? 0) ^ AmbiguousRoutePatternComparer.Instance.GetHashCode(RoutePattern);
Microsoft.AspNetCore.App.CodeFixes (38)
src\aspnetcore\src\Shared\HashCode.cs (38)
87var hc1 = (uint)(value1?.GetHashCode() ?? 0); 100var hc1 = (uint)(value1?.GetHashCode() ?? 0); 101var hc2 = (uint)(value2?.GetHashCode() ?? 0); 115var hc1 = (uint)(value1?.GetHashCode() ?? 0); 116var hc2 = (uint)(value2?.GetHashCode() ?? 0); 117var hc3 = (uint)(value3?.GetHashCode() ?? 0); 132var hc1 = (uint)(value1?.GetHashCode() ?? 0); 133var hc2 = (uint)(value2?.GetHashCode() ?? 0); 134var hc3 = (uint)(value3?.GetHashCode() ?? 0); 135var hc4 = (uint)(value4?.GetHashCode() ?? 0); 153var hc1 = (uint)(value1?.GetHashCode() ?? 0); 154var hc2 = (uint)(value2?.GetHashCode() ?? 0); 155var hc3 = (uint)(value3?.GetHashCode() ?? 0); 156var hc4 = (uint)(value4?.GetHashCode() ?? 0); 157var hc5 = (uint)(value5?.GetHashCode() ?? 0); 177var hc1 = (uint)(value1?.GetHashCode() ?? 0); 178var hc2 = (uint)(value2?.GetHashCode() ?? 0); 179var hc3 = (uint)(value3?.GetHashCode() ?? 0); 180var hc4 = (uint)(value4?.GetHashCode() ?? 0); 181var hc5 = (uint)(value5?.GetHashCode() ?? 0); 182var hc6 = (uint)(value6?.GetHashCode() ?? 0); 203var hc1 = (uint)(value1?.GetHashCode() ?? 0); 204var hc2 = (uint)(value2?.GetHashCode() ?? 0); 205var hc3 = (uint)(value3?.GetHashCode() ?? 0); 206var hc4 = (uint)(value4?.GetHashCode() ?? 0); 207var hc5 = (uint)(value5?.GetHashCode() ?? 0); 208var hc6 = (uint)(value6?.GetHashCode() ?? 0); 209var hc7 = (uint)(value7?.GetHashCode() ?? 0); 231var hc1 = (uint)(value1?.GetHashCode() ?? 0); 232var hc2 = (uint)(value2?.GetHashCode() ?? 0); 233var hc3 = (uint)(value3?.GetHashCode() ?? 0); 234var hc4 = (uint)(value4?.GetHashCode() ?? 0); 235var hc5 = (uint)(value5?.GetHashCode() ?? 0); 236var hc6 = (uint)(value6?.GetHashCode() ?? 0); 237var hc7 = (uint)(value7?.GetHashCode() ?? 0); 238var hc8 = (uint)(value8?.GetHashCode() ?? 0); 304Add(value?.GetHashCode() ?? 0); 309Add(value is null ? 0 : (comparer?.GetHashCode(value) ?? value.GetHashCode()));
Microsoft.AspNetCore.Components.AI (1)
Components\AgentBoundary.cs (1)
56builder.OpenRegion(_context.GetHashCode());
Microsoft.AspNetCore.Components.Web (1)
Forms\EditForm.cs (1)
138builder.OpenRegion(_editContext.GetHashCode());
Microsoft.AspNetCore.Http.RequestDelegateGenerator (38)
src\aspnetcore\src\Shared\HashCode.cs (38)
87var hc1 = (uint)(value1?.GetHashCode() ?? 0); 100var hc1 = (uint)(value1?.GetHashCode() ?? 0); 101var hc2 = (uint)(value2?.GetHashCode() ?? 0); 115var hc1 = (uint)(value1?.GetHashCode() ?? 0); 116var hc2 = (uint)(value2?.GetHashCode() ?? 0); 117var hc3 = (uint)(value3?.GetHashCode() ?? 0); 132var hc1 = (uint)(value1?.GetHashCode() ?? 0); 133var hc2 = (uint)(value2?.GetHashCode() ?? 0); 134var hc3 = (uint)(value3?.GetHashCode() ?? 0); 135var hc4 = (uint)(value4?.GetHashCode() ?? 0); 153var hc1 = (uint)(value1?.GetHashCode() ?? 0); 154var hc2 = (uint)(value2?.GetHashCode() ?? 0); 155var hc3 = (uint)(value3?.GetHashCode() ?? 0); 156var hc4 = (uint)(value4?.GetHashCode() ?? 0); 157var hc5 = (uint)(value5?.GetHashCode() ?? 0); 177var hc1 = (uint)(value1?.GetHashCode() ?? 0); 178var hc2 = (uint)(value2?.GetHashCode() ?? 0); 179var hc3 = (uint)(value3?.GetHashCode() ?? 0); 180var hc4 = (uint)(value4?.GetHashCode() ?? 0); 181var hc5 = (uint)(value5?.GetHashCode() ?? 0); 182var hc6 = (uint)(value6?.GetHashCode() ?? 0); 203var hc1 = (uint)(value1?.GetHashCode() ?? 0); 204var hc2 = (uint)(value2?.GetHashCode() ?? 0); 205var hc3 = (uint)(value3?.GetHashCode() ?? 0); 206var hc4 = (uint)(value4?.GetHashCode() ?? 0); 207var hc5 = (uint)(value5?.GetHashCode() ?? 0); 208var hc6 = (uint)(value6?.GetHashCode() ?? 0); 209var hc7 = (uint)(value7?.GetHashCode() ?? 0); 231var hc1 = (uint)(value1?.GetHashCode() ?? 0); 232var hc2 = (uint)(value2?.GetHashCode() ?? 0); 233var hc3 = (uint)(value3?.GetHashCode() ?? 0); 234var hc4 = (uint)(value4?.GetHashCode() ?? 0); 235var hc5 = (uint)(value5?.GetHashCode() ?? 0); 236var hc6 = (uint)(value6?.GetHashCode() ?? 0); 237var hc7 = (uint)(value7?.GetHashCode() ?? 0); 238var hc8 = (uint)(value8?.GetHashCode() ?? 0); 304Add(value?.GetHashCode() ?? 0); 309Add(value is null ? 0 : (comparer?.GetHashCode(value) ?? value.GetHashCode()));
Microsoft.AspNetCore.JsonPatch.SystemTextJson (1)
Operations\Operation.cs (1)
38=> ShouldSerializeValue ? Value?.GetHashCode() ?? 0 : 0;
Microsoft.AspNetCore.OpenApi.SourceGenerators (38)
src\aspnetcore\src\Shared\HashCode.cs (38)
87var hc1 = (uint)(value1?.GetHashCode() ?? 0); 100var hc1 = (uint)(value1?.GetHashCode() ?? 0); 101var hc2 = (uint)(value2?.GetHashCode() ?? 0); 115var hc1 = (uint)(value1?.GetHashCode() ?? 0); 116var hc2 = (uint)(value2?.GetHashCode() ?? 0); 117var hc3 = (uint)(value3?.GetHashCode() ?? 0); 132var hc1 = (uint)(value1?.GetHashCode() ?? 0); 133var hc2 = (uint)(value2?.GetHashCode() ?? 0); 134var hc3 = (uint)(value3?.GetHashCode() ?? 0); 135var hc4 = (uint)(value4?.GetHashCode() ?? 0); 153var hc1 = (uint)(value1?.GetHashCode() ?? 0); 154var hc2 = (uint)(value2?.GetHashCode() ?? 0); 155var hc3 = (uint)(value3?.GetHashCode() ?? 0); 156var hc4 = (uint)(value4?.GetHashCode() ?? 0); 157var hc5 = (uint)(value5?.GetHashCode() ?? 0); 177var hc1 = (uint)(value1?.GetHashCode() ?? 0); 178var hc2 = (uint)(value2?.GetHashCode() ?? 0); 179var hc3 = (uint)(value3?.GetHashCode() ?? 0); 180var hc4 = (uint)(value4?.GetHashCode() ?? 0); 181var hc5 = (uint)(value5?.GetHashCode() ?? 0); 182var hc6 = (uint)(value6?.GetHashCode() ?? 0); 203var hc1 = (uint)(value1?.GetHashCode() ?? 0); 204var hc2 = (uint)(value2?.GetHashCode() ?? 0); 205var hc3 = (uint)(value3?.GetHashCode() ?? 0); 206var hc4 = (uint)(value4?.GetHashCode() ?? 0); 207var hc5 = (uint)(value5?.GetHashCode() ?? 0); 208var hc6 = (uint)(value6?.GetHashCode() ?? 0); 209var hc7 = (uint)(value7?.GetHashCode() ?? 0); 231var hc1 = (uint)(value1?.GetHashCode() ?? 0); 232var hc2 = (uint)(value2?.GetHashCode() ?? 0); 233var hc3 = (uint)(value3?.GetHashCode() ?? 0); 234var hc4 = (uint)(value4?.GetHashCode() ?? 0); 235var hc5 = (uint)(value5?.GetHashCode() ?? 0); 236var hc6 = (uint)(value6?.GetHashCode() ?? 0); 237var hc7 = (uint)(value7?.GetHashCode() ?? 0); 238var hc8 = (uint)(value8?.GetHashCode() ?? 0); 304Add(value?.GetHashCode() ?? 0); 309Add(value is null ? 0 : (comparer?.GetHashCode(value) ?? value.GetHashCode()));
Microsoft.AspNetCore.Server.HttpSys (1)
ValidationHelper.cs (1)
59return objectValue.GetHashCode().ToString(NumberFormatInfo.InvariantInfo);
Microsoft.AspNetCore.Server.IIS (1)
Core\WrappingStream.cs (1)
114=> _inner.GetHashCode();
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Infrastructure\KestrelEventSource.cs (1)
246Configuration(options.GetHashCode(), serializedConfig);
Internal\Infrastructure\WrappingStream.cs (1)
113=> _inner.GetHashCode();
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnectionBuilder.cs (1)
63return base.GetHashCode();
Microsoft.AspNetCore.SignalR.Core (1)
Internal\HubGroupList.cs (1)
89return base.GetHashCode();
Microsoft.Build (20)
BackEnd\Components\Logging\LoggingService.cs (1)
1481_loggingEventProcessingThread.Name = $"MSBuild LoggingService events queue pump: {this.GetHashCode()}";
BackEnd\Components\ProjectCache\ProjectCacheDescriptorEqualityComparer.cs (1)
46hashCode = (hashCode * -1521134295) + obj.PluginInstance.GetHashCode();
Definition\Project.cs (4)
2073Trace.WriteLine(String.Format(CultureInfo.InvariantCulture, "MSBUILD: Explicitly marked dirty, eg., because a global property was set, or an import, such as a .user file, was created on disk [{0}] [PC Hash {1}]", FullPath, ProjectCollection.GetHashCode())); 2085Trace.WriteLine(String.Format(CultureInfo.InvariantCulture, "MSBUILD: Is dirty because {0} [{1}] [PC Hash {2}]", Xml.LastDirtyReason, FullPath, ProjectCollection.GetHashCode())); 2096Trace.WriteLine(String.Format(CultureInfo.InvariantCulture, "MSBUILD: Is dirty because toolsets updated [{0}] [PC Hash {1}]", FullPath, ProjectCollection.GetHashCode())); 2112Trace.WriteLine(String.Format(CultureInfo.InvariantCulture, "MSBUILD: Is dirty because {0} [{1} - {2}] [PC Hash {3}]", reason, FullPath, import.ImportedProject.FullPath == FullPath ? String.Empty : import.ImportedProject.FullPath, ProjectCollection.GetHashCode()));
Graph\ProjectGraph.cs (1)
1039int hashCode = Node.GetHashCode() * salt;
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2.cs (1)
301=> _dictionary?.GetHashCode() ?? 0;
src\5057ed6cf5d6323b\ImmutableSegmentedHashSet`1.cs (1)
317=> _set?.GetHashCode() ?? 0;
src\5057ed6cf5d6323b\ImmutableSegmentedList`1.cs (1)
588=> _list?.GetHashCode() ?? 0;
src\5057ed6cf5d6323b\SegmentedDictionary`2.cs (4)
414var hashCode = (uint)key.GetHashCode(); 525var hashCode = (uint)((SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null) ? key.GetHashCode() : comparer!.GetHashCode(key)); 712var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key)); 789var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key));
src\697a1c9088572269\SegmentedHashSetEqualityComparer`1.cs (2)
77hashCode ^= t.GetHashCode(); // same hashcode as default comparer 88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Segmented\SegmentedArray`1.cs (1)
183return _items.GetHashCode();
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Segmented\SegmentedHashSet`1.cs (3)
237var hashCode = item!.GetHashCode(); 304SupportsComparerDevirtualization && typeof(T).IsValueType && comparer == null ? item!.GetHashCode() : 1038hashCode = value!.GetHashCode();
Microsoft.Build.Framework (9)
ReuseableStringBuilder.cs (7)
266MSBuildEventSource.Log.ReusableStringBuilderFactoryStart(hash: returned.GetHashCode(), newCapacity: capacity, oldCapacity: 0, type: "miss"); 275MSBuildEventSource.Log.ReusableStringBuilderFactoryStart(hash: returned.GetHashCode(), newCapacity: newCapacity, oldCapacity: returned.Capacity, type: "miss-need-bigger"); 284MSBuildEventSource.Log.ReusableStringBuilderFactoryStart(hash: returned.GetHashCode(), newCapacity: capacity, oldCapacity: returned.Capacity, type: "hit"); 319MSBuildEventSource.Log.ReusableStringBuilderFactoryStop(hash: returningBuilder.GetHashCode(), returningCapacity: returningBuilder.Capacity, returningLength: returningLength, type: "discard"); 345MSBuildEventSource.Log.ReusableStringBuilderFactoryUnbalanced(oldHash: oldSharedBuilder.GetHashCode(), newHash: returningBuilder.GetHashCode()); 348MSBuildEventSource.Log.ReusableStringBuilderFactoryStop(hash: returningBuilder.GetHashCode(), returningCapacity: returningBuilder.Capacity, returningLength: returningLength, type: returning._borrowedBuilder != returningBuilder ? "return-new" : "return");
Utilities\StringBuilderCache.cs (2)
122hash: builder.GetHashCode(), 130hash: builder.GetHashCode(),
Microsoft.Build.Tasks.Git (4)
src\sourcelink\src\Common\Utilities\Hash.cs (4)
38return unchecked(hash + newKeyPart.GetHashCode()); 63hashCode = Hash.Combine(value.GetHashCode(), hashCode); 106hashCode = Hash.Combine(value.GetHashCode(), hashCode); 132hashCode = Hash.Combine(value.GetHashCode(), hashCode);
Microsoft.CodeAnalysis (48)
Diagnostic\LocalizableResourceString.cs (1)
92Hash.Combine(_resourceManager.GetHashCode(),
Diagnostic\MetadataLocation.cs (1)
37return _module.GetHashCode();
DiagnosticAnalyzer\DiagnosticAnalyzer.cs (1)
31public sealed override int GetHashCode() => base.GetHashCode();
DiagnosticAnalyzer\SourceOrAdditionalFile.cs (2)
49return Hash.Combine(true, SourceTree.GetHashCode()); 54return Hash.Combine(false, AdditionalFile.GetHashCode());
InternalUtilities\Hash.cs (4)
45return unchecked(hash + newKeyPart.GetHashCode()); 70hashCode = Hash.Combine(value.GetHashCode(), hashCode); 113hashCode = Hash.Combine(value.GetHashCode(), hashCode); 139hashCode = Hash.Combine(value.GetHashCode(), hashCode);
MetadataReference\CompilationReference.cs (1)
140return Hash.Combine(this.Compilation.GetHashCode(), this.Properties.GetHashCode());
PEWriter\SymbolEquivalentEqualityComparer.cs (2)
51return objSymbol.GetHashCode(); 86return objSymbol.GetHashCode();
PEWriter\UsedNamespaceOrType.cs (4)
117return objSymbol.GetHashCode(); 120return obj?.GetHashCode() ?? 0; 156return objSymbol.GetHashCode(); 159return obj?.GetHashCode() ?? 0;
ReferenceManager\AssemblyData.cs (1)
81return base.GetHashCode();
SourceGeneration\Nodes\NodeExtensions.cs (5)
19CodeAnalysisEventSource.Log.NodeTransform(self.GetHashCode(), 22previousTable?.GetHashCode() ?? -1, 24newTableOpt?.GetHashCode() ?? -1, 26inputNode1.GetHashCode(), 27inputNode2?.GetHashCode() ?? -1);
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (2)
77hashCode ^= t.GetHashCode(); // same hashcode as default comparer 88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
301=> _dictionary?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
317=> _set?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
588=> _list?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
183return _items.GetHashCode();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
414var hashCode = (uint)key.GetHashCode(); 525var hashCode = (uint)((SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null) ? key.GetHashCode() : comparer!.GetHashCode(key)); 712var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key)); 789var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key));
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (3)
237var hashCode = item!.GetHashCode(); 304SupportsComparerDevirtualization && typeof(T).IsValueType && comparer == null ? item!.GetHashCode() : 1038hashCode = value!.GetHashCode();
SwitchConstantValueHelper.cs (1)
156return obj.GetHashCode();
SymbolDisplay\FormattedSymbol.cs (2)
49_symbol.GetHashCode(), 50_symbolDisplayFormat.GetHashCode());
Symbols\Attributes\CommonAttributeDataComparer.cs (2)
54int hash = attr.AttributeClass?.GetHashCode() ?? 0; 55hash = attr.AttributeConstructor != null ? Hash.Combine(attr.AttributeConstructor.GetHashCode(), hash) : hash;
Symbols\SymbolEqualityComparer.cs (1)
62return obj?.GetHashCode() ?? 0;
Symbols\TypedConstantValue.cs (1)
64return _value?.GetHashCode() ?? 0;
Syntax\ChildSyntaxList.cs (1)
457return _node?.GetHashCode() ?? 0;
Syntax\ChildSyntaxList.Reversed.cs (1)
56return _node != null ? Hash.Combine(_node.GetHashCode(), _count) : 0;
Syntax\InternalSyntax\SyntaxList`1.cs (1)
158return _node != null ? _node.GetHashCode() : 0;
Syntax\SyntaxAnnotation.cs (1)
65return base.GetHashCode();
Syntax\SyntaxList`1.cs (1)
483return _node?.GetHashCode() ?? 0;
Syntax\SyntaxNodeOrTokenList.cs (1)
531return _node?.GetHashCode() ?? 0;
Microsoft.CodeAnalysis.Analyzers (60)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Hash.cs (4)
45return unchecked(hash + newKeyPart.GetHashCode()); 70hashCode = Hash.Combine(value.GetHashCode(), hashCode); 113hashCode = Hash.Combine(value.GetHashCode(), hashCode); 139hashCode = Hash.Combine(value.GetHashCode(), hashCode);
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (2)
77hashCode ^= t.GetHashCode(); // same hashcode as default comparer 88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
301=> _dictionary?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
317=> _set?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
588=> _list?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
183return _items.GetHashCode();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
414var hashCode = (uint)key.GetHashCode(); 525var hashCode = (uint)((SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null) ? key.GetHashCode() : comparer!.GetHashCode(key)); 712var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key)); 789var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key));
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (3)
237var hashCode = item!.GetHashCode(); 304SupportsComparerDevirtualization && typeof(T).IsValueType && comparer == null ? item!.GetHashCode() : 1038hashCode = value!.GetHashCode();
src\roslyn\src\Dependencies\Contracts\ReferenceEqualityComparer.cs (1)
52/// It is not necessarily equivalent to calling <see cref="object.GetHashCode()"/>.
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\HashUtilities.cs (1)
19=> obj?.GetHashCode() ?? 0;
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\RoslynHashCode.cs (38)
96var hc1 = (uint)(value1?.GetHashCode() ?? 0); 109var hc1 = (uint)(value1?.GetHashCode() ?? 0); 110var hc2 = (uint)(value2?.GetHashCode() ?? 0); 124var hc1 = (uint)(value1?.GetHashCode() ?? 0); 125var hc2 = (uint)(value2?.GetHashCode() ?? 0); 126var hc3 = (uint)(value3?.GetHashCode() ?? 0); 141var hc1 = (uint)(value1?.GetHashCode() ?? 0); 142var hc2 = (uint)(value2?.GetHashCode() ?? 0); 143var hc3 = (uint)(value3?.GetHashCode() ?? 0); 144var hc4 = (uint)(value4?.GetHashCode() ?? 0); 162var hc1 = (uint)(value1?.GetHashCode() ?? 0); 163var hc2 = (uint)(value2?.GetHashCode() ?? 0); 164var hc3 = (uint)(value3?.GetHashCode() ?? 0); 165var hc4 = (uint)(value4?.GetHashCode() ?? 0); 166var hc5 = (uint)(value5?.GetHashCode() ?? 0); 186var hc1 = (uint)(value1?.GetHashCode() ?? 0); 187var hc2 = (uint)(value2?.GetHashCode() ?? 0); 188var hc3 = (uint)(value3?.GetHashCode() ?? 0); 189var hc4 = (uint)(value4?.GetHashCode() ?? 0); 190var hc5 = (uint)(value5?.GetHashCode() ?? 0); 191var hc6 = (uint)(value6?.GetHashCode() ?? 0); 212var hc1 = (uint)(value1?.GetHashCode() ?? 0); 213var hc2 = (uint)(value2?.GetHashCode() ?? 0); 214var hc3 = (uint)(value3?.GetHashCode() ?? 0); 215var hc4 = (uint)(value4?.GetHashCode() ?? 0); 216var hc5 = (uint)(value5?.GetHashCode() ?? 0); 217var hc6 = (uint)(value6?.GetHashCode() ?? 0); 218var hc7 = (uint)(value7?.GetHashCode() ?? 0); 240var hc1 = (uint)(value1?.GetHashCode() ?? 0); 241var hc2 = (uint)(value2?.GetHashCode() ?? 0); 242var hc3 = (uint)(value3?.GetHashCode() ?? 0); 243var hc4 = (uint)(value4?.GetHashCode() ?? 0); 244var hc5 = (uint)(value5?.GetHashCode() ?? 0); 245var hc6 = (uint)(value6?.GetHashCode() ?? 0); 246var hc7 = (uint)(value7?.GetHashCode() ?? 0); 247var hc8 = (uint)(value8?.GetHashCode() ?? 0); 313Add(value?.GetHashCode() ?? 0); 318Add(value is null ? 0 : (comparer?.GetHashCode(value) ?? value.GetHashCode()));
src\roslyn\src\RoslynAnalyzers\Utilities\Workspaces\SyntaxGeneratorExtensions.cs (1)
395/// Creates a default declaration for an override of <see cref="object.GetHashCode()"/>.
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
300=> Hash.Combine(x.GetHashCode(), currentHash);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (1)
76/// Generates an override of <see cref="object.GetHashCode()"/> similar to the one
Microsoft.CodeAnalysis.AnalyzerUtilities (94)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Hash.cs (4)
45return unchecked(hash + newKeyPart.GetHashCode()); 70hashCode = Hash.Combine(value.GetHashCode(), hashCode); 113hashCode = Hash.Combine(value.GetHashCode(), hashCode); 139hashCode = Hash.Combine(value.GetHashCode(), hashCode);
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (2)
77hashCode ^= t.GetHashCode(); // same hashcode as default comparer 88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
301=> _dictionary?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
317=> _set?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
588=> _list?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
183return _items.GetHashCode();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
414var hashCode = (uint)key.GetHashCode(); 525var hashCode = (uint)((SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null) ? key.GetHashCode() : comparer!.GetHashCode(key)); 712var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key)); 789var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key));
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (3)
237var hashCode = item!.GetHashCode(); 304SupportsComparerDevirtualization && typeof(T).IsValueType && comparer == null ? item!.GetHashCode() : 1038hashCode = value!.GetHashCode();
src\roslyn\src\Dependencies\Contracts\ReferenceEqualityComparer.cs (1)
52/// It is not necessarily equivalent to calling <see cref="object.GetHashCode()"/>.
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\HashUtilities.cs (1)
19=> obj?.GetHashCode() ?? 0;
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\RoslynHashCode.cs (38)
96var hc1 = (uint)(value1?.GetHashCode() ?? 0); 109var hc1 = (uint)(value1?.GetHashCode() ?? 0); 110var hc2 = (uint)(value2?.GetHashCode() ?? 0); 124var hc1 = (uint)(value1?.GetHashCode() ?? 0); 125var hc2 = (uint)(value2?.GetHashCode() ?? 0); 126var hc3 = (uint)(value3?.GetHashCode() ?? 0); 141var hc1 = (uint)(value1?.GetHashCode() ?? 0); 142var hc2 = (uint)(value2?.GetHashCode() ?? 0); 143var hc3 = (uint)(value3?.GetHashCode() ?? 0); 144var hc4 = (uint)(value4?.GetHashCode() ?? 0); 162var hc1 = (uint)(value1?.GetHashCode() ?? 0); 163var hc2 = (uint)(value2?.GetHashCode() ?? 0); 164var hc3 = (uint)(value3?.GetHashCode() ?? 0); 165var hc4 = (uint)(value4?.GetHashCode() ?? 0); 166var hc5 = (uint)(value5?.GetHashCode() ?? 0); 186var hc1 = (uint)(value1?.GetHashCode() ?? 0); 187var hc2 = (uint)(value2?.GetHashCode() ?? 0); 188var hc3 = (uint)(value3?.GetHashCode() ?? 0); 189var hc4 = (uint)(value4?.GetHashCode() ?? 0); 190var hc5 = (uint)(value5?.GetHashCode() ?? 0); 191var hc6 = (uint)(value6?.GetHashCode() ?? 0); 212var hc1 = (uint)(value1?.GetHashCode() ?? 0); 213var hc2 = (uint)(value2?.GetHashCode() ?? 0); 214var hc3 = (uint)(value3?.GetHashCode() ?? 0); 215var hc4 = (uint)(value4?.GetHashCode() ?? 0); 216var hc5 = (uint)(value5?.GetHashCode() ?? 0); 217var hc6 = (uint)(value6?.GetHashCode() ?? 0); 218var hc7 = (uint)(value7?.GetHashCode() ?? 0); 240var hc1 = (uint)(value1?.GetHashCode() ?? 0); 241var hc2 = (uint)(value2?.GetHashCode() ?? 0); 242var hc3 = (uint)(value3?.GetHashCode() ?? 0); 243var hc4 = (uint)(value4?.GetHashCode() ?? 0); 244var hc5 = (uint)(value5?.GetHashCode() ?? 0); 245var hc6 = (uint)(value6?.GetHashCode() ?? 0); 246var hc7 = (uint)(value7?.GetHashCode() ?? 0); 247var hc8 = (uint)(value8?.GetHashCode() ?? 0); 313Add(value?.GetHashCode() ?? 0); 318Add(value is null ? 0 : (comparer?.GetHashCode(value) ?? value.GetHashCode()));
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertySetAnalysisContext.cs (9)
162hashCode.Add(TypeToTrackMetadataNames.GetHashCode()); 164hashCode.Add(PropertyMappers.GetHashCode()); 165hashCode.Add(HazardousUsageEvaluators.GetHashCode()); 171return TypeToTrackMetadataNames.GetHashCode() == other.TypeToTrackMetadataNames.GetHashCode() 173&& PropertyMappers.GetHashCode() == other.PropertyMappers.GetHashCode() 174&& HazardousUsageEvaluators.GetHashCode() == other.HazardousUsageEvaluators.GetHashCode();
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SymbolAccess.cs (6)
54hashCode.Add(Symbol.GetHashCode()); 55hashCode.Add(AccessingMethod.GetHashCode()); 62&& Symbol.GetHashCode() == other.Symbol.GetHashCode() 63&& AccessingMethod.GetHashCode() == other.AccessingMethod.GetHashCode();
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AbstractDataFlowAnalysisContext.cs (9)
161hashCode.Add(ValueDomain.GetHashCode()); 162hashCode.Add(OwningSymbol.GetHashCode()); 163hashCode.Add(ControlFlowGraph.GetHashCode()); 180return ValueDomain.GetHashCode() == other.ValueDomain.GetHashCode() 181&& OwningSymbol.GetHashCode() == other.OwningSymbol.GetHashCode() 182&& ControlFlowGraph.GetHashCode() == other.ControlFlowGraph.GetHashCode()
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AbstractIndex.OperationBasedIndex.cs (3)
22hashCode.Add(Operation.GetHashCode()); 29return Operation.GetHashCode() == other.Operation.GetHashCode();
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AnalysisEntity.cs (1)
265hashCode.Add(Type.GetHashCode());
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\ArgumentInfo.cs (6)
35hashCode.Add(Operation.GetHashCode()); 38hashCode.Add(Value?.GetHashCode() ?? 0); 44return Operation.GetHashCode() == other.Operation.GetHashCode() 47&& (Value?.GetHashCode() ?? 0) == (other.Value?.GetHashCode() ?? 0);
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\InterproceduralCaptureId.cs (1)
35=> RoslynHashCode.Combine(Id.GetHashCode(), ControlFlowGraph.GetHashCode());
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\ThrownExceptionInfo.cs (1)
115hashCode.Add(ExceptionType.GetHashCode());
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
300=> Hash.Combine(x.GetHashCode(), currentHash);
Microsoft.CodeAnalysis.CodeStyle (21)
src\roslyn\src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.OperationDeconstructor.cs (1)
18/// <see cref="object.GetHashCode"/> patterns and extracting out the field and property
src\roslyn\src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
112=> obj is null ? 0 : obj.OriginalDefinition.GetHashCode();
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Hash.cs (4)
45return unchecked(hash + newKeyPart.GetHashCode()); 70hashCode = Hash.Combine(value.GetHashCode(), hashCode); 113hashCode = Hash.Combine(value.GetHashCode(), hashCode); 139hashCode = Hash.Combine(value.GetHashCode(), hashCode);
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (2)
77hashCode ^= t.GetHashCode(); // same hashcode as default comparer 88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
301=> _dictionary?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
317=> _set?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
588=> _list?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
183return _items.GetHashCode();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
414var hashCode = (uint)key.GetHashCode(); 525var hashCode = (uint)((SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null) ? key.GetHashCode() : comparer!.GetHashCode(key)); 712var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key)); 789var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key));
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (3)
237var hashCode = item!.GetHashCode(); 304SupportsComparerDevirtualization && typeof(T).IsValueType && comparer == null ? item!.GetHashCode() : 1038hashCode = value!.GetHashCode();
src\roslyn\src\Dependencies\Contracts\ReferenceEqualityComparer.cs (1)
52/// It is not necessarily equivalent to calling <see cref="object.GetHashCode()"/>.
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
300=> Hash.Combine(x.GetHashCode(), currentHash);
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (1)
76/// Generates an override of <see cref="object.GetHashCode()"/> similar to the one
Microsoft.CodeAnalysis.CSharp (16)
Binder\BinderFactory.cs (1)
38return Hash.Combine(syntaxNode.GetHashCode(), (int)usage);
Binder\DecisionDagBuilder.cs (4)
3220return Hash.Combine(RemainingTests.GetHashCode(), Index); 4180public override int GetHashCode() => Hash.Combine(Input.GetHashCode(), Values.GetHashCode()); 4236public override int GetHashCode() => Hash.Combine(Negated.GetHashCode(), typeof(Not).GetHashCode()); 4720value = Hash.Combine(t.GetHashCode(), value);
Binder\ImportChain.cs (1)
32return $"{Imports.GetDebuggerDisplay()} ^ {ParentOpt?.GetHashCode() ?? 0}";
FlowAnalysis\NullableWalker.PlaceholderLocal.cs (1)
47public override int GetHashCode() => _identifier.GetHashCode();
Symbols\NamespaceExtent.cs (1)
131return (_symbolOrCompilation == null) ? 0 : _symbolOrCompilation.GetHashCode();
Symbols\Source\LambdaSymbol.cs (1)
409return _syntax.GetHashCode();
Symbols\Source\LocalFunctionSymbol.cs (1)
573return Syntax.GetHashCode();
Symbols\Source\SourceLocalSymbol.cs (1)
67return Hash.Combine(RuntimeHelpers.GetHashCode(Local), Reference.GetHashCode());
Symbols\SymbolDistinguisher.cs (1)
234result = Hash.Combine(result, compilation.GetHashCode());
Utilities\ValueSetFactory.EnumeratedValueSet.cs (1)
173public override int GetHashCode() => Hash.Combine(this._included.GetHashCode(), this._membersIncludedOrExcluded.GetHashCode());
Utilities\ValueSetFactory.FloatingValueSet.cs (1)
157public override int GetHashCode() => this._numbers.GetHashCode();
Utilities\ValueSetFactory.NintValueSet.cs (1)
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.CSharp.Workspaces (1)
Simplification\Simplifiers\ExpressionSimplifier.CandidateSymbolEqualityComparer.cs (1)
35=> obj?.OriginalDefinition.GetHashCode() ?? 0;
Microsoft.CodeAnalysis.Extensions.Package (19)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Hash.cs (4)
45return unchecked(hash + newKeyPart.GetHashCode()); 70hashCode = Hash.Combine(value.GetHashCode(), hashCode); 113hashCode = Hash.Combine(value.GetHashCode(), hashCode); 139hashCode = Hash.Combine(value.GetHashCode(), hashCode);
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (2)
77hashCode ^= t.GetHashCode(); // same hashcode as default comparer 88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
301=> _dictionary?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
317=> _set?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
588=> _list?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
183return _items.GetHashCode();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
414var hashCode = (uint)key.GetHashCode(); 525var hashCode = (uint)((SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null) ? key.GetHashCode() : comparer!.GetHashCode(key)); 712var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key)); 789var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key));
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (3)
237var hashCode = item!.GetHashCode(); 304SupportsComparerDevirtualization && typeof(T).IsValueType && comparer == null ? item!.GetHashCode() : 1038hashCode = value!.GetHashCode();
src\roslyn\src\Dependencies\Contracts\ReferenceEqualityComparer.cs (1)
52/// It is not necessarily equivalent to calling <see cref="object.GetHashCode()"/>.
Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
300=> Hash.Combine(x.GetHashCode(), currentHash);
Microsoft.CodeAnalysis.Features (8)
Completion\Providers\AbstractSymbolCompletionProvider.cs (1)
256=> Hash.Combine(symbol.Symbol.GetHashCode(), symbol.Preselect ? 1 : 0);
EditAndContinue\DeclarationBody.cs (1)
95=> RootNodes.First().GetHashCode();
FullyQualify\AbstractFullyQualifyService.SymbolResult.cs (1)
41=> Symbol.GetHashCode();
GenerateEqualsAndGetHashCodeFromMembers\IGenerateEqualsAndGetHashCodeService.cs (2)
16/// <see cref="object.GetHashCode"/> overloads for use from other IDE features. 44/// Generates an override of <see cref="object.GetHashCode"/> that computes a reasonable
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
474Hash.Combine(_metadataId?.GetHashCode() ?? 0,
src\roslyn\src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.OperationDeconstructor.cs (1)
18/// <see cref="object.GetHashCode"/> patterns and extracting out the field and property
src\roslyn\src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
112=> obj is null ? 0 : obj.OriginalDefinition.GetHashCode();
Microsoft.CodeAnalysis.NetAnalyzers (82)
Microsoft.CodeQuality.Analyzers\QualityGuidelines\AvoidMultipleEnumerations\FlowAnalysis\DeferredTypeCreationEntity.cs (3)
23return other.CreationOperation.GetHashCode() == CreationOperation.GetHashCode(); 27=> hashCode.Add(CreationOperation.GetHashCode());
Microsoft.CodeQuality.Analyzers\QualityGuidelines\AvoidMultipleEnumerations\FlowAnalysis\DeferredTypeSymbolEntity.cs (3)
19protected override void ComputeHashCodeParts(ref RoslynHashCode hashCode) => hashCode.Add(Symbol.GetHashCode()); 24return other.Symbol.GetHashCode() == Symbol.GetHashCode();
src\11b41c7305441175\PropertySetAnalysisContext.cs (9)
161hashCode.Add(TypeToTrackMetadataNames.GetHashCode()); 163hashCode.Add(PropertyMappers.GetHashCode()); 164hashCode.Add(HazardousUsageEvaluators.GetHashCode()); 170return TypeToTrackMetadataNames.GetHashCode() == other.TypeToTrackMetadataNames.GetHashCode() 172&& PropertyMappers.GetHashCode() == other.PropertyMappers.GetHashCode() 173&& HazardousUsageEvaluators.GetHashCode() == other.HazardousUsageEvaluators.GetHashCode();
src\9382845807600969\AbstractDataFlowAnalysisContext.cs (9)
160hashCode.Add(ValueDomain.GetHashCode()); 161hashCode.Add(OwningSymbol.GetHashCode()); 162hashCode.Add(ControlFlowGraph.GetHashCode()); 179return ValueDomain.GetHashCode() == other.ValueDomain.GetHashCode() 180&& OwningSymbol.GetHashCode() == other.OwningSymbol.GetHashCode() 181&& ControlFlowGraph.GetHashCode() == other.ControlFlowGraph.GetHashCode()
src\9382845807600969\AbstractIndex.OperationBasedIndex.cs (3)
21hashCode.Add(Operation.GetHashCode()); 28return Operation.GetHashCode() == other.Operation.GetHashCode();
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\HashUtilities.cs (1)
16=> obj?.GetHashCode() ?? 0;
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\RoslynHashCode.cs (38)
95var hc1 = (uint)(value1?.GetHashCode() ?? 0); 108var hc1 = (uint)(value1?.GetHashCode() ?? 0); 109var hc2 = (uint)(value2?.GetHashCode() ?? 0); 123var hc1 = (uint)(value1?.GetHashCode() ?? 0); 124var hc2 = (uint)(value2?.GetHashCode() ?? 0); 125var hc3 = (uint)(value3?.GetHashCode() ?? 0); 140var hc1 = (uint)(value1?.GetHashCode() ?? 0); 141var hc2 = (uint)(value2?.GetHashCode() ?? 0); 142var hc3 = (uint)(value3?.GetHashCode() ?? 0); 143var hc4 = (uint)(value4?.GetHashCode() ?? 0); 161var hc1 = (uint)(value1?.GetHashCode() ?? 0); 162var hc2 = (uint)(value2?.GetHashCode() ?? 0); 163var hc3 = (uint)(value3?.GetHashCode() ?? 0); 164var hc4 = (uint)(value4?.GetHashCode() ?? 0); 165var hc5 = (uint)(value5?.GetHashCode() ?? 0); 185var hc1 = (uint)(value1?.GetHashCode() ?? 0); 186var hc2 = (uint)(value2?.GetHashCode() ?? 0); 187var hc3 = (uint)(value3?.GetHashCode() ?? 0); 188var hc4 = (uint)(value4?.GetHashCode() ?? 0); 189var hc5 = (uint)(value5?.GetHashCode() ?? 0); 190var hc6 = (uint)(value6?.GetHashCode() ?? 0); 211var hc1 = (uint)(value1?.GetHashCode() ?? 0); 212var hc2 = (uint)(value2?.GetHashCode() ?? 0); 213var hc3 = (uint)(value3?.GetHashCode() ?? 0); 214var hc4 = (uint)(value4?.GetHashCode() ?? 0); 215var hc5 = (uint)(value5?.GetHashCode() ?? 0); 216var hc6 = (uint)(value6?.GetHashCode() ?? 0); 217var hc7 = (uint)(value7?.GetHashCode() ?? 0); 239var hc1 = (uint)(value1?.GetHashCode() ?? 0); 240var hc2 = (uint)(value2?.GetHashCode() ?? 0); 241var hc3 = (uint)(value3?.GetHashCode() ?? 0); 242var hc4 = (uint)(value4?.GetHashCode() ?? 0); 243var hc5 = (uint)(value5?.GetHashCode() ?? 0); 244var hc6 = (uint)(value6?.GetHashCode() ?? 0); 245var hc7 = (uint)(value7?.GetHashCode() ?? 0); 246var hc8 = (uint)(value8?.GetHashCode() ?? 0); 312Add(value?.GetHashCode() ?? 0); 317Add(value is null ? 0 : (comparer?.GetHashCode(value) ?? value.GetHashCode()));
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SymbolAccess.cs (6)
53hashCode.Add(Symbol.GetHashCode()); 54hashCode.Add(AccessingMethod.GetHashCode()); 61&& Symbol.GetHashCode() == other.Symbol.GetHashCode() 62&& AccessingMethod.GetHashCode() == other.AccessingMethod.GetHashCode();
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AnalysisEntity.cs (1)
264hashCode.Add(Type.GetHashCode());
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\ArgumentInfo.cs (6)
34hashCode.Add(Operation.GetHashCode()); 37hashCode.Add(Value?.GetHashCode() ?? 0); 43return Operation.GetHashCode() == other.Operation.GetHashCode() 46&& (Value?.GetHashCode() ?? 0) == (other.Value?.GetHashCode() ?? 0);
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\InterproceduralCaptureId.cs (1)
34=> RoslynHashCode.Combine(Id.GetHashCode(), ControlFlowGraph.GetHashCode());
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\ThrownExceptionInfo.cs (1)
113hashCode.Add(ExceptionType.GetHashCode());
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Workspaces\SyntaxGeneratorExtensions.cs (1)
395/// Creates a default declaration for an override of <see cref="object.GetHashCode()"/>.
Microsoft.CodeAnalysis.Razor.Compiler (7)
Language\HashCodeCombiner.cs (1)
41Add(o?.GetHashCode() ?? 0);
Language\Syntax\ChildSyntaxList.cs (1)
444=> _node?.GetHashCode() ?? 0;
Language\Syntax\ChildSyntaxList.Reversed.cs (1)
46hash.Add(_node.GetHashCode());
Language\Syntax\InternalSyntax\SyntaxListOfT.cs (1)
145return _node != null ? _node.GetHashCode() : 0;
Language\Syntax\SyntaxList`1.cs (1)
506=> Node?.GetHashCode() ?? 0;
SourceGenerators\SourceGeneratorProjectItem.cs (1)
84public override int GetHashCode() => AdditionalText.GetHashCode();
SourceGenerators\SourceGeneratorText.cs (1)
21=> Text.GetHashCode();
Microsoft.CodeAnalysis.ResxSourceGenerator (58)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Hash.cs (4)
45return unchecked(hash + newKeyPart.GetHashCode()); 70hashCode = Hash.Combine(value.GetHashCode(), hashCode); 113hashCode = Hash.Combine(value.GetHashCode(), hashCode); 139hashCode = Hash.Combine(value.GetHashCode(), hashCode);
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (2)
77hashCode ^= t.GetHashCode(); // same hashcode as default comparer 88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
301=> _dictionary?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
317=> _set?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
588=> _list?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
183return _items.GetHashCode();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
414var hashCode = (uint)key.GetHashCode(); 525var hashCode = (uint)((SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null) ? key.GetHashCode() : comparer!.GetHashCode(key)); 712var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key)); 789var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key));
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (3)
237var hashCode = item!.GetHashCode(); 304SupportsComparerDevirtualization && typeof(T).IsValueType && comparer == null ? item!.GetHashCode() : 1038hashCode = value!.GetHashCode();
src\roslyn\src\Dependencies\Contracts\ReferenceEqualityComparer.cs (1)
52/// It is not necessarily equivalent to calling <see cref="object.GetHashCode()"/>.
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\HashUtilities.cs (1)
19=> obj?.GetHashCode() ?? 0;
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\RoslynHashCode.cs (38)
96var hc1 = (uint)(value1?.GetHashCode() ?? 0); 109var hc1 = (uint)(value1?.GetHashCode() ?? 0); 110var hc2 = (uint)(value2?.GetHashCode() ?? 0); 124var hc1 = (uint)(value1?.GetHashCode() ?? 0); 125var hc2 = (uint)(value2?.GetHashCode() ?? 0); 126var hc3 = (uint)(value3?.GetHashCode() ?? 0); 141var hc1 = (uint)(value1?.GetHashCode() ?? 0); 142var hc2 = (uint)(value2?.GetHashCode() ?? 0); 143var hc3 = (uint)(value3?.GetHashCode() ?? 0); 144var hc4 = (uint)(value4?.GetHashCode() ?? 0); 162var hc1 = (uint)(value1?.GetHashCode() ?? 0); 163var hc2 = (uint)(value2?.GetHashCode() ?? 0); 164var hc3 = (uint)(value3?.GetHashCode() ?? 0); 165var hc4 = (uint)(value4?.GetHashCode() ?? 0); 166var hc5 = (uint)(value5?.GetHashCode() ?? 0); 186var hc1 = (uint)(value1?.GetHashCode() ?? 0); 187var hc2 = (uint)(value2?.GetHashCode() ?? 0); 188var hc3 = (uint)(value3?.GetHashCode() ?? 0); 189var hc4 = (uint)(value4?.GetHashCode() ?? 0); 190var hc5 = (uint)(value5?.GetHashCode() ?? 0); 191var hc6 = (uint)(value6?.GetHashCode() ?? 0); 212var hc1 = (uint)(value1?.GetHashCode() ?? 0); 213var hc2 = (uint)(value2?.GetHashCode() ?? 0); 214var hc3 = (uint)(value3?.GetHashCode() ?? 0); 215var hc4 = (uint)(value4?.GetHashCode() ?? 0); 216var hc5 = (uint)(value5?.GetHashCode() ?? 0); 217var hc6 = (uint)(value6?.GetHashCode() ?? 0); 218var hc7 = (uint)(value7?.GetHashCode() ?? 0); 240var hc1 = (uint)(value1?.GetHashCode() ?? 0); 241var hc2 = (uint)(value2?.GetHashCode() ?? 0); 242var hc3 = (uint)(value3?.GetHashCode() ?? 0); 243var hc4 = (uint)(value4?.GetHashCode() ?? 0); 244var hc5 = (uint)(value5?.GetHashCode() ?? 0); 245var hc6 = (uint)(value6?.GetHashCode() ?? 0); 246var hc7 = (uint)(value7?.GetHashCode() ?? 0); 247var hc8 = (uint)(value8?.GetHashCode() ?? 0); 313Add(value?.GetHashCode() ?? 0); 318Add(value is null ? 0 : (comparer?.GetHashCode(value) ?? value.GetHashCode()));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
300=> Hash.Combine(x.GetHashCode(), currentHash);
Microsoft.CodeAnalysis.VisualBasic (3)
BoundTree\BoundTypeOrValueExpression.vb (2)
72Return Hash.Combine(ValueExpression.GetHashCode(), 74Hash.Combine(TypeExpression.GetHashCode(), TypeDiagnostics.GetHashCode())))
Symbols\Source\LambdaSymbol.vb (1)
371Dim hc As Integer = Hash.Combine(Me.Syntax.GetHashCode(), Me._parameters.Length)
Microsoft.CodeAnalysis.Workspaces (25)
CodeActions\CodeAction.cs (1)
638equivalenceKey.Append((action.EquivalenceKey ?? action.GetHashCode().ToString()) + ";");
Differencing\Edit.cs (2)
79hash = Hash.Combine(OldNode.GetHashCode(), hash); 84hash = Hash.Combine(NewNode.GetHashCode(), hash);
FindSymbols\FindReferences\MetadataUnifyingEquivalenceComparer.cs (1)
42return obj.GetHashCode();
Options\OptionKey.cs (1)
59var hash = Option?.GetHashCode() ?? 0;
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Hash.cs (4)
45return unchecked(hash + newKeyPart.GetHashCode()); 70hashCode = Hash.Combine(value.GetHashCode(), hashCode); 113hashCode = Hash.Combine(value.GetHashCode(), hashCode); 139hashCode = Hash.Combine(value.GetHashCode(), hashCode);
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (2)
77hashCode ^= t.GetHashCode(); // same hashcode as default comparer 88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
301=> _dictionary?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
317=> _set?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
588=> _list?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
183return _items.GetHashCode();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
414var hashCode = (uint)key.GetHashCode(); 525var hashCode = (uint)((SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null) ? key.GetHashCode() : comparer!.GetHashCode(key)); 712var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key)); 789var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key));
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (3)
237var hashCode = item!.GetHashCode(); 304SupportsComparerDevirtualization && typeof(T).IsValueType && comparer == null ? item!.GetHashCode() : 1038hashCode = value!.GetHashCode();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
300=> Hash.Combine(x.GetHashCode(), currentHash);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (1)
76/// Generates an override of <see cref="object.GetHashCode()"/> similar to the one
Utilities\Documentation\DeferredDocumentationProvider.cs (1)
43=> _compilation.GetHashCode();
Microsoft.CSharp (9)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComBinder.cs (1)
326return _originalBinder.GetHashCode() ^ (_canReturnCallables ? 1 : 0);
Microsoft\CSharp\RuntimeBinder\ComInterop\DispCallable.cs (1)
47return DispatchComObject.GetHashCode() ^ DispId;
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolStore.cs (2)
100public override int GetHashCode() => _name.GetHashCode() ^ _parent.GetHashCode();
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeArray.cs (1)
38hashCode ^= type.GetHashCode();
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeTable.cs (2)
44int hash = _pKey1 == null ? 0 : _pKey1.GetHashCode(); 45return (hash << 5) - hash + (_pKey2 == null ? 0 : _pKey2.GetHashCode());
Microsoft\CSharp\RuntimeBinder\Semantics\WithType.cs (2)
92return (Sym?.GetHashCode() ?? 0) + (Ats?.GetHashCode() ?? 0);
Microsoft.Diagnostics.DataContractReader.Contracts (2)
src\runtime\src\coreclr\tools\Common\CallingConvention\ArgIterator.cs (2)
232int hashcode = 37 + _returnType.GetHashCode(); 236hashcode = hashcode * 31 + _parameterTypes[i].GetHashCode();
Microsoft.Diagnostics.DataContractReader.DataGenerator (1)
EquatableArray.cs (1)
70hash = unchecked((hash * 31) + item.GetHashCode());
Microsoft.Diagnostics.NETCore.Client (2)
DiagnosticsIpc\IpcTransport.cs (2)
187return _runtimeId.GetHashCode() ^ _server.GetHashCode(); 237return _config.GetHashCode();
Microsoft.Extensions.AI.Evaluation.NLP (1)
Common\NGram.cs (1)
44hashCode = HashCode.Combine(hashCode, value.GetHashCode());
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (5)
ScenarioRunResultTests.cs (5)
441=> obj.GetHashCode(); 469=> obj.GetHashCode(); 492=> obj.GetHashCode(); 503=> obj.GetHashCode(); 523=> obj.GetHashCode();
Microsoft.Extensions.Configuration.Binder.SourceGeneration (1)
src\runtime\src\libraries\Common\src\SourceGenerators\ImmutableEquatableArray.cs (1)
38hash = HashHelpers.Combine(hash, value is null ? 0 : value.GetHashCode());
Microsoft.Extensions.DependencyInjection (8)
DependencyInjectionEventSource.cs (5)
109ServiceResolved(serviceType.ToString(), provider.GetHashCode()); 121int providerHashCode = provider.GetHashCode(); 137DynamicMethodBuilt(serviceType.ToString(), methodSize, provider.GetHashCode()); 244int providerHashCode = provider.GetHashCode(); 332source.ExpressionTreeGenerated(serviceType.ToString(), visitor.NodeCount, provider.GetHashCode());
ServiceLookup\DynamicServiceProviderEngine.cs (1)
42DependencyInjectionEventSource.Log.ServiceRealizationFailed(ex, _serviceProvider.GetHashCode());
ServiceLookup\ServiceIdentifier.cs (1)
57return (ServiceType.GetHashCode() * 397) ^ ServiceKey.GetHashCode();
ServiceLookup\ServiceProviderEngineScope.cs (1)
293DependencyInjectionEventSource.Log.ScopeDisposed(RootProvider.GetHashCode(), ResolvedServices.Count, _disposables?.Count ?? 0);
Microsoft.Extensions.DependencyModel (1)
HashCodeCombiner.cs (1)
45int hashCode = (o != null) ? o.GetHashCode() : 0;
Microsoft.Extensions.Diagnostics.ExceptionSummarization.Tests (1)
ExceptionSummaryTests.cs (1)
52Assert.NotEqual(exceptionSummary.GetHashCode(), exceptionTest.GetHashCode());
Microsoft.Extensions.Logging.Generators (3)
LoggerMessageGenerator.Parser.cs (2)
1203return HashHelpers.Combine(Key.GetHashCode(), Value.GetHashCode());
src\runtime\src\libraries\Common\src\SourceGenerators\ImmutableEquatableArray.cs (1)
38hash = HashHelpers.Combine(hash, value is null ? 0 : value.GetHashCode());
Microsoft.Extensions.Telemetry (1)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\Memoization\MemoizedFunction.cs (1)
46_hash = Arg1?.GetHashCode() ?? 0;
Microsoft.Extensions.Validation.ValidationsGenerator (38)
src\aspnetcore\src\Shared\HashCode.cs (38)
87var hc1 = (uint)(value1?.GetHashCode() ?? 0); 100var hc1 = (uint)(value1?.GetHashCode() ?? 0); 101var hc2 = (uint)(value2?.GetHashCode() ?? 0); 115var hc1 = (uint)(value1?.GetHashCode() ?? 0); 116var hc2 = (uint)(value2?.GetHashCode() ?? 0); 117var hc3 = (uint)(value3?.GetHashCode() ?? 0); 132var hc1 = (uint)(value1?.GetHashCode() ?? 0); 133var hc2 = (uint)(value2?.GetHashCode() ?? 0); 134var hc3 = (uint)(value3?.GetHashCode() ?? 0); 135var hc4 = (uint)(value4?.GetHashCode() ?? 0); 153var hc1 = (uint)(value1?.GetHashCode() ?? 0); 154var hc2 = (uint)(value2?.GetHashCode() ?? 0); 155var hc3 = (uint)(value3?.GetHashCode() ?? 0); 156var hc4 = (uint)(value4?.GetHashCode() ?? 0); 157var hc5 = (uint)(value5?.GetHashCode() ?? 0); 177var hc1 = (uint)(value1?.GetHashCode() ?? 0); 178var hc2 = (uint)(value2?.GetHashCode() ?? 0); 179var hc3 = (uint)(value3?.GetHashCode() ?? 0); 180var hc4 = (uint)(value4?.GetHashCode() ?? 0); 181var hc5 = (uint)(value5?.GetHashCode() ?? 0); 182var hc6 = (uint)(value6?.GetHashCode() ?? 0); 203var hc1 = (uint)(value1?.GetHashCode() ?? 0); 204var hc2 = (uint)(value2?.GetHashCode() ?? 0); 205var hc3 = (uint)(value3?.GetHashCode() ?? 0); 206var hc4 = (uint)(value4?.GetHashCode() ?? 0); 207var hc5 = (uint)(value5?.GetHashCode() ?? 0); 208var hc6 = (uint)(value6?.GetHashCode() ?? 0); 209var hc7 = (uint)(value7?.GetHashCode() ?? 0); 231var hc1 = (uint)(value1?.GetHashCode() ?? 0); 232var hc2 = (uint)(value2?.GetHashCode() ?? 0); 233var hc3 = (uint)(value3?.GetHashCode() ?? 0); 234var hc4 = (uint)(value4?.GetHashCode() ?? 0); 235var hc5 = (uint)(value5?.GetHashCode() ?? 0); 236var hc6 = (uint)(value6?.GetHashCode() ?? 0); 237var hc7 = (uint)(value7?.GetHashCode() ?? 0); 238var hc8 = (uint)(value8?.GetHashCode() ?? 0); 304Add(value?.GetHashCode() ?? 0); 309Add(value is null ? 0 : (comparer?.GetHashCode(value) ?? value.GetHashCode()));
Microsoft.Interop.SourceGeneration (36)
HashCode.cs (36)
18return Hash.Combine(t1 != null ? t1.GetHashCode() : 0, t2 != null ? t2.GetHashCode() : 0); 23int combinedHash = t1 != null ? t1.GetHashCode() : 0; 24combinedHash = Hash.Combine(combinedHash, t2 != null ? t2.GetHashCode() : 0); 25return Hash.Combine(combinedHash, t3 != null ? t3.GetHashCode() : 0); 30int combinedHash = t1 != null ? t1.GetHashCode() : 0; 31combinedHash = Hash.Combine(combinedHash, t2 != null ? t2.GetHashCode() : 0); 32combinedHash = Hash.Combine(combinedHash, t3 != null ? t3.GetHashCode() : 0); 33return Hash.Combine(combinedHash, t4 != null ? t4.GetHashCode() : 0); 38int combinedHash = t1 != null ? t1.GetHashCode() : 0; 39combinedHash = Hash.Combine(combinedHash, t2 != null ? t2.GetHashCode() : 0); 40combinedHash = Hash.Combine(combinedHash, t3 != null ? t3.GetHashCode() : 0); 41combinedHash = Hash.Combine(combinedHash, t4 != null ? t4.GetHashCode() : 0); 42return Hash.Combine(combinedHash, t5 != null ? t5.GetHashCode() : 0); 47int combinedHash = t1 != null ? t1.GetHashCode() : 0; 48combinedHash = Hash.Combine(combinedHash, t2 != null ? t2.GetHashCode() : 0); 49combinedHash = Hash.Combine(combinedHash, t3 != null ? t3.GetHashCode() : 0); 50combinedHash = Hash.Combine(combinedHash, t4 != null ? t4.GetHashCode() : 0); 51combinedHash = Hash.Combine(combinedHash, t5 != null ? t5.GetHashCode() : 0); 52return Hash.Combine(combinedHash, t6 != null ? t6.GetHashCode() : 0); 57int combinedHash = t1 != null ? t1.GetHashCode() : 0; 58combinedHash = Hash.Combine(combinedHash, t2 != null ? t2.GetHashCode() : 0); 59combinedHash = Hash.Combine(combinedHash, t3 != null ? t3.GetHashCode() : 0); 60combinedHash = Hash.Combine(combinedHash, t4 != null ? t4.GetHashCode() : 0); 61combinedHash = Hash.Combine(combinedHash, t5 != null ? t5.GetHashCode() : 0); 62combinedHash = Hash.Combine(combinedHash, t6 != null ? t6.GetHashCode() : 0); 63return Hash.Combine(combinedHash, t7 != null ? t7.GetHashCode() : 0); 68int combinedHash = t1 != null ? t1.GetHashCode() : 0; 69combinedHash = Hash.Combine(combinedHash, t2 != null ? t2.GetHashCode() : 0); 70combinedHash = Hash.Combine(combinedHash, t3 != null ? t3.GetHashCode() : 0); 71combinedHash = Hash.Combine(combinedHash, t4 != null ? t4.GetHashCode() : 0); 72combinedHash = Hash.Combine(combinedHash, t5 != null ? t5.GetHashCode() : 0); 73combinedHash = Hash.Combine(combinedHash, t6 != null ? t6.GetHashCode() : 0); 74combinedHash = Hash.Combine(combinedHash, t7 != null ? t7.GetHashCode() : 0); 75return Hash.Combine(combinedHash, t8 != null ? t8.GetHashCode() : 0); 83hash = Hash.Combine(hash, value.GetHashCode());
Microsoft.Maui (1)
WeakEventManager.cs (1)
164 public override int GetHashCode() => Subscriber?.GetHashCode() ?? 0 ^ Handler.GetHashCode();
Microsoft.Maui.Controls (5)
AnimatableKey.cs (1)
85 return ((target?.GetHashCode() ?? 0) * 397) ^ (Handle?.GetHashCode(StringComparison.Ordinal) ?? 0);
ImageBrush.cs (1)
32 -1234567890 + (ImageSource?.GetHashCode() ?? 0);
Region.cs (1)
131 public override int GetHashCode() => Regions.GetHashCode() ^ _inflation?.GetHashCode() ?? 0;
VisualStateManager.cs (2)
682 hash = (hash * 43) ^ Setters[i].GetHashCode(); 684 hash = (hash * 43) ^ StateTriggers[i].GetHashCode();
Microsoft.Maui.Controls.BindingSourceGen (2)
HashCode.cs (2)
134 return (hashCode * 397) ^ (value?.GetHashCode() ?? 0); 143 return (hashCode * 397) ^ (value is null ? 0 : (comparer?.GetHashCode(value) ?? value.GetHashCode()));
Microsoft.Maui.Controls.Maps (1)
Pin.cs (1)
102 /// <inheritdoc cref="object.GetHashCode"/>
Microsoft.Maui.Controls.SourceGen (1)
CodeBehindGenerator.cs (1)
790 return obj.References.GetHashCode();
Microsoft.Maui.Essentials (5)
Accelerometer\Accelerometer.shared.cs (1)
183 /// <inheritdoc cref="object.GetHashCode"/>
Barometer\Barometer.shared.cs (1)
162 /// <inheritdoc cref="object.GetHashCode"/>
Compass\Compass.shared.cs (1)
238 /// <inheritdoc cref="object.GetHashCode"/>
Magnetometer\Magnetometer.shared.cs (1)
179 /// <inheritdoc cref="object.GetHashCode"/>
Types\Location.shared.cs (1)
261 /// <inheritdoc cref="object.GetHashCode"/>
Microsoft.Maui.Graphics (4)
PathF.cs (4)
1339 var hashCode = (_arcAngles != null ? _arcAngles.GetHashCode() : 0); 1340 hashCode = (hashCode * 397) ^ (_arcClockwise != null ? _arcClockwise.GetHashCode() : 0); 1341 hashCode = (hashCode * 397) ^ (_points != null ? _points.GetHashCode() : 0); 1342 hashCode = (hashCode * 397) ^ (_operations != null ? _operations.GetHashCode() : 0);
Microsoft.ML.AutoML (1)
Sweepers\ISweeper.cs (1)
96_hash = Hashing.CombineHash(_hash, _parameterValues[parameterName].GetHashCode());
Microsoft.ML.Core (9)
Utilities\FuncInstanceMethodInfo1`2.cs (1)
47/// <see cref="object.GetHashCode"/> method:
Utilities\HashArray.cs (4)
93index = GetIndexCore(val, GetIit(val.GetHashCode())); 120int iit = GetIit(val.GetHashCode()); 134int iit = GetIit(val.GetHashCode()); 213int iit = GetIit(_entries[it].Value.GetHashCode());
Utilities\Hashing.cs (2)
37startHash = CombineHash(startHash, o == null ? 0 : o.GetHashCode()); 52startHash = CombineHash(startHash, o.GetHashCode());
Utilities\LruCache.cs (2)
47Contracts.Assert(key.GetHashCode() == node.Value.Key.GetHashCode());
Microsoft.ML.DataView (1)
VectorType.cs (1)
148int hash = Hashing.CombineHash(ItemType.GetHashCode(), Size);
Microsoft.ML.Predictor.Tests (1)
CmdLine\CmdLineReverseTest.cs (1)
172return base.GetHashCode();
Microsoft.ML.Sweeper (1)
ISweeper.cs (1)
125_hash = Hashing.CombineHash(_hash, _parameterValues[parameterName].GetHashCode());
Microsoft.ML.TimeSeries (1)
RootCauseLocalizationType.cs (1)
241return Dimension.GetHashCode();
Microsoft.Private.Windows.Core (1)
System\Collections\Specialized\CompatibleIComparer.cs (1)
45return o.GetHashCode();
Microsoft.SourceLink.AzureDevOpsServer.Git (4)
src\sourcelink\src\Common\Utilities\Hash.cs (4)
38return unchecked(hash + newKeyPart.GetHashCode()); 63hashCode = Hash.Combine(value.GetHashCode(), hashCode); 106hashCode = Hash.Combine(value.GetHashCode(), hashCode); 132hashCode = Hash.Combine(value.GetHashCode(), hashCode);
Microsoft.SourceLink.AzureRepos.Git (4)
src\sourcelink\src\Common\Utilities\Hash.cs (4)
38return unchecked(hash + newKeyPart.GetHashCode()); 63hashCode = Hash.Combine(value.GetHashCode(), hashCode); 106hashCode = Hash.Combine(value.GetHashCode(), hashCode); 132hashCode = Hash.Combine(value.GetHashCode(), hashCode);
Microsoft.SourceLink.Bitbucket.Git (4)
src\sourcelink\src\Common\Utilities\Hash.cs (4)
38return unchecked(hash + newKeyPart.GetHashCode()); 63hashCode = Hash.Combine(value.GetHashCode(), hashCode); 106hashCode = Hash.Combine(value.GetHashCode(), hashCode); 132hashCode = Hash.Combine(value.GetHashCode(), hashCode);
Microsoft.SourceLink.Common (4)
src\sourcelink\src\Common\Utilities\Hash.cs (4)
38return unchecked(hash + newKeyPart.GetHashCode()); 63hashCode = Hash.Combine(value.GetHashCode(), hashCode); 106hashCode = Hash.Combine(value.GetHashCode(), hashCode); 132hashCode = Hash.Combine(value.GetHashCode(), hashCode);
Microsoft.SourceLink.Gitea (4)
src\sourcelink\src\Common\Utilities\Hash.cs (4)
38return unchecked(hash + newKeyPart.GetHashCode()); 63hashCode = Hash.Combine(value.GetHashCode(), hashCode); 106hashCode = Hash.Combine(value.GetHashCode(), hashCode); 132hashCode = Hash.Combine(value.GetHashCode(), hashCode);
Microsoft.SourceLink.Gitee (4)
src\sourcelink\src\Common\Utilities\Hash.cs (4)
38return unchecked(hash + newKeyPart.GetHashCode()); 63hashCode = Hash.Combine(value.GetHashCode(), hashCode); 106hashCode = Hash.Combine(value.GetHashCode(), hashCode); 132hashCode = Hash.Combine(value.GetHashCode(), hashCode);
Microsoft.SourceLink.GitHub (4)
src\sourcelink\src\Common\Utilities\Hash.cs (4)
38return unchecked(hash + newKeyPart.GetHashCode()); 63hashCode = Hash.Combine(value.GetHashCode(), hashCode); 106hashCode = Hash.Combine(value.GetHashCode(), hashCode); 132hashCode = Hash.Combine(value.GetHashCode(), hashCode);
Microsoft.SourceLink.GitLab (4)
src\sourcelink\src\Common\Utilities\Hash.cs (4)
38return unchecked(hash + newKeyPart.GetHashCode()); 63hashCode = Hash.Combine(value.GetHashCode(), hashCode); 106hashCode = Hash.Combine(value.GetHashCode(), hashCode); 132hashCode = Hash.Combine(value.GetHashCode(), hashCode);
Microsoft.SourceLink.GitWeb (4)
src\sourcelink\src\Common\Utilities\Hash.cs (4)
38return unchecked(hash + newKeyPart.GetHashCode()); 63hashCode = Hash.Combine(value.GetHashCode(), hashCode); 106hashCode = Hash.Combine(value.GetHashCode(), hashCode); 132hashCode = Hash.Combine(value.GetHashCode(), hashCode);
Microsoft.TemplateEngine.Cli (2)
Commands\create\InvalidTemplateOptionResult.cs (1)
76return new { a = TemplateOption?.TemplateParameter.Name?.ToLowerInvariant(), b = ErrorKind, c = InputFormat }.GetHashCode();
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.Edge (2)
BuiltInManagedProvider\GlobalSettingsTemplatePackageProvider.cs (1)
363return new { a = obj.InstallerName?.ToLowerInvariant(), b = obj.PackageIdentifier.ToLowerInvariant() }.GetHashCode();
Template\OrdinalIgnoreCaseMatchInfoComparer.cs (1)
19return new { a = obj.InputParameterName?.ToLowerInvariant(), b = obj.ParameterValue?.ToLowerInvariant(), obj.Kind, obj.Location }.GetHashCode();
Microsoft.TemplateEngine.Utils (1)
ListExtensions.cs (1)
70return Val?.GetHashCode() ?? 0;
Microsoft.VisualStudio.TestPlatform.Common (1)
Utilities\SimpleJSON.cs (1)
457return base.GetHashCode();
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (2)
ObjectModel\TestCategoryItems.cs (1)
243return base.GetHashCode();
ObjectModel\WorkItems.cs (1)
214return base.GetHashCode();
Microsoft.VisualStudio.TestPlatform.ObjectModel (15)
Client\TestRunCriteria.cs (2)
659hashCode = (hashCode * 397) ^ (AdapterSourceMap != null ? AdapterSourceMap.GetHashCode() : 0); 660hashCode = (hashCode * 397) ^ (Tests != null ? Tests.GetHashCode() : 0);
Nuget.Frameworks\HashCodeCombiner.cs (13)
56AddHashCode(o.GetHashCode()); 91AddHashCode(item.GetHashCode()); 102AddHashCode(item.GetHashCode()); 113AddHashCode(item.GetHashCode()); 125AddHashCode(list[i].GetHashCode()); 139hashCode ^= item.GetHashCode(); 175int keyHash = pair.Key.GetHashCode(); 176int valHash = pair.Value.GetHashCode(); 197combiner.AddHashCode(o1.GetHashCode()); 198combiner.AddHashCode(o2.GetHashCode()); 213combiner.AddHashCode(o1.GetHashCode()); 214combiner.AddHashCode(o2.GetHashCode()); 215combiner.AddHashCode(o3.GetHashCode());
Microsoft.Win32.SystemEvents (2)
Microsoft\Win32\SystemEvents.cs (2)
662s_className = $".NET-BroadcastEventWindow.{AppDomain.CurrentDomain.GetHashCode():x}.0"; 1289return base.GetHashCode();
NuGet.CommandLine.XPlat (13)
src\nuget-client\build\Shared\HashCodeCombiner.cs (13)
56AddHashCode(o.GetHashCode()); 91AddHashCode(item.GetHashCode()); 102AddHashCode(item.GetHashCode()); 113AddHashCode(item.GetHashCode()); 125AddHashCode(list[i].GetHashCode()); 139hashCode ^= item.GetHashCode(); 175int keyHash = pair.Key.GetHashCode(); 176int valHash = pair.Value.GetHashCode(); 197combiner.AddHashCode(o1.GetHashCode()); 198combiner.AddHashCode(o2.GetHashCode()); 213combiner.AddHashCode(o1.GetHashCode()); 214combiner.AddHashCode(o2.GetHashCode()); 215combiner.AddHashCode(o3.GetHashCode());
NuGet.Commands (14)
Internal\HashCodeCombiner.cs (1)
75var hashCode = (o != null) ? o.GetHashCode() : 0;
src\nuget-client\build\Shared\HashCodeCombiner.cs (13)
56AddHashCode(o.GetHashCode()); 91AddHashCode(item.GetHashCode()); 102AddHashCode(item.GetHashCode()); 113AddHashCode(item.GetHashCode()); 125AddHashCode(list[i].GetHashCode()); 139hashCode ^= item.GetHashCode(); 175int keyHash = pair.Key.GetHashCode(); 176int valHash = pair.Value.GetHashCode(); 197combiner.AddHashCode(o1.GetHashCode()); 198combiner.AddHashCode(o2.GetHashCode()); 213combiner.AddHashCode(o1.GetHashCode()); 214combiner.AddHashCode(o2.GetHashCode()); 215combiner.AddHashCode(o3.GetHashCode());
NuGet.Configuration (15)
Settings\Items\OwnersItem.cs (1)
101public override int GetHashCode() => Content.GetHashCode();
Settings\NuGetConfiguration.cs (1)
186public override int GetHashCode() => Children.GetHashCode();
src\nuget-client\build\Shared\HashCodeCombiner.cs (13)
56AddHashCode(o.GetHashCode()); 91AddHashCode(item.GetHashCode()); 102AddHashCode(item.GetHashCode()); 113AddHashCode(item.GetHashCode()); 125AddHashCode(list[i].GetHashCode()); 139hashCode ^= item.GetHashCode(); 175int keyHash = pair.Key.GetHashCode(); 176int valHash = pair.Value.GetHashCode(); 197combiner.AddHashCode(o1.GetHashCode()); 198combiner.AddHashCode(o2.GetHashCode()); 213combiner.AddHashCode(o1.GetHashCode()); 214combiner.AddHashCode(o2.GetHashCode()); 215combiner.AddHashCode(o3.GetHashCode());
NuGet.DependencyResolver.Core (13)
src\nuget-client\build\Shared\HashCodeCombiner.cs (13)
56AddHashCode(o.GetHashCode()); 91AddHashCode(item.GetHashCode()); 102AddHashCode(item.GetHashCode()); 113AddHashCode(item.GetHashCode()); 125AddHashCode(list[i].GetHashCode()); 139hashCode ^= item.GetHashCode(); 175int keyHash = pair.Key.GetHashCode(); 176int valHash = pair.Value.GetHashCode(); 197combiner.AddHashCode(o1.GetHashCode()); 198combiner.AddHashCode(o2.GetHashCode()); 213combiner.AddHashCode(o1.GetHashCode()); 214combiner.AddHashCode(o2.GetHashCode()); 215combiner.AddHashCode(o3.GetHashCode());
NuGet.Frameworks (13)
src\nuget-client\build\Shared\HashCodeCombiner.cs (13)
56AddHashCode(o.GetHashCode()); 91AddHashCode(item.GetHashCode()); 102AddHashCode(item.GetHashCode()); 113AddHashCode(item.GetHashCode()); 125AddHashCode(list[i].GetHashCode()); 139hashCode ^= item.GetHashCode(); 175int keyHash = pair.Key.GetHashCode(); 176int valHash = pair.Value.GetHashCode(); 197combiner.AddHashCode(o1.GetHashCode()); 198combiner.AddHashCode(o2.GetHashCode()); 213combiner.AddHashCode(o1.GetHashCode()); 214combiner.AddHashCode(o2.GetHashCode()); 215combiner.AddHashCode(o3.GetHashCode());
NuGet.LibraryModel (13)
src\nuget-client\build\Shared\HashCodeCombiner.cs (13)
56AddHashCode(o.GetHashCode()); 91AddHashCode(item.GetHashCode()); 102AddHashCode(item.GetHashCode()); 113AddHashCode(item.GetHashCode()); 125AddHashCode(list[i].GetHashCode()); 139hashCode ^= item.GetHashCode(); 175int keyHash = pair.Key.GetHashCode(); 176int valHash = pair.Value.GetHashCode(); 197combiner.AddHashCode(o1.GetHashCode()); 198combiner.AddHashCode(o2.GetHashCode()); 213combiner.AddHashCode(o1.GetHashCode()); 214combiner.AddHashCode(o2.GetHashCode()); 215combiner.AddHashCode(o3.GetHashCode());
NuGet.PackageManagement (13)
src\nuget-client\build\Shared\HashCodeCombiner.cs (13)
56AddHashCode(o.GetHashCode()); 91AddHashCode(item.GetHashCode()); 102AddHashCode(item.GetHashCode()); 113AddHashCode(item.GetHashCode()); 125AddHashCode(list[i].GetHashCode()); 139hashCode ^= item.GetHashCode(); 175int keyHash = pair.Key.GetHashCode(); 176int valHash = pair.Value.GetHashCode(); 197combiner.AddHashCode(o1.GetHashCode()); 198combiner.AddHashCode(o2.GetHashCode()); 213combiner.AddHashCode(o1.GetHashCode()); 214combiner.AddHashCode(o2.GetHashCode()); 215combiner.AddHashCode(o3.GetHashCode());
NuGet.Packaging (23)
ContentModel\ContentItemCollection.cs (10)
386hashCode ^= property.Value.GetHashCode(); 393hashCode ^= obj._assembly.GetHashCode(); 397hashCode ^= obj._locale.GetHashCode(); 401hashCode ^= obj._related.GetHashCode(); 405hashCode ^= obj._msbuild.GetHashCode(); 409hashCode ^= obj._tfm.GetHashCode(); 413hashCode ^= obj._rid.GetHashCode(); 417hashCode ^= obj._any.GetHashCode(); 421hashCode ^= obj._satelliteAssembly.GetHashCode(); 425hashCode ^= obj._codeLanguage.GetHashCode();
src\nuget-client\build\Shared\HashCodeCombiner.cs (13)
56AddHashCode(o.GetHashCode()); 91AddHashCode(item.GetHashCode()); 102AddHashCode(item.GetHashCode()); 113AddHashCode(item.GetHashCode()); 125AddHashCode(list[i].GetHashCode()); 139hashCode ^= item.GetHashCode(); 175int keyHash = pair.Key.GetHashCode(); 176int valHash = pair.Value.GetHashCode(); 197combiner.AddHashCode(o1.GetHashCode()); 198combiner.AddHashCode(o2.GetHashCode()); 213combiner.AddHashCode(o1.GetHashCode()); 214combiner.AddHashCode(o2.GetHashCode()); 215combiner.AddHashCode(o3.GetHashCode());
NuGet.ProjectModel (13)
src\nuget-client\build\Shared\HashCodeCombiner.cs (13)
56AddHashCode(o.GetHashCode()); 91AddHashCode(item.GetHashCode()); 102AddHashCode(item.GetHashCode()); 113AddHashCode(item.GetHashCode()); 125AddHashCode(list[i].GetHashCode()); 139hashCode ^= item.GetHashCode(); 175int keyHash = pair.Key.GetHashCode(); 176int valHash = pair.Value.GetHashCode(); 197combiner.AddHashCode(o1.GetHashCode()); 198combiner.AddHashCode(o2.GetHashCode()); 213combiner.AddHashCode(o1.GetHashCode()); 214combiner.AddHashCode(o2.GetHashCode()); 215combiner.AddHashCode(o3.GetHashCode());
NuGet.Protocol (14)
Model\PackageVulnerabilityInfo.cs (1)
57/// <inheritdoc cref="object.GetHashCode"/>
src\nuget-client\build\Shared\HashCodeCombiner.cs (13)
56AddHashCode(o.GetHashCode()); 91AddHashCode(item.GetHashCode()); 102AddHashCode(item.GetHashCode()); 113AddHashCode(item.GetHashCode()); 125AddHashCode(list[i].GetHashCode()); 139hashCode ^= item.GetHashCode(); 175int keyHash = pair.Key.GetHashCode(); 176int valHash = pair.Value.GetHashCode(); 197combiner.AddHashCode(o1.GetHashCode()); 198combiner.AddHashCode(o2.GetHashCode()); 213combiner.AddHashCode(o1.GetHashCode()); 214combiner.AddHashCode(o2.GetHashCode()); 215combiner.AddHashCode(o3.GetHashCode());
NuGet.Resolver (13)
src\nuget-client\build\Shared\HashCodeCombiner.cs (13)
56AddHashCode(o.GetHashCode()); 91AddHashCode(item.GetHashCode()); 102AddHashCode(item.GetHashCode()); 113AddHashCode(item.GetHashCode()); 125AddHashCode(list[i].GetHashCode()); 139hashCode ^= item.GetHashCode(); 175int keyHash = pair.Key.GetHashCode(); 176int valHash = pair.Value.GetHashCode(); 197combiner.AddHashCode(o1.GetHashCode()); 198combiner.AddHashCode(o2.GetHashCode()); 213combiner.AddHashCode(o1.GetHashCode()); 214combiner.AddHashCode(o2.GetHashCode()); 215combiner.AddHashCode(o3.GetHashCode());
NuGet.Versioning (13)
src\nuget-client\build\Shared\HashCodeCombiner.cs (13)
56AddHashCode(o.GetHashCode()); 91AddHashCode(item.GetHashCode()); 102AddHashCode(item.GetHashCode()); 113AddHashCode(item.GetHashCode()); 125AddHashCode(list[i].GetHashCode()); 139hashCode ^= item.GetHashCode(); 175int keyHash = pair.Key.GetHashCode(); 176int valHash = pair.Value.GetHashCode(); 197combiner.AddHashCode(o1.GetHashCode()); 198combiner.AddHashCode(o2.GetHashCode()); 213combiner.AddHashCode(o1.GetHashCode()); 214combiner.AddHashCode(o2.GetHashCode()); 215combiner.AddHashCode(o3.GetHashCode());
PresentationCore (17)
MS\Internal\Ink\ExtendedProperty.cs (1)
33return Id.GetHashCode() ^ Value.GetHashCode();
MS\Internal\Ink\ExtendedPropertyCollection.cs (1)
95return base.GetHashCode();
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
267_hashCode = target.GetHashCode();
System\Windows\Automation\Peers\AutomationPeer.cs (1)
1456return new int [] { 7, Environment.ProcessId, this.GetHashCode() };
System\Windows\Ink\DrawingAttributes.cs (1)
493return base.GetHashCode();
System\Windows\Input\Stylus\Common\StylusPoint.cs (1)
587hash ^= _stylusPointDescription.GetHashCode();
System\Windows\InterOp\HwndKeyboardInputProvider.cs (1)
389Dispatcher.GetHashCode(),
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
860dispatcherHashCode = _source.CompositionTarget.Dispatcher.GetHashCode();
System\Windows\InterOp\HwndStylusInputProvider.cs (1)
150(_source.CompositionTarget != null ? _source.CompositionTarget.Dispatcher.GetHashCode() : 0),
System\Windows\InterOp\HwndTarget.cs (1)
241EventTrace.EventProvider.TraceEvent(EventTrace.Event.WClientCreateVisual, EventTrace.Keyword.KeywordGeneral, EventTrace.Level.Info, Dispatcher.GetHashCode(), hwnd.ToInt64());
System\Windows\Media\Animation\KeyTime.cs (2)
185/// Implementation of <see cref="System.Object.GetHashCode">Object.GetHashCode</see>. 193return _value.GetHashCode();
System\Windows\Media\Animation\TimelineClockCollection.cs (1)
253return _owner.GetHashCode();
System\Windows\Media\FamilyTypeface.cs (1)
258/// <see cref="object.GetHashCode"/>
System\Windows\Media\FontFamily.cs (1)
263return base.GetHashCode();
System\Windows\Media\MediaContext.cs (1)
2093GetHashCode(),
System\Windows\Media\textformatting\CharacterBufferReference.cs (1)
101return _charBuffer != null ? _charBuffer.GetHashCode() ^ _offsetToFirstChar : 0;
PresentationFramework (44)
MS\Internal\Annotations\Anchoring\PathNode.cs (1)
71return base.GetHashCode();
MS\Internal\Annotations\TextAnchor.cs (1)
153return base.GetHashCode();
MS\Internal\AppModel\BamlStream.cs (1)
187return _stream.GetHashCode();
MS\Internal\Data\ValueTable.cs (1)
309_hashCode = unchecked(item.GetHashCode() + pd.GetHashCode());
MS\Internal\Data\ViewManager.cs (1)
151_hashCode = (target != null) ? target.GetHashCode() : 314159;
MS\Internal\Navigation\BindStream.cs (1)
263return _stream.GetHashCode();
MS\Internal\TraceData.cs (1)
195traceBuilder.AppendFormat("'{0}' (HashCode={1})", o.GetType().Name, o.GetHashCode());
MS\Internal\Utility\TraceLog.cs (1)
60return string.Create(CultureInfo.InvariantCulture, $"{o.GetType().Name}.{o.GetHashCode()}");
MS\Internal\WeakHashtable.cs (5)
143if (y != null && x.GetHashCode() == y.GetHashCode()) 173return obj.GetHashCode(); 193_hashCode = o.GetHashCode(); 213if (o.GetHashCode() != _hashCode)
MS\Internal\WeakObjectHashtable.cs (5)
141if (y == null || x.GetHashCode() != y.GetHashCode()) 182return obj.GetHashCode(); 202_hashCode = o.GetHashCode(); 222if (o.GetHashCode() != _hashCode)
System\Windows\Annotations\LocatorPart.cs (1)
128return base.GetHashCode();
System\Windows\ComponentResourceKey.cs (1)
117return ((_typeInTargetAssembly != null) ? _typeInTargetAssembly.GetHashCode() : 0) ^ ((_resourceId != null) ? _resourceId.GetHashCode() : 0);
System\Windows\Controls\DataGridClipboardCellContent.cs (2)
76(_content == null ? 0 : _content.GetHashCode()) ^ 77(_item == null ? 0 : _item.GetHashCode()));
System\Windows\Controls\DataGridLength.cs (2)
178/// <see cref="Object.GetHashCode"/> 180/// <returns><see cref="Object.GetHashCode"/></returns>
System\Windows\Controls\Grid.cs (1)
3600/// <see cref="object.GetHashCode"/>
System\Windows\Controls\ItemContainerGenerator.cs (1)
110label = Host.GetHashCode().ToString(CultureInfo.InvariantCulture);
System\Windows\Controls\ItemsControl.cs (1)
3830return (Item != null) ? Item.GetHashCode() : 314159;
System\Windows\Controls\Primitives\HierarchicalVirtualizationConstraints.cs (2)
123/// <see cref="Object.GetHashCode"/> 125/// <returns><see cref="Object.GetHashCode"/></returns>
System\Windows\Controls\Primitives\HierarchicalVirtualizationHeaderDesiredSizes.cs (2)
106/// <see cref="Object.GetHashCode"/> 108/// <returns><see cref="Object.GetHashCode"/></returns>
System\Windows\Controls\Primitives\HierarchicalVirtualizationItemDesiredSizes.cs (2)
197/// <see cref="Object.GetHashCode"/> 199/// <returns><see cref="Object.GetHashCode"/></returns>
System\Windows\Controls\ValidationResult.cs (1)
116return IsValid.GetHashCode() ^ (ErrorContent ?? int.MinValue).GetHashCode();
System\Windows\Controls\VirtualizationCacheLength.cs (2)
144/// <see cref="Object.GetHashCode"/> 146/// <returns><see cref="Object.GetHashCode"/></returns>
System\Windows\Documents\DocumentSequence.cs (2)
724DocumentsTrace.FixedDocumentSequence.Content.Trace($"_OnCollectionChange: Add {item.GetHashCode()}"); 739DocumentsTrace.FixedDocumentSequence.Content.Trace($"_OnCollectionChange: Add with IDP {paginator.GetHashCode()}");
System\Windows\FigureLength.cs (2)
204/// <see cref="Object.GetHashCode"/> 206/// <returns><see cref="Object.GetHashCode"/></returns>
System\Windows\GridLength.cs (2)
173/// <see cref="Object.GetHashCode"/> 175/// <returns><see cref="Object.GetHashCode"/></returns>
System\Windows\Markup\Primitives\MarkupWriter.cs (1)
269return Key.GetHashCode();
System\Windows\TemplateKey.cs (1)
96hashcode += _dataType.GetHashCode();
PresentationUI (9)
MS\Internal\Documents\Application\ChainOfDependencies.cs (2)
81member.GetHashCode()); 114member.GetHashCode());
MS\Internal\Documents\Application\CriticalFileToken.cs (1)
97return base.GetHashCode();
MS\Internal\Documents\Application\DocumentStream.cs (1)
387existing.GetHashCode());
MS\Internal\Documents\Application\StreamProxy.cs (1)
231return _proxy.GetHashCode();
MS\Internal\Documents\Application\TransactionalPackage.cs (3)
232result.GetHashCode()); 399result.GetHashCode()); 414result.GetHashCode());
MS\Internal\Documents\Application\WriteableOnDemandPackagePart.cs (1)
147_activePart.GetHashCode(),
ReachFramework (2)
PrintConfig\PTManager.cs (2)
115int ptStreamHash = (this._ptStream != null) ? this._ptStream.GetHashCode() : NullHashCode; 117hashCode = (hashCode << 5) + this.ValidatedPrintTicket.GetHashCode();
Roslyn.Diagnostics.Analyzers (60)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Hash.cs (4)
45return unchecked(hash + newKeyPart.GetHashCode()); 70hashCode = Hash.Combine(value.GetHashCode(), hashCode); 113hashCode = Hash.Combine(value.GetHashCode(), hashCode); 139hashCode = Hash.Combine(value.GetHashCode(), hashCode);
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (2)
77hashCode ^= t.GetHashCode(); // same hashcode as default comparer 88public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
301=> _dictionary?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
317=> _set?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
588=> _list?.GetHashCode() ?? 0;
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
183return _items.GetHashCode();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
414var hashCode = (uint)key.GetHashCode(); 525var hashCode = (uint)((SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null) ? key.GetHashCode() : comparer!.GetHashCode(key)); 712var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key)); 789var hashCode = (uint)(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key));
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (3)
237var hashCode = item!.GetHashCode(); 304SupportsComparerDevirtualization && typeof(T).IsValueType && comparer == null ? item!.GetHashCode() : 1038hashCode = value!.GetHashCode();
src\roslyn\src\Dependencies\Contracts\ReferenceEqualityComparer.cs (1)
52/// It is not necessarily equivalent to calling <see cref="object.GetHashCode()"/>.
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\HashUtilities.cs (1)
19=> obj?.GetHashCode() ?? 0;
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\RoslynHashCode.cs (38)
96var hc1 = (uint)(value1?.GetHashCode() ?? 0); 109var hc1 = (uint)(value1?.GetHashCode() ?? 0); 110var hc2 = (uint)(value2?.GetHashCode() ?? 0); 124var hc1 = (uint)(value1?.GetHashCode() ?? 0); 125var hc2 = (uint)(value2?.GetHashCode() ?? 0); 126var hc3 = (uint)(value3?.GetHashCode() ?? 0); 141var hc1 = (uint)(value1?.GetHashCode() ?? 0); 142var hc2 = (uint)(value2?.GetHashCode() ?? 0); 143var hc3 = (uint)(value3?.GetHashCode() ?? 0); 144var hc4 = (uint)(value4?.GetHashCode() ?? 0); 162var hc1 = (uint)(value1?.GetHashCode() ?? 0); 163var hc2 = (uint)(value2?.GetHashCode() ?? 0); 164var hc3 = (uint)(value3?.GetHashCode() ?? 0); 165var hc4 = (uint)(value4?.GetHashCode() ?? 0); 166var hc5 = (uint)(value5?.GetHashCode() ?? 0); 186var hc1 = (uint)(value1?.GetHashCode() ?? 0); 187var hc2 = (uint)(value2?.GetHashCode() ?? 0); 188var hc3 = (uint)(value3?.GetHashCode() ?? 0); 189var hc4 = (uint)(value4?.GetHashCode() ?? 0); 190var hc5 = (uint)(value5?.GetHashCode() ?? 0); 191var hc6 = (uint)(value6?.GetHashCode() ?? 0); 212var hc1 = (uint)(value1?.GetHashCode() ?? 0); 213var hc2 = (uint)(value2?.GetHashCode() ?? 0); 214var hc3 = (uint)(value3?.GetHashCode() ?? 0); 215var hc4 = (uint)(value4?.GetHashCode() ?? 0); 216var hc5 = (uint)(value5?.GetHashCode() ?? 0); 217var hc6 = (uint)(value6?.GetHashCode() ?? 0); 218var hc7 = (uint)(value7?.GetHashCode() ?? 0); 240var hc1 = (uint)(value1?.GetHashCode() ?? 0); 241var hc2 = (uint)(value2?.GetHashCode() ?? 0); 242var hc3 = (uint)(value3?.GetHashCode() ?? 0); 243var hc4 = (uint)(value4?.GetHashCode() ?? 0); 244var hc5 = (uint)(value5?.GetHashCode() ?? 0); 245var hc6 = (uint)(value6?.GetHashCode() ?? 0); 246var hc7 = (uint)(value7?.GetHashCode() ?? 0); 247var hc8 = (uint)(value8?.GetHashCode() ?? 0); 313Add(value?.GetHashCode() ?? 0); 318Add(value is null ? 0 : (comparer?.GetHashCode(value) ?? value.GetHashCode()));
src\roslyn\src\RoslynAnalyzers\Utilities\Workspaces\SyntaxGeneratorExtensions.cs (1)
395/// Creates a default declaration for an override of <see cref="object.GetHashCode()"/>.
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
300=> Hash.Combine(x.GetHashCode(), currentHash);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (1)
76/// Generates an override of <see cref="object.GetHashCode()"/> similar to the one
Shared (1)
Memoization\MemoizedFunction.cs (1)
46_hash = Arg1?.GetHashCode() ?? 0;
System.Collections (6)
System\Collections\Generic\OrderedDictionary.cs (2)
624hashCode = (uint)(comparer?.GetHashCode(key) ?? key.GetHashCode()); 640hashCode = (uint)key.GetHashCode();
System\Collections\Generic\SortedDictionary.cs (1)
862return this.keyComparer.GetHashCode();
System\Collections\Generic\SortedSetEqualityComparer.cs (2)
58public override int GetHashCode() => _comparer.GetHashCode() ^ _memberEqualityComparer.GetHashCode();
System\Collections\StructuralComparisons.cs (1)
54return obj.GetHashCode();
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableArray_1.Minimal.cs (1)
296return self.array == null ? 0 : self.array.GetHashCode();
System.Collections.NonGeneric (1)
System\Collections\CaseInsensitiveHashCodeProvider.cs (1)
40obj.GetHashCode();
System.Collections.Specialized (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\CompatibleComparer.cs (1)
53obj.GetHashCode();
System.ComponentModel.Composition (5)
System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs (2)
962int hashCode = definition.GetHashCode(); 986_hashCode = part.GetHashCode();
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (1)
538return _originalPartCreationInfo.GetHashCode();
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePartDefinition.cs (2)
341return base.GetHashCode(); 345return _creationInfo.GetHashCode();
System.ComponentModel.TypeConverter (2)
System\ComponentModel\Design\Serialization\MemberRelationshipService.cs (2)
146_hashCode = rel.Owner == null ? 0 : rel.Owner.GetHashCode(); 217public override int GetHashCode() => Owner is null ? base.GetHashCode() : Owner.GetHashCode() ^ Member.GetHashCode();
System.Composition.Runtime (2)
System\Composition\Hosting\Core\CompositionContract.cs (2)
232result ^= ev.GetHashCode(); 236result ^= kv.Value.GetHashCode();
System.Configuration.ConfigurationManager (3)
System\Configuration\ConfigurationElement.cs (1)
704if (o != null) hHashCode ^= this[configProperty].GetHashCode();
System\Configuration\Internal\FileVersion.cs (1)
34return base.GetHashCode();
System\Configuration\SettingValueElement.cs (1)
45return ValueXml?.GetHashCode() ?? 0;
System.Data.Common (10)
System\Data\DataColumnPropertyDescriptor.cs (1)
50public override int GetHashCode() => Column.GetHashCode();
System\Data\DataRelationPropertyDescriptor.cs (1)
28public override int GetHashCode() => Relation.GetHashCode();
System\Data\DataRowComparer.cs (3)
199hash = value.GetHashCode(); 203hash = array.GetValue(array.GetLowerBound(0))!.GetHashCode(); 215hash = value.GetHashCode();
System\Data\DataRowView.cs (1)
40return Row.GetHashCode();
System\Data\DataTablePropertyDescriptor.cs (1)
28public override int GetHashCode() => Table.GetHashCode();
System\Data\ForeignKeyConstraint.cs (1)
869public override int GetHashCode() => base.GetHashCode();
System\Data\Selection.cs (1)
37Column.GetHashCode() ^ IsDescending.GetHashCode();
System\Data\UniqueConstraint.cs (1)
402return base.GetHashCode();
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\ObjectSequence.cs (1)
18public override int GetHashCode() => Value1?.GetHashCode() ?? 0;
System.DirectoryServices.AccountManagement (3)
System\DirectoryServices\AccountManagement\AD\ADStoreKey.cs (1)
83(_domainName.GetHashCode() ^ _sid.GetHashCode());
System\DirectoryServices\AccountManagement\Principal.cs (1)
484return base.GetHashCode();
System\DirectoryServices\AccountManagement\SAM\SAMStoreKey.cs (1)
49return _machineName.GetHashCode() ^ _sid.GetHashCode();
System.DirectoryServices.Protocols (1)
System\DirectoryServices\Protocols\ldap\LdapAsyncResult.cs (1)
34public override int GetHashCode() => _manualResetEvent.GetHashCode();
System.Drawing.Common (1)
System\Drawing\Drawing2D\Matrix.cs (1)
413public override int GetHashCode() => base.GetHashCode();
System.IO.Packaging (1)
System\IO\Packaging\PackUriHelper.cs (1)
885/// or <see cref="object.GetHashCode"/>, which would break the equality contract inherited
System.Linq.Expressions (7)
System\Dynamic\BindingRestrictions.cs (3)
250public override int GetHashCode() => CustomRestrictionHash ^ _expression.GetHashCode(); 273public override int GetHashCode() => TypeRestrictionHash ^ _expression.GetHashCode() ^ _type.GetHashCode(); 296=> InstanceRestrictionHash ^ RuntimeHelpers.GetHashCode(_instance!) ^ _expression.GetHashCode();
System\Dynamic\Utils\CacheDict.cs (2)
55int hash = key.GetHashCode(); 75int hash = key.GetHashCode();
System\Linq\Expressions\Interpreter\LocalVariables.cs (1)
63public override int GetHashCode() => Parameter is null ? 0 : Parameter.GetHashCode() ^ Index.GetHashCode();
System\Linq\Expressions\Interpreter\TypeOperations.cs (1)
224frame.Push(obj?.GetHashCode() ?? 0);
System.Linq.Parallel (3)
System\Linq\Parallel\Partitioning\HashRepartitionStream.cs (2)
93(element == null ? NULL_ELEMENT_HASH_CODE : (_elementComparer?.GetHashCode(element) ?? element.GetHashCode()))) 101(key == null ? NULL_ELEMENT_HASH_CODE : (_keyComparer?.GetHashCode(key) ?? key.GetHashCode())))
System\Linq\Parallel\Utils\HashLookup.cs (1)
70(key == null ? 0 : (comparer?.GetHashCode(key) ?? key.GetHashCode()));
System.Memory (1)
System\SequencePosition.cs (1)
54public override int GetHashCode() => HashCode.Combine(_object?.GetHashCode() ?? 0, _integer);
System.Memory.Data (1)
System\BinaryData.cs (1)
505public override int GetHashCode() => base.GetHashCode();
System.Net.Http (18)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
109public static int GetHashCode(object? value) => value?.GetHashCode() ?? 0; 143return $"{handle.GetType().Name}:{handle.GetHashCode()}(0x{handle.DangerousGetHandle():X})";
src\runtime\src\libraries\Common\src\System\Net\Security\CertificateHelper.cs (2)
72NetEventSource.Info(cert, $"For Certificate {cert.GetHashCode()} - current X509EnhancedKeyUsageExtension {eku.GetHashCode()} is not valid for Client Authentication."); 80NetEventSource.Info(cert, $"For Certificate {cert.GetHashCode()} - current X509KeyUsageExtension {ku.GetHashCode()} is not valid for Digital Signature.");
System\Net\Http\Headers\HeaderDescriptor.cs (1)
56public override int GetHashCode() => _descriptor is KnownHeader knownHeader ? knownHeader.GetHashCode() : StringComparer.OrdinalIgnoreCase.GetHashCode(_descriptor);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
1166GetHashCode(), // pool ID
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (2)
2277_pool?.GetHashCode() ?? 0, // pool ID 2278GetHashCode(), // connection ID
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (2)
482_pool?.GetHashCode() ?? 0, // pool ID 483GetHashCode(), // connection ID
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (3)
2165_pool?.GetHashCode() ?? 0, // pool ID 2166GetHashCode(), // connection ID 2167_currentRequest?.GetHashCode() ?? 0, // request ID
System\Net\Http\SocketsHttpHandler\RedirectHandler.cs (5)
44TraceError($"Exceeded max number of redirects. Redirect from {request.RequestUri} to {redirectUri} blocked.", request.GetHashCode()); 61Trace($"Redirecting from {request.RequestUri} to {redirectUri} in response to status code {(int)response.StatusCode} '{response.StatusCode}'.", request.GetHashCode()); 70Trace($"Modified request from {request.Method} to {HttpMethod.Get} in response to status code {(int)response.StatusCode} '{response.StatusCode}'.", request.GetHashCode()); 138TraceError($"Insecure https to http redirect from '{requestUri}' to '{location}' blocked.", response.RequestMessage!.GetHashCode()); 149TraceError($"Redirect from '{requestUri}' to '{location}' blocked due to unsupported scheme '{location.Scheme}'.", response.RequestMessage!.GetHashCode());
System.Net.Http.WinHttpHandler (4)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
109public static int GetHashCode(object? value) => value?.GetHashCode() ?? 0; 143return $"{handle.GetType().Name}:{handle.GetHashCode()}(0x{handle.DangerousGetHandle():X})";
src\runtime\src\libraries\Common\src\System\Net\Security\CertificateHelper.cs (2)
72NetEventSource.Info(cert, $"For Certificate {cert.GetHashCode()} - current X509EnhancedKeyUsageExtension {eku.GetHashCode()} is not valid for Client Authentication."); 80NetEventSource.Info(cert, $"For Certificate {cert.GetHashCode()} - current X509KeyUsageExtension {ku.GetHashCode()} is not valid for Digital Signature.");
System.Net.HttpListener (2)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
109public static int GetHashCode(object? value) => value?.GetHashCode() ?? 0; 143return $"{handle.GetType().Name}:{handle.GetHashCode()}(0x{handle.DangerousGetHandle():X})";
System.Net.Mail (2)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
109public static int GetHashCode(object? value) => value?.GetHashCode() ?? 0; 143return $"{handle.GetType().Name}:{handle.GetHashCode()}(0x{handle.DangerousGetHandle():X})";
System.Net.NameResolution (2)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
109public static int GetHashCode(object? value) => value?.GetHashCode() ?? 0; 143return $"{handle.GetType().Name}:{handle.GetHashCode()}(0x{handle.DangerousGetHandle():X})";
System.Net.Primitives (2)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
109public static int GetHashCode(object? value) => value?.GetHashCode() ?? 0; 143return $"{handle.GetType().Name}:{handle.GetHashCode()}(0x{handle.DangerousGetHandle():X})";
System.Net.Quic (2)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
109public static int GetHashCode(object? value) => value?.GetHashCode() ?? 0; 143return $"{handle.GetType().Name}:{handle.GetHashCode()}(0x{handle.DangerousGetHandle():X})";
System.Net.Requests (2)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
109public static int GetHashCode(object? value) => value?.GetHashCode() ?? 0; 143return $"{handle.GetType().Name}:{handle.GetHashCode()}(0x{handle.DangerousGetHandle():X})";
System.Net.Security (2)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
109public static int GetHashCode(object? value) => value?.GetHashCode() ?? 0; 143return $"{handle.GetType().Name}:{handle.GetHashCode()}(0x{handle.DangerousGetHandle():X})";
System.Net.Sockets (4)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
109public static int GetHashCode(object? value) => value?.GetHashCode() ?? 0; 143return $"{handle.GetType().Name}:{handle.GetHashCode()}(0x{handle.DangerousGetHandle():X})";
System\Net\Sockets\SocketAsyncContext.Unix.cs (1)
2329public static string IdOf(object o) => o == null ? "(null)" : $"{o.GetType().Name}#{o.GetHashCode():X2}";
System\Net\Sockets\UdpReceiveResult.cs (1)
58return (_buffer != null) ? (_buffer.GetHashCode() ^ _remoteEndPoint.GetHashCode()) : 0;
System.Net.WebSockets (2)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
109public static int GetHashCode(object? value) => value?.GetHashCode() ?? 0; 143return $"{handle.GetType().Name}:{handle.GetHashCode()}(0x{handle.DangerousGetHandle():X})";
System.Private.CoreLib (182)
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Concurrent\ConcurrentUnifier.cs (3)
84int hashCode = key.GetHashCode(); 95int h = key.GetHashCode(); 273int hashCode = _entries[walk1]._key.GetHashCode();
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Concurrent\ConcurrentUnifierW.cs (3)
94int hashCode = key.GetHashCode(); 105int h = key.GetHashCode(); 357int hashCode = _entries[walk1]._key.GetHashCode();
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Concurrent\ConcurrentUnifierWKeyed.cs (3)
103int hashCode = key.GetHashCode(); 114int h = key.GetHashCode(); 343int hashCode = key.GetHashCode();
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Generic\LowLevelDictionary.cs (1)
201int h = key.GetHashCode();
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\TypeHashingAlgorithms.cs (1)
82int parameterHashCode = parameters[i].GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (1)
102_array is null ? 0 : HashCode.Combine(_offset, _count, _array.GetHashCode());
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\ConfigurableArrayPool.cs (7)
52private int Id => GetHashCode(); 86log.BufferRented(buffer.GetHashCode(), buffer.Length, Id, _buckets[i].Id); 106int bufferId = buffer.GetHashCode(); 151int bufferId = array.GetHashCode(); 182internal int Id => GetHashCode(); 221log.BufferAllocated(buffer.GetHashCode(), _bufferLength, _poolId, Id, 269log.BufferDropped(array.GetHashCode(), _bufferLength, _poolId, Id, ArrayPoolEventSource.BufferDroppedReason.Full);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\SharedArrayPool.cs (9)
48private int Id => GetHashCode(); 70log.BufferRented(buffer.GetHashCode(), buffer.Length, Id, bucketIndex); 88log.BufferRented(buffer.GetHashCode(), buffer.Length, Id, bucketIndex); 120int bufferId = buffer.GetHashCode(); 181log.BufferReturned(array.GetHashCode(), array.Length, Id); 184log.BufferDropped(array.GetHashCode(), array.Length, Id, 234log.BufferTrimmed(buffer.GetHashCode(), buffer.Length, Id); 276log.BufferTrimmed(buffer.GetHashCode(), buffer.Length, Id); 490log.BufferTrimmed(array.GetHashCode(), array.Length, id);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\CompatibleComparer.cs (1)
53obj.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (3)
305return comparer is null ? key.GetHashCode() : comparer.GetHashCode(key); 309return _comparerIsDefaultForClasses ? key.GetHashCode() : comparer.GetHashCode(key); 530int hashcode = key.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (4)
527uint hashCode = (uint)((typeof(TKey).IsValueType && comparer == null) ? key.GetHashCode() : comparer!.GetHashCode(key)); 1092uint hashCode = (uint)((typeof(TKey).IsValueType && comparer == null) ? key.GetHashCode() : comparer!.GetHashCode(key)); 1311uint hashCode = (uint)(typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key)); 1437uint hashCode = (uint)(typeof(TKey).IsValueType && comparer == null ? key.GetHashCode() : comparer!.GetHashCode(key));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\EqualityComparer.cs (2)
156obj?.GetHashCode() ?? 0; 225obj?.GetHashCode() ?? 0;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (3)
234int hashCode = item!.GetHashCode(); 305typeof(T).IsValueType && comparer == null ? item!.GetHashCode() : 1439hashCode = value!.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSetEqualityComparer.cs (2)
66hashCode ^= t.GetHashCode(); // same hashcode as default comparer 77public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ReferenceEqualityComparer.cs (1)
53/// It is not necessarily equivalent to calling <see cref="object.GetHashCode()"/>.
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (1)
773return key.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\FrameworkEventSource.cs (4)
105public void ThreadPoolEnqueueWorkObject(object workID) => ThreadPoolEnqueueWork(workID.GetHashCode()); 119public void ThreadPoolDequeueWorkObject(object workID) => ThreadPoolDequeueWork(workID.GetHashCode()); 138ThreadTransferSend(id.GetHashCode(), kind, info, multiDequeues, intInfo1, intInfo2); 164ThreadTransferReceive(id.GetHashCode(), kind, info);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\NativeRuntimeEventSource.Threading.NativeSinks.cs (5)
234IntPtr overlapped = (IntPtr)Overlapped.GetOverlappedFromNative(nativeOverlapped).GetHashCode(); 252ThreadPoolIOEnqueue((IntPtr)registeredWaitHandle.GetHashCode(), IntPtr.Zero, registeredWaitHandle.Repeating); 275IntPtr overlapped = (IntPtr)Overlapped.GetOverlappedFromNative(nativeOverlapped).GetHashCode(); 291ThreadPoolIODequeue((IntPtr)registeredWaitHandle.GetHashCode(), IntPtr.Zero); 314IntPtr overlapped = (IntPtr)Overlapped.GetOverlappedFromNative(nativeOverlapped).GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\HashCode.cs (38)
86uint hc1 = (uint)(value1?.GetHashCode() ?? 0); 99uint hc1 = (uint)(value1?.GetHashCode() ?? 0); 100uint hc2 = (uint)(value2?.GetHashCode() ?? 0); 114uint hc1 = (uint)(value1?.GetHashCode() ?? 0); 115uint hc2 = (uint)(value2?.GetHashCode() ?? 0); 116uint hc3 = (uint)(value3?.GetHashCode() ?? 0); 131uint hc1 = (uint)(value1?.GetHashCode() ?? 0); 132uint hc2 = (uint)(value2?.GetHashCode() ?? 0); 133uint hc3 = (uint)(value3?.GetHashCode() ?? 0); 134uint hc4 = (uint)(value4?.GetHashCode() ?? 0); 152uint hc1 = (uint)(value1?.GetHashCode() ?? 0); 153uint hc2 = (uint)(value2?.GetHashCode() ?? 0); 154uint hc3 = (uint)(value3?.GetHashCode() ?? 0); 155uint hc4 = (uint)(value4?.GetHashCode() ?? 0); 156uint hc5 = (uint)(value5?.GetHashCode() ?? 0); 176uint hc1 = (uint)(value1?.GetHashCode() ?? 0); 177uint hc2 = (uint)(value2?.GetHashCode() ?? 0); 178uint hc3 = (uint)(value3?.GetHashCode() ?? 0); 179uint hc4 = (uint)(value4?.GetHashCode() ?? 0); 180uint hc5 = (uint)(value5?.GetHashCode() ?? 0); 181uint hc6 = (uint)(value6?.GetHashCode() ?? 0); 202uint hc1 = (uint)(value1?.GetHashCode() ?? 0); 203uint hc2 = (uint)(value2?.GetHashCode() ?? 0); 204uint hc3 = (uint)(value3?.GetHashCode() ?? 0); 205uint hc4 = (uint)(value4?.GetHashCode() ?? 0); 206uint hc5 = (uint)(value5?.GetHashCode() ?? 0); 207uint hc6 = (uint)(value6?.GetHashCode() ?? 0); 208uint hc7 = (uint)(value7?.GetHashCode() ?? 0); 230uint hc1 = (uint)(value1?.GetHashCode() ?? 0); 231uint hc2 = (uint)(value2?.GetHashCode() ?? 0); 232uint hc3 = (uint)(value3?.GetHashCode() ?? 0); 233uint hc4 = (uint)(value4?.GetHashCode() ?? 0); 234uint hc5 = (uint)(value5?.GetHashCode() ?? 0); 235uint hc6 = (uint)(value6?.GetHashCode() ?? 0); 236uint hc7 = (uint)(value7?.GetHashCode() ?? 0); 237uint hc8 = (uint)(value8?.GetHashCode() ?? 0); 303Add(value?.GetHashCode() ?? 0); 308Add(value is null ? 0 : (comparer?.GetHashCode(value) ?? value.GetHashCode()));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
94/// <inheritdoc cref="object.GetHashCode()" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\TotalOrderIeee754Comparer.cs (2)
411return obj.GetHashCode(); 423public override int GetHashCode() => EqualityComparer<T>.Default.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Assembly.cs (1)
181public override int GetHashCode() => base.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MemberInfo.cs (1)
44public override int GetHashCode() => base.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Module.cs (1)
146public override int GetHashCode() => base.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\PermissionSet.cs (1)
36public override int GetHashCode() => base.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\StringComparer.cs (1)
203return obj.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Encoding.cs (2)
1059_codePage + this.EncoderFallback.GetHashCode() + this.DecoderFallback.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UnicodeEncoding.cs (2)
1804return CodePage + this.EncoderFallback.GetHashCode() + this.DecoderFallback.GetHashCode() +
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF32Encoding.cs (2)
1153return this.EncoderFallback.GetHashCode() + this.DecoderFallback.GetHashCode() +
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF7Encoding.cs (2)
113return this.CodePage + this.EncoderFallback.GetHashCode() + this.DecoderFallback.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF8Encoding.cs (2)
892return this.EncoderFallback.GetHashCode() + this.DecoderFallback.GetHashCode() +
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\CancellationToken.cs (1)
325public override int GetHashCode() => (_source ?? CancellationTokenSource.s_neverCanceledSource).GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\CancellationTokenRegistration.cs (1)
158public override int GetHashCode() => _node != null ? _node.GetHashCode() ^ _id.GetHashCode() : _id.GetHashCode();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs (3)
153public override int GetHashCode() => _obj?.GetHashCode() ?? 0; 552_obj != null ? _obj.GetHashCode() : 553_result != null ? _result.GetHashCode() :
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
96/// <inheritdoc cref="object.GetHashCode()" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\ValueTuple.cs (63)
366return Item1?.GetHashCode() ?? 0; 563return HashCode.Combine(Item1?.GetHashCode() ?? 0, 564Item2?.GetHashCode() ?? 0); 760return HashCode.Combine(Item1?.GetHashCode() ?? 0, 761Item2?.GetHashCode() ?? 0, 762Item3?.GetHashCode() ?? 0); 973return HashCode.Combine(Item1?.GetHashCode() ?? 0, 974Item2?.GetHashCode() ?? 0, 975Item3?.GetHashCode() ?? 0, 976Item4?.GetHashCode() ?? 0); 1204return HashCode.Combine(Item1?.GetHashCode() ?? 0, 1205Item2?.GetHashCode() ?? 0, 1206Item3?.GetHashCode() ?? 0, 1207Item4?.GetHashCode() ?? 0, 1208Item5?.GetHashCode() ?? 0); 1453return HashCode.Combine(Item1?.GetHashCode() ?? 0, 1454Item2?.GetHashCode() ?? 0, 1455Item3?.GetHashCode() ?? 0, 1456Item4?.GetHashCode() ?? 0, 1457Item5?.GetHashCode() ?? 0, 1458Item6?.GetHashCode() ?? 0); 1720return HashCode.Combine(Item1?.GetHashCode() ?? 0, 1721Item2?.GetHashCode() ?? 0, 1722Item3?.GetHashCode() ?? 0, 1723Item4?.GetHashCode() ?? 0, 1724Item5?.GetHashCode() ?? 0, 1725Item6?.GetHashCode() ?? 0, 1726Item7?.GetHashCode() ?? 0); 2014return HashCode.Combine(Item1?.GetHashCode() ?? 0, 2015Item2?.GetHashCode() ?? 0, 2016Item3?.GetHashCode() ?? 0, 2017Item4?.GetHashCode() ?? 0, 2018Item5?.GetHashCode() ?? 0, 2019Item6?.GetHashCode() ?? 0, 2020Item7?.GetHashCode() ?? 0); 2035return HashCode.Combine(Item7?.GetHashCode() ?? 0, 2038return HashCode.Combine(Item6?.GetHashCode() ?? 0, 2039Item7?.GetHashCode() ?? 0, 2042return HashCode.Combine(Item5?.GetHashCode() ?? 0, 2043Item6?.GetHashCode() ?? 0, 2044Item7?.GetHashCode() ?? 0, 2047return HashCode.Combine(Item4?.GetHashCode() ?? 0, 2048Item5?.GetHashCode() ?? 0, 2049Item6?.GetHashCode() ?? 0, 2050Item7?.GetHashCode() ?? 0, 2053return HashCode.Combine(Item3?.GetHashCode() ?? 0, 2054Item4?.GetHashCode() ?? 0, 2055Item5?.GetHashCode() ?? 0, 2056Item6?.GetHashCode() ?? 0, 2057Item7?.GetHashCode() ?? 0, 2060return HashCode.Combine(Item2?.GetHashCode() ?? 0, 2061Item3?.GetHashCode() ?? 0, 2062Item4?.GetHashCode() ?? 0, 2063Item5?.GetHashCode() ?? 0, 2064Item6?.GetHashCode() ?? 0, 2065Item7?.GetHashCode() ?? 0, 2069return HashCode.Combine(Item1?.GetHashCode() ?? 0, 2070Item2?.GetHashCode() ?? 0, 2071Item3?.GetHashCode() ?? 0, 2072Item4?.GetHashCode() ?? 0, 2073Item5?.GetHashCode() ?? 0, 2074Item6?.GetHashCode() ?? 0, 2075Item7?.GetHashCode() ?? 0,
System\Attribute.NativeAot.cs (1)
86return vThis.GetHashCode();
System\Reflection\Runtime\MethodInfos\CustomMethodMapper.Nullable.cs (1)
51return thisObject == null ? 0 : thisObject.GetHashCode();
System\Reflection\Runtime\MethodInfos\RuntimePlainConstructorInfo.cs (1)
137return _common.GetHashCode();
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\DataContract.cs (3)
2132return base.GetHashCode(); 2516return _object1.GetHashCode() ^ _object2.GetHashCode();
System.Private.Reflection.Execution (1)
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Generic\LowLevelDictionary.cs (1)
201int h = key.GetHashCode();
System.Private.TypeLoader (4)
Internal\Runtime\TypeLoader\LockFreeObjectInterner.cs (2)
22return key.GetHashCode(); 31return value.Target.GetHashCode();
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Generic\LowLevelDictionary.cs (1)
201int h = key.GetHashCode();
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\VersionResilientHashCode.TypeSystem.cs (1)
41int argumentHashCode = instantiation[i].GetHashCode();
System.Private.Windows.Core (1)
System\Collections\Specialized\CompatibleIComparer.cs (1)
45return o.GetHashCode();
System.Private.Xml (7)
System\Xml\Schema\Chameleonkey.cs (1)
48(originalSchema == null ? 0 : originalSchema.GetHashCode()));
System\Xml\Schema\ConstraintStruct.cs (3)
468_hashcode += ((XmlAtomicValue)atomicValues.GetValue(j)!).TypedValue.GetHashCode(); 475_hashcode += ((Array)_ks[i].Value!).GetValue(j)!.GetHashCode(); 481_hashcode += _ks[i].Value!.GetHashCode();
System\Xml\XPath\XPathNavigatorKeyComparer.cs (2)
40hashCode = underlyingObject.GetHashCode(); 52hashCode = obj.GetHashCode();
System\Xml\Xsl\XmlQueryType.cs (1)
348hash += (hash << 7) ^ schemaType.GetHashCode();
System.Private.Xml.Linq (6)
System\Xml\Linq\XNodeEqualityComparer.cs (2)
48/// The <see cref="XNode"/> class's implementation of <see cref="object.GetHashCode"/> 91/// The <see cref="XNode"/> class's implementation of <see cref="object.GetHashCode"/>
System\Xml\Schema\XNodeValidator.cs (4)
407h ^= memberType.GetHashCode(); 412h ^= schemaAttribute.GetHashCode(); 417h ^= schemaElement.GetHashCode(); 422h ^= schemaType.GetHashCode();
System.Reflection.Context (11)
System\Reflection\Context\CollectionServices.cs (1)
33hashcode ^= t.GetHashCode();
System\Reflection\Context\Projection\ProjectingAssembly.cs (1)
113return Projector.GetHashCode() ^ UnderlyingAssembly.GetHashCode();
System\Reflection\Context\Projection\ProjectingConstructorInfo.cs (1)
81return Projector.GetHashCode() ^ UnderlyingConstructor.GetHashCode();
System\Reflection\Context\Projection\ProjectingEventInfo.cs (1)
91return Projector.GetHashCode() ^ UnderlyingEvent.GetHashCode();
System\Reflection\Context\Projection\ProjectingFieldInfo.cs (1)
82return Projector.GetHashCode() ^ UnderlyingField.GetHashCode();
System\Reflection\Context\Projection\ProjectingMethodInfo.cs (1)
132return Projector.GetHashCode() ^ UnderlyingMethod.GetHashCode();
System\Reflection\Context\Projection\ProjectingModule.cs (1)
120return Projector.GetHashCode() ^ UnderlyingModule.GetHashCode();
System\Reflection\Context\Projection\ProjectingParameterInfo.cs (2)
72return Projector.GetHashCode() ^ UnderlyingParameter.GetHashCode();
System\Reflection\Context\Projection\ProjectingPropertyInfo.cs (1)
102return Projector.GetHashCode() ^ UnderlyingProperty.GetHashCode();
System\Reflection\Context\Projection\ProjectingType.cs (1)
332return Projector.GetHashCode() ^ UnderlyingType.GetHashCode();
System.Reflection.DispatchProxy (1)
System\Reflection\DispatchProxyGenerator.cs (1)
129name = string.IsNullOrEmpty(alcName) ? $"DispatchProxyTypes.{alc.GetHashCode()}" : $"DispatchProxyTypes.{new AssemblyName { Name = alcName }}";
System.Runtime.InteropServices.JavaScript (2)
System\Runtime\InteropServices\JavaScript\JSException.cs (2)
97? base.GetHashCode() 98: base.GetHashCode() * jsException.GetHashCode();
System.Security.Cryptography (1)
System\Security\Cryptography\ECDiffieHellmanWrapper.cs (1)
207public override int GetHashCode() => _wrapped.GetHashCode();
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\SignedXmlDebugLog.cs (2)
244keyName = key.GetHashCode().ToString("x8", CultureInfo.InvariantCulture); 257return $"{o.GetType().Name}#{o.GetHashCode():x8}";
System.Security.Permissions (21)
System\Security\CodeAccessPermission.cs (1)
19public override int GetHashCode() => base.GetHashCode();
System\Security\Permissions\StrongNamePublicKeyBlob.cs (1)
13public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\AllMembershipCondition.cs (1)
14public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\ApplicationDirectory.cs (1)
12public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\ApplicationDirectoryMembershipCondition.cs (1)
14public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\CodeConnectAccess.cs (1)
18public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\CodeGroup.cs (1)
26public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\GacInstalled.cs (1)
15public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\GacMembershipCondition.cs (1)
14public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\HashMembershipCondition.cs (1)
19public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\PolicyStatement.cs (1)
26public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\Publisher.cs (1)
18public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\PublisherMembershipCondition.cs (1)
17public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\Site.cs (1)
17public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\SiteMembershipCondition.cs (1)
15public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\StrongName.cs (1)
20public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\StrongNameMembershipCondition.cs (1)
22public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\Url.cs (1)
16public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\UrlMembershipCondition.cs (1)
15public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\Zone.cs (1)
17public override int GetHashCode() => base.GetHashCode();
System\Security\Policy\ZoneMembershipCondition.cs (1)
15public override int GetHashCode() => base.GetHashCode();
System.ServiceModel.Http (24)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
105WebSocket != null ? WebSocket.GetHashCode() : -1);
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (23)
66WebSocket != null ? WebSocket.GetHashCode() : -1); 77WebSocket.GetHashCode(), 87WcfEventSource.Instance.WebSocketConnectionClosed(WebSocket.GetHashCode()); 96WebSocket.GetHashCode(), 110WebSocket.GetHashCode(), 176WebSocket.GetHashCode(), 188WcfEventSource.Instance.WebSocketAsyncWriteStop(WebSocket.GetHashCode()); 268WebSocket.GetHashCode(), 278WcfEventSource.Instance.WebSocketAsyncWriteStop(_webSocket.GetHashCode()); 411WcfEventSource.Instance.WebSocketAsyncWriteStop(WebSocket.GetHashCode()); 549WcfEventSource.Instance.WebSocketAsyncReadStart(_webSocket.GetHashCode()); 579_webSocket.GetHashCode(), 683_webSocket.GetHashCode(), 731WcfEventSource.Instance.WebSocketAsyncReadStart(_webSocket.GetHashCode()); 746_webSocket.GetHashCode(), 1026WcfEventSource.Instance.WebSocketAsyncReadStart(_webSocket.GetHashCode()); 1060WcfEventSource.Instance.WebSocketAsyncReadStop(_webSocket.GetHashCode(), receivedBytes, string.Empty); 1105_webSocket.GetHashCode(), 1131WcfEventSource.Instance.WebSocketAsyncWriteStop(_webSocket.GetHashCode()); 1146_webSocket.GetHashCode(), 1161WcfEventSource.Instance.WebSocketAsyncWriteStop(_webSocket.GetHashCode()); 1171_webSocket.GetHashCode(), 1185WcfEventSource.Instance.WebSocketAsyncWriteStop(_webSocket.GetHashCode());
System.ServiceModel.NetNamedPipe (1)
System\Runtime\BackoffTimeoutHelper.cs (1)
31_random = new Random(GetHashCode());
System.ServiceModel.NetTcp (2)
System\ServiceModel\Channels\SocketConnection.cs (2)
216WcfEventSource.Instance.SocketAsyncReadStop((_socket != null) ? _socket.GetHashCode() : -1, bytesRead, this.RemoteEndpointAddress); 267WcfEventSource.Instance.SocketAsyncWriteStart(_socket.GetHashCode(), buffer.Length, RemoteEndpointAddress);
System.ServiceModel.Primitives (14)
Internals\System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
90return string.Format(CultureInfo.CurrentCulture, "{0}/{1}", source.GetType().ToString(), source.GetHashCode());
Internals\System\Runtime\InternalBufferManager.cs (1)
275_buffersPooled.TryRemove(returnValue.GetHashCode(), out dummy);
System\IdentityModel\Claims\ClaimComparer.cs (1)
211return obj.GetHashCode();
System\ServiceModel\ChannelFactoryRefCache.cs (1)
88return obj.GetHashCode();
System\ServiceModel\Diagnostics\TraceUtility.cs (1)
271return source.GetType().ToString() + "/" + source.GetHashCode().ToString(CultureInfo.CurrentCulture);
System\ServiceModel\Dispatcher\ChannelHandler.cs (3)
184WcfEventSource.Instance.ChannelReceiveStop(EventTraceActivity, GetHashCode()); 226WcfEventSource.Instance.ChannelReceiveStart(EventTraceActivity, GetHashCode()); 743WcfEventSource.Instance.ChannelReceiveStop(handler.EventTraceActivity, state.GetHashCode());
System\ServiceModel\ProgrammaticEndpointTrait.cs (2)
51hashCode ^= _callbackInstance.GetHashCode(); 59hashCode ^= _binding.GetHashCode();
System\ServiceModel\Security\SendSecurityHeader.cs (2)
742return Token.GetHashCode() ^ _standardsManager.GetHashCode();
System\ServiceModel\ServiceEndpointTrait.cs (2)
43hashCode ^= _callbackInstance.GetHashCode(); 47hashCode ^= _serviceEndpoint.GetHashCode();
System.ServiceModel.UnixDomainSocket (2)
System\ServiceModel\Channels\SocketConnection.cs (2)
198WcfEventSource.Instance.SocketAsyncReadStop((_socket != null) ? _socket.GetHashCode() : -1, bytesRead, this.RemoteEndpointAddress); 249WcfEventSource.Instance.SocketAsyncWriteStart(_socket.GetHashCode(), buffer.Length, RemoteEndpointAddress);
System.Speech (3)
Internal\GrammarBuilding\BuilderElements.cs (1)
51return base.GetHashCode();
Internal\GrammarBuilding\GrammarBuilderWildcard.cs (1)
27return base.GetHashCode();
Internal\GrammarBuilding\RuleRefElement.cs (1)
40return base.GetHashCode();
System.Text.Encoding.CodePages (2)
System\Text\ISCIIEncoding.cs (2)
691return _defaultCodePage + EncoderFallback.GetHashCode() + DecoderFallback.GetHashCode();
System.Text.Json.SourceGeneration (1)
src\runtime\src\libraries\Common\src\SourceGenerators\ImmutableEquatableArray.cs (1)
38hash = HashHelpers.Combine(hash, value is null ? 0 : value.GetHashCode());
System.Transactions.Local (1)
System\Transactions\TransactionsEtwProvider.cs (1)
224public static int GetHashCode(object? value) => value?.GetHashCode() ?? 0;
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonControlLength.cs (1)
116/// <see cref="Object.GetHashCode"/>
System.Windows.Forms (44)
System\Windows\Forms\Accessibility\AccessibleObject.cs (1)
588return [RuntimeIDFirstItem, GetHashCode()];
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
215GetHashCode()
System\Windows\Forms\Application.cs (1)
402string s_systemTrackerWindow = $".NET-BroadcastEventWindow.{AppDomain.CurrentDomain.GetHashCode():x}.0";
System\Windows\Forms\ComponentModel\COM2Interop\Com2TypeInfoProcessor.PropInfo.cs (1)
36public override int GetHashCode() => Name?.GetHashCode() ?? base.GetHashCode();
System\Windows\Forms\Components\ErrorProvider\ErrorProvider.ControlItem.ControlItemAccessibleObject.cs (2)
128return [_controlItem.GetHashCode()]; 134return [id[0], id[1], id[2], _controlItem.GetHashCode()];
System\Windows\Forms\Components\ErrorProvider\ErrorProvider.ErrorWindow.ErrorWindowAccessibleObject.cs (1)
120_owner.GetHashCode()
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildDropDownButtonUiaProvider.cs (1)
106_owner.GetHashCode(),
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildEditUiaProvider.cs (1)
104internal override int[] RuntimeId => [RuntimeIDFirstItem, GetHashCode()];
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildTextUiaProvider.cs (2)
115_owner.GetHashCode(), 116GetHashCode(),
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxItemAccessibleObject.cs (1)
153_owningItem.GetHashCode()
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2069return listNativeWindow is not null ? listNativeWindow.GetHashCode() : 0;
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
201GetHashCode()
System\Windows\Forms\Controls\DataGridView\DataGridView.SelectedCellsAccessibleObject.cs (2)
33internal override int[] RuntimeId => [RuntimeIDFirstItem, Parent.GetHashCode(), GetHashCode()];
System\Windows\Forms\Controls\DataGridView\DataGridView.TopRowAccessibleObject.cs (2)
90Parent.GetHashCode(), 91GetHashCode()
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
624GetHashCode()
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.DataGridViewCheckBoxCellAccessibleObject.cs (1)
136internal override int[] RuntimeId => _runtimeId ??= [RuntimeIDFirstItem, GetHashCode()];
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (2)
143Parent?.GetHashCode() ?? 0, 144GetHashCode()
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewSelectedRowCellsAccessibleObject.cs (2)
37internal override int[] RuntimeId => _runtimeId ??= [RuntimeIDFirstItem, Parent.GetHashCode(), GetHashCode()];
System\Windows\Forms\Controls\Labels\LinkLabel.Link.LinkAccessibleObject.cs (1)
136_owningLink.GetHashCode()
System\Windows\Forms\Controls\ListBoxes\ListBox.ItemAccessibleObject.cs (1)
49return [id[0], id[1], id[2], _itemEntry.GetHashCode()];
System\Windows\Forms\Controls\ListView\ColumnHeader.ListViewColumnHeaderAccessibleObject.cs (1)
26internal override int[] RuntimeId => [RuntimeIDFirstItem, _owningColumnHeader.GetHashCode()];
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
119GetHashCode()
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (1)
222_owningItem.GetHashCode()
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemImageAccessibleObject.cs (1)
48return [id[0], id[1], id[2], id[3], GetHashCode()];
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObject.cs (1)
111return [id[0], id[1], id[2], id[3], GetHashCode()];
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (3)
3633_designerSelections.Remove(ActiveDesigner.GetHashCode()); 3722_designerSelections[_designerHost.GetHashCode()] = _tabs.IndexOf(_selectedTab!); 3736int hashCode = ActiveDesigner.GetHashCode();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (2)
26private protected override string AutomationId => GetHashCode().ToString(); 212GetHashCode()
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBoxItemAccessibleObject.cs (1)
49_owningItem.GetHashCode()
System\Windows\Forms\Controls\TabControl\TabPage.TabAccessibleObject.cs (1)
73GetHashCode()
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
101_ownerItem.GetHashCode()
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (1)
153_owningTreeNode.GetHashCode()
System\Windows\Forms\Controls\UpDown\DomainUpDown.DomainItemAccessibleObject.cs (1)
45internal override int[] RuntimeId => [RuntimeIDFirstItem, GetHashCode()];
System\Windows\Forms\DataBinding\BindingContext.HashKey.cs (1)
24_dataSourceHashCode = dataSource.GetHashCode();
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogButton.cs (1)
368return base.GetHashCode();
System\Windows\Forms\NativeWindow.WindowClass.cs (1)
31private static readonly string s_currentAppDomainHash = Convert.ToString(AppDomain.CurrentDomain.GetHashCode(), 16);
System.Windows.Forms.Design (4)
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
407return _reference.GetHashCode() * _propertyDescriptor.GetHashCode();
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
981return x is not null ? x.GetHashCode() : 0;
System\ComponentModel\Design\Serialization\ExpressionTable.cs (1)
50=> x is not null ? x.GetHashCode() : 0;
System\Windows\Forms\Design\SelectionUIService.HitTestInfo.cs (1)
52int hash = hitTest | (selectionUIHit?.GetHashCode() ?? 0);
System.Windows.Forms.PrivateSourceGenerators (1)
System\Windows\Forms\SourceGenerators\EquatableArray`1.cs (1)
46hashCode = hashCode * -1521134295 + (value?.GetHashCode() ?? 0);
System.Xaml (4)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
267_hashCode = target.GetHashCode();
System\Xaml\XamlObjectReader.cs (2)
241return obj.GetHashCode(); 3050return Key.GetHashCode();
System\Xaml\XamlType.cs (1)
1867return base.GetHashCode();
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
373return new int[] { AutomationInteropProvider.AppendRuntimeId, this.GetHashCode() };
UIAutomationTypes (2)
System\Windows\Automation\AutomationIdentifier.cs (2)
116return base.GetHashCode(); 129return GetHashCode() - obj.GetHashCode();