90 implementations of GetHashCode
mscorlib (5)
system\collections\generic\equalitycomparer.cs (2)
89
public abstract int
GetHashCode
(T obj);
524
public int
GetHashCode
(String obj) {
system\resources\__fastresourcecomparer.cs (1)
35
public int
GetHashCode
(String key)
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (1)
390
public int
GetHashCode
(EventCacheKey key)
system\stringcomparer.cs (1)
127
public abstract int
GetHashCode
(string obj);
PresentationCore (1)
Core\CSharp\System\Windows\Media\FontEmbeddingManager.cs (1)
143
public int
GetHashCode
(Uri obj)
PresentationFramework (1)
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
3023
int IEqualityComparer<ItemInfo>.
GetHashCode
(ItemInfo x)
System (2)
compmod\system\collections\generic\sortedset.cs (1)
2443
public int
GetHashCode
(SortedSet<T> obj) {
compmod\system\componentmodel\design\ServiceObjectContainer.cs (1)
288
public int
GetHashCode
(Type obj) {
System.Activities (5)
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicExpressionConverter.cs (1)
314
int IEqualityComparer<XNamespace>.
GetHashCode
(XNamespace x)
System\Activities\Bookmark.cs (1)
222
public int
GetHashCode
(Bookmark obj)
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (1)
176
public int
GetHashCode
(object obj)
System\Activities\Expressions\AssemblyNameEqualityComparer.cs (1)
97
public int
GetHashCode
(AssemblyName obj)
System\Activities\XamlIntegration\CompiledDataContext.cs (1)
321
int IEqualityComparer<T>.
GetHashCode
(T target)
System.Activities.Presentation (2)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ObjectReferenceEqualityComparer.cs (1)
38
public int
GetHashCode
(T obj)
System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (1)
362
public int
GetHashCode
(WeakKey obj)
System.Core (3)
Microsoft\Scripting\Utils\ReferenceEqualityComparer.cs (1)
29
public int
GetHashCode
(T obj) {
System\Collections\Generic\HashSetEqualityComparer.cs (1)
36
public int
GetHashCode
(HashSet<T> obj) {
System\Linq\Parallel\Utils\WrapperEqualityComparer.cs (1)
46
public int
GetHashCode
(Wrapper<T> x)
System.Data (4)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ObjectReferenceEqualityComparer.cs (1)
38
public int
GetHashCode
(T obj)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (1)
362
public int
GetHashCode
(WeakKey obj)
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
555
public int
GetHashCode
(KeyValuePair<Type,XmlRootAttribute> obj)
fx\src\data\System\Data\DataView.cs (1)
95
public int
GetHashCode
(DataRow obj) {
System.Data.DataSetExtensions (1)
System\Data\DataRowComparer.cs (1)
197
public int
GetHashCode
(TRow row)
System.Data.Entity (28)
System\Data\Common\EntitySql\TypeResolver.cs (2)
75
int IEqualityComparer<MetadataMember>.
GetHashCode
(MetadataMember obj)
306
public int
GetHashCode
(TypeUsage obj)
System\Data\Common\Utils\Boolean\Solver.cs (1)
339
public int
GetHashCode
(Vertex vertex)
System\Data\Common\Utils\ByValueEqualityComparer.cs (1)
55
public int
GetHashCode
(object obj)
System\Data\Common\Utils\Pair.cs (1)
97
public int
GetHashCode
(Pair<TFirst, TSecond> source)
System\Data\Common\Utils\Set.cs (1)
374
int IEqualityComparer<Set<TElement>>.
GetHashCode
(Set<TElement> obj)
System\Data\Common\Utils\TrailingSpaceComparer.cs (2)
37
int IEqualityComparer<object>.
GetHashCode
(object obj)
59
public int
GetHashCode
(string obj)
System\Data\Mapping\StorageEntityContainerMapping.cs (1)
502
public int
GetHashCode
(InputForComputingCellGroups value)
System\Data\Mapping\Update\Internal\CompositeKey.cs (1)
125
public int
GetHashCode
(CompositeKey key)
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (1)
494
public int
GetHashCode
(ForeignKeyValue obj)
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQuery.cs (1)
167
public int
GetHashCode
(FragmentQuery q)
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (1)
176
public int
GetHashCode
(HashSet<MemberPath> attrs)
System\Data\Mapping\ViewGeneration\Structures\BoolExpression.cs (1)
462
public int
GetHashCode
(BoolExpression expression)
System\Data\Mapping\ViewGeneration\Structures\BoolLiteral.cs (2)
139
public int
GetHashCode
(BoolLiteral literal)
169
public int
GetHashCode
(BoolLiteral literal)
System\Data\Mapping\ViewGeneration\Structures\Constant.cs (1)
124
public int
GetHashCode
(Constant key)
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (1)
312
public int
GetHashCode
(LeafCellTreeNode node)
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (1)
366
public int
GetHashCode
(LeftCellWrapper wrapper)
System\Data\Mapping\ViewGeneration\Structures\MemberPath.cs (1)
878
public int
GetHashCode
(MemberPath key)
System\Data\Mapping\ViewGeneration\Structures\ProjectedSlot.cs (1)
187
public int
GetHashCode
(ProjectedSlot key)
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (1)
805
public int
GetHashCode
(Dictionary<MemberPath, Set<Constant>> obj)
System\Data\Metadata\DefaultAssemblyResolver.cs (1)
178
public int
GetHashCode
(Assembly assembly)
System\Data\Objects\ObjectStateManager.cs (1)
3773
int IEqualityComparer<object>.
GetHashCode
(object obj)
System\Data\Objects\ObjectStateManagerMetadata.cs (1)
43
public int
GetHashCode
(EntitySetQualifiedType obj)
System\Data\Objects\SpanIndex.cs (1)
48
public int
GetHashCode
(RowType obj)
System\Data\Query\PlanCompiler\TypeUtils.cs (1)
71
public int
GetHashCode
(System.Data.Metadata.Edm.TypeUsage obj)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
2090
public int
GetHashCode
(DbExpression obj)
System.Data.Linq (2)
IdentityManager.cs (1)
226
public int
GetHashCode
(MultiKey<T1, T2> x) {
SqlClient\Common\TypeSystem.cs (1)
267
public int
GetHashCode
(MetaPosition obj) {
System.Data.Services (4)
parent\Client\System\Data\Services\Client\ReferenceEqualityComparer.cs (1)
160
public int
GetHashCode
(T obj)
System\Data\Services\Caching\MetadataCache.cs (1)
150
public int
GetHashCode
(MetadataCacheKey obj)
System\Data\Services\Int32EqualityComparer.cs (1)
39
public int
GetHashCode
(int obj)
System\Data\Services\Providers\BasicExpandProvider.cs (1)
555
public int
GetHashCode
(ProjectedProperty obj)
System.Data.Services.Client (4)
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
2414
public int
GetHashCode
(PropertyInfo obj)
System\Data\Services\Client\ClientType.cs (1)
1068
public int
GetHashCode
(TypeName obj)
System\Data\Services\Client\LinkDescriptor.cs (1)
119
public int
GetHashCode
(LinkDescriptor obj)
System\Data\Services\Client\ReferenceEqualityComparer.cs (1)
160
public int
GetHashCode
(T obj)
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
899
public int
GetHashCode
(EntitySetBase obj)
System.IdentityModel (3)
System\IdentityModel\Claims\ClaimComparer.cs (1)
149
public int
GetHashCode
(Claim claim)
System\IdentityModel\Tokens\ConfigurationBasedIssuerNameRegistry.cs (1)
212
public int
GetHashCode
(string obj)
System\IdentityModel\Tokens\SamlAttributeKeyComparer.cs (1)
93
public int
GetHashCode
( AttributeKey obj )
System.Runtime.Serialization (1)
System\Runtime\Serialization\DataContract.cs (1)
2686
public int
GetHashCode
(TypeHandleRef obj)
System.ServiceModel (9)
System\ServiceModel\ChannelFactoryRefCache.cs (1)
85
public int
GetHashCode
(EndpointTrait<TChannel> obj)
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
264
public int
GetHashCode
(CodeTypeReference obj)
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
712
int IEqualityComparer<MessageDescription>.
GetHashCode
(MessageDescription obj)
System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (1)
303
public int
GetHashCode
(QName obj)
System\ServiceModel\Dispatcher\OperationFormatter.cs (1)
896
public int
GetHashCode
(QName obj)
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (1)
747
public int
GetHashCode
(System.IdentityModel.Claims.Claim claim)
System\ServiceModel\Security\InMemoryNonceCache.cs (1)
98
public int
GetHashCode
(byte[] o)
System\UriTemplateEquivalenceComparer.cs (1)
38
public int
GetHashCode
(UriTemplate obj)
System\UriTemplateHelpers.cs (1)
378
public int
GetHashCode
(string obj)
System.Web (2)
UI\EventValidationStore.cs (1)
155
public int
GetHashCode
(byte[] obj) {
UI\WebParts\PersonalizationStateInfoCollection.cs (1)
188
int IEqualityComparer<Key>.
GetHashCode
(Key key) {
System.Web.DataVisualization (1)
Common\General\Chart.cs (1)
4349
public int
GetHashCode
(KeyInfo obj)
System.Windows.Forms.DataVisualization (1)
Common\General\Chart.cs (1)
4349
public int
GetHashCode
(KeyInfo obj)
System.Workflow.Runtime (1)
parent\Common\Shared\DigestComparer.cs (1)
30
int IEqualityComparer<byte[]>.
GetHashCode
(byte[] checksumBytes)
System.Xml (1)
System\Xml\Core\SecureStringHasher.cs (1)
50
public int
GetHashCode
( String key ) {
System.Xml.Linq (2)
System\Xml\Linq\XLinq.cs (1)
2122
public int
GetHashCode
(XNode obj) {
System\Xml\Linq\XNodeValidator.cs (1)
326
public int
GetHashCode
(XmlSchemaInfo si) {
WindowsBase (6)
Base\MS\Internal\ComponentModel\PropertyDescriptorComparer.cs (1)
18
public int
GetHashCode
(PropertyDescriptor p)
Base\MS\Internal\ComponentModel\ReferenceEqualityComparer.cs (1)
18
public int
GetHashCode
(object o)
Base\MS\Internal\ContentType.cs (2)
346
public int
GetHashCode
(ContentType obj)
375
public int
GetHashCode
(ContentType obj)
Base\System\IO\Packaging\ZipPackage.cs (1)
848
int IEqualityComparer<string>.
GetHashCode
(string extension)
Base\System\Security\RightsManagement\User.cs (1)
288
int IEqualityComparer<ContentUser>.
GetHashCode
(ContentUser user)
47 references to GetHashCode
mscorlib (9)
system\Collections\Concurrent\ConcurrentDictionary.cs (5)
434
GetBucketAndLockNo(comparer.
GetHashCode
(key), out bucketNo, out lockNo, tables.m_buckets.Length, tables.m_locks.Length);
507
GetBucketAndLockNo(comparer.
GetHashCode
(key), out bucketNo, out lockNoUnused, tables.m_buckets.Length, tables.m_locks.Length);
558
hashcode = comparer.
GetHashCode
(key);
817
hashcode = comparer.
GetHashCode
(key);
1896
nodeHashCode = newComparer.
GetHashCode
(current.m_key);
system\collections\generic\dictionary.cs (4)
303
int hashCode = comparer.
GetHashCode
(key) & 0x7FFFFFFF;
326
int hashCode = comparer.
GetHashCode
(key) & 0x7FFFFFFF;
452
newEntries[i].hashCode = (comparer.
GetHashCode
(newEntries[i].key) & 0x7FFFFFFF);
473
int hashCode = comparer.
GetHashCode
(key) & 0x7FFFFFFF;
System (1)
compmod\system\collections\generic\sortedset.cs (1)
2447
hashCode = hashCode ^ (e_comparer.
GetHashCode
(t) & 0x7FFFFFFF);
System.Activities (2)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (2)
1557
this.hashCode = CombineHashCodes(this.hashCode, AssemblySetEqualityComparer.
GetHashCode
(this.assemblies));
1558
this.hashCode = CombineHashCodes(this.hashCode, NamespaceSetEqualityComparer.
GetHashCode
(this.namespaces));
System.Core (8)
System\Collections\Generic\HashSet.cs (1)
1526
return m_comparer.
GetHashCode
(item) & Lower31BitMask;
System\Collections\Generic\HashSetEqualityComparer.cs (1)
40
hashCode = hashCode ^ (m_comparer.
GetHashCode
(t) & 0x7FFFFFFF);
System\Linq\Enumerable.cs (2)
2255
return (key == null) ? 0 : comparer.
GetHashCode
(key) & 0x7FFFFFFF;
2473
return (value == null) ? 0 : comparer.
GetHashCode
(value) & 0x7FFFFFFF;
System\Linq\Parallel\Partitioning\HashRepartitionStream.cs (2)
97
m_elementComparer.
GetHashCode
(element)))
107
m_keyComparer.
GetHashCode
(key))) % m_distributionMod;
System\Linq\Parallel\Utils\HashLookup.cs (1)
70
comparer.
GetHashCode
(key));
System\Linq\Parallel\Utils\WrapperEqualityComparer.cs (1)
49
return m_comparer.
GetHashCode
(x.Value);
System.Data.Entity (20)
System\Data\Common\Utils\Boolean\BoolExpr.cs (1)
288
return _comparer.
GetHashCode
(_identifier);
System\Data\Common\Utils\Boolean\DomainConstraint.cs (1)
43
int identifierHashCode = _identifierComparer.
GetHashCode
(_identifier);
System\Data\Common\Utils\Set.cs (1)
289
hashCode ^= Comparer.
GetHashCode
(element);
System\Data\Common\Utils\TrailingSpaceComparer.cs (1)
44
return s_template.
GetHashCode
(obj);
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (1)
496
return _baseComparer.
GetHashCode
(obj.Key);
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQuery.cs (3)
172
attrHashCode ^= MemberPath.EqualityComparer.
GetHashCode
(member);
178
varHashCode ^= MemberPath.EqualityComparer.
GetHashCode
(oneOf.RestrictedMemberSlot.MemberPath);
181
constHashCode ^= Constant.EqualityComparer.
GetHashCode
(constant);
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (1)
181
hashCode += MemberPath.EqualityComparer.
GetHashCode
(attr) * 7;
System\Data\Mapping\ViewGeneration\Structures\ConstantProjectedSlot.cs (1)
84
return Constant.EqualityComparer.
GetHashCode
(m_constant);
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (1)
218
result ^= Constant.EqualityComparer.
GetHashCode
(constant);
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (1)
368
return BoolExpression.EqualityComparer.
GetHashCode
(wrapper.RightCellQuery.WhereClause) ^ wrapper.RightExtent.GetHashCode();
System\Data\Mapping\ViewGeneration\Structures\MemberPath.cs (1)
542
return EqualityComparer.
GetHashCode
(this);
System\Data\Mapping\ViewGeneration\Structures\MemberProjectedSlot.cs (1)
117
return MemberPath.EqualityComparer.
GetHashCode
(m_memberPath);
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (2)
167
int result = MemberProjectedSlot.EqualityComparer.
GetHashCode
(m_restrictedMemberSlot);
194
int result = MemberProjectedSlot.EqualityComparer.
GetHashCode
(m_restrictedMemberSlot);
System\Data\Mapping\ViewGeneration\Structures\NegatedConstant.cs (1)
96
result ^= Constant.EqualityComparer.
GetHashCode
(constant);
System\Data\Mapping\ViewGeneration\Structures\ProjectedSlot.cs (1)
58
return EqualityComparer.
GetHashCode
(this);
System\Data\Mapping\ViewGeneration\Validation\ViewCellSlot.cs (2)
78
return MemberProjectedSlot.EqualityComparer.
GetHashCode
(m_cSlot) ^
79
MemberProjectedSlot.EqualityComparer.
GetHashCode
(m_sSlot) ^
System.Data.Linq (4)
IdentityManager.cs (4)
227
return this.comparer1.
GetHashCode
(x.value1) ^ this.comparer2.
GetHashCode
(x.value2);
274
int hashCode = comparer.
GetHashCode
(key) & 0x7FFFFFFF;
314
int hashCode = comparer.
GetHashCode
(key) & 0x7FFFFFFF;
System.IdentityModel (1)
System\IdentityModel\Claims\Claim.cs (1)
213
return comparer.
GetHashCode
(this);
System.ServiceModel (1)
System\ServiceModel\EndpointIdentity.cs (1)
173
return GetClaimComparer().
GetHashCode
(this.IdentityClaim);
System.Workflow.Runtime (1)
WorkflowDefinitionDispenser.cs (1)
581
return comparer.
GetHashCode
((byte[])obj);