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