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