28 references to EqualityComparer
System.Data.Entity (28)
System\Data\Mapping\ViewGeneration\CellTreeSimplifier.cs (1)
440new Dictionary<MemberPath, MemberPath>(MemberPath.EqualityComparer);
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQuery.cs (2)
172attrHashCode ^= MemberPath.EqualityComparer.GetHashCode(member); 178varHashCode ^= MemberPath.EqualityComparer.GetHashCode(oneOf.RestrictedMemberSlot.MemberPath);
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (1)
181hashCode += MemberPath.EqualityComparer.GetHashCode(attr) * 7;
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (2)
209if (_context.ViewTarget == ViewTarget.QueryView && MemberPath.EqualityComparer.Equals(currentPath, _extentPath)) 1258return new Set<MemberPath>(memberVariables, MemberPath.EqualityComparer);
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (2)
519if (!MemberPath.EqualityComparer.Equals(thisSlot.MemberPath, thatSlot.MemberPath)) 579return MemberPath.EqualityComparer.Equals(Member, other.Member) &&
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (2)
440AttributeSet attributes = new AttributeSet(MemberPath.EqualityComparer); 577if (slot != null && MemberPath.EqualityComparer.Equals(member, slot.MemberPath))
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (3)
342new Dictionary<MemberPath, CellConstantSet>(MemberPath.EqualityComparer); 392Dictionary<MemberPath, CellConstantSet> updateDomainMap = new Dictionary<MemberPath, CellConstantSet>(MemberPath.EqualityComparer); 469.Where(restriction => MemberPath.EqualityComparer.Equals(restriction.RestrictedMemberSlot.MemberPath, slot.MemberPath))
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (2)
66m_conditionDomainMap = new Dictionary<MemberPath, CellConstantSet>(MemberPath.EqualityComparer); 136m_nonConditionDomainMap = new Dictionary<MemberPath, CellConstantSet>(MemberPath.EqualityComparer);
System\Data\Mapping\ViewGeneration\Structures\MemberPath.cs (2)
527return EqualityComparer.Equals(this, right); 542return EqualityComparer.GetHashCode(this);
System\Data\Mapping\ViewGeneration\Structures\MemberProjectedSlot.cs (3)
112return MemberPath.EqualityComparer.Equals(m_memberPath, rightSlot.m_memberPath); 117return MemberPath.EqualityComparer.GetHashCode(m_memberPath); 183if (MemberPath.EqualityComparer.Equals(slot.MemberPath, member))
System\Data\Mapping\ViewGeneration\Structures\MemberProjectionIndex.cs (1)
48m_indexMap = new Dictionary<MemberPath, int>(MemberPath.EqualityComparer);
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (1)
36m_attrs = new AttributeSet(MemberPath.EqualityComparer);
System\Data\Mapping\ViewGeneration\Validation\BasicCellRelation.cs (1)
97Set<MemberPath> associationKeyMembers = new Set<MemberPath>(MemberPath.EqualityComparer);
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (2)
784Set<MemberPath> keysOfOne = new Set<MemberPath>(one.Keys, MemberPath.EqualityComparer); 785Set<MemberPath> keysOfTwo = new Set<MemberPath>(two.Keys, MemberPath.EqualityComparer);
System\Data\Mapping\ViewGeneration\Validation\ViewKeyConstraint.cs (1)
80if (MemberPath.EqualityComparer.Equals(path1, path2) || path1.IsEquivalentViaRefConstraint(path2))
System\Data\Mapping\ViewGeneration\ViewgenContext.cs (2)
253Set<MemberPath> tokenPaths = new Set<MemberPath>(MemberPath.EqualityComparer); 271MemberPath.EqualityComparer);