23 references to GetHashCode
Microsoft.AspNetCore.Components (4)
EventCallback.cs (2)
77=> HashCode.Combine(RuntimeHelpers.GetHashCode(Receiver), RuntimeHelpers.GetHashCode(Delegate));
EventCallbackOfT.cs (2)
77=> HashCode.Combine(RuntimeHelpers.GetHashCode(Receiver), RuntimeHelpers.GetHashCode(Delegate));
Microsoft.AspNetCore.Components.Forms (1)
FieldIdentifier.cs (1)
74var modelHash = RuntimeHelpers.GetHashCode(Model);
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\ModelBinderFactory.cs (1)
303return HashCode.Combine(_metadata, RuntimeHelpers.GetHashCode(_token));
ReachFramework (1)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\UriComparer.cs (1)
103private static readonly int _nullHashcode = System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(null);
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\MetricsEventSource.cs (1)
689scope is null ? string.Empty : RuntimeHelpers.GetHashCode(scope).ToString(CultureInfo.InvariantCulture);
System.Linq.Expressions (2)
System\Dynamic\BindingRestrictions.cs (1)
296=> InstanceRestrictionHash ^ RuntimeHelpers.GetHashCode(_instance!) ^ _expression.GetHashCode();
System\Linq\Expressions\Compiler\BoundConstants.cs (1)
40return RuntimeHelpers.GetHashCode(Value) ^ Type.GetHashCode();
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ReferenceEqualityComparer.cs (2)
52/// This API is a wrapper around <see cref="RuntimeHelpers.GetHashCode(object)"/>. 60return RuntimeHelpers.GetHashCode(obj!);
src\libraries\System.Private.CoreLib\src\System\Memory.cs (1)
484return (_object != null) ? HashCode.Combine(RuntimeHelpers.GetHashCode(_object), _index, _length) : 0;
src\libraries\System.Private.CoreLib\src\System\Object.cs (1)
85return RuntimeHelpers.GetHashCode(this);
src\libraries\System.Private.CoreLib\src\System\ReadOnlyMemory.cs (1)
394return (_object != null) ? HashCode.Combine(RuntimeHelpers.GetHashCode(_object), _index, _length) : 0;
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (1)
507int hashCode = RuntimeHelpers.GetHashCode(key) & int.MaxValue;
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (1)
168public override int GetHashCode() => RuntimeHelpers.GetHashCode(this);
src\System\Delegate.CoreCLR.cs (1)
152return (_target != null ? RuntimeHelpers.GetHashCode(_target) * 33 : 0) + GetType().GetHashCode();
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (1)
136/// The advantage of this over <see cref="GetHashCode" /> is that it avoids assigning a hash
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\ObjectToIdCache.cs (1)
137return (RuntimeHelpers.GetHashCode(o) & 0x7FFFFFFF) % m_objs.Length;
System.Runtime.Serialization.Formatters (1)
System\Runtime\Serialization\ObjectIDGenerator.cs (1)
36int hashcode = RuntimeHelpers.GetHashCode(obj);
System.Text.Json (2)
System\Text\Json\Serialization\JsonSerializerOptions.Caching.cs (1)
603hc.Add(RuntimeHelpers.GetHashCode(value));
System\Text\Json\Serialization\ReferenceEqualsWrapper.cs (1)
17public override int GetHashCode() => RuntimeHelpers.GetHashCode(_object);