35 references to EqualityComparer
System.Data.Entity (35)
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQuery.cs (1)
181
constHashCode ^= Constant.
EqualityComparer
.GetHashCode(constant);
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (1)
132
new Set<Constant>(new Constant[] { value }, Constant.
EqualityComparer
));
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (3)
285
Set<Constant> newDomain = new Set<Constant>(_domainMap.GetDomain(currentPath), Constant.
EqualityComparer
);
516
domain.Contains(Constant.Null, Constant.
EqualityComparer
) &&
517
domain.Contains(Constant.NotNull, Constant.
EqualityComparer
));
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (3)
303
Set<Constant> allowedValues = new Set<Constant>(Constant.
EqualityComparer
);
336
Set<Constant> allowedValues = new Set<Constant>(Constant.
EqualityComparer
);
580
Constant.
EqualityComparer
.Equals(Value, other.Value);
System\Data\Mapping\ViewGeneration\Structures\BoolLiteral.cs (4)
43
Set<Constant> domainSet = new Set<Constant>(domain, Constant.
EqualityComparer
);
44
Set<Constant> rangeSet = new Set<Constant>(range, Constant.
EqualityComparer
);
184
Set<Constant> variableDomain = new Set<Constant>(possibleValues, Constant.
EqualityComparer
).MakeReadOnly();
185
Set<Constant> thisDomain = new Set<Constant>(actualValues, Constant.
EqualityComparer
).MakeReadOnly();
System\Data\Mapping\ViewGeneration\Structures\ConstantProjectedSlot.cs (2)
79
return Constant.
EqualityComparer
.Equals(m_constant, rightSlot.m_constant);
84
return Constant.
EqualityComparer
.GetHashCode(m_constant);
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (11)
70
m_domain = new Set<Constant>(domain.m_domain, Constant.
EqualityComparer
);
71
m_possibleValues = new Set<Constant>(domain.m_possibleValues, Constant.
EqualityComparer
);
142
domain = new Set<Constant>(CreateList(true, false), Constant.
EqualityComparer
);
147
domain = new Set<Constant>(Constant.
EqualityComparer
);
170
domain = new Set<Constant>(types, Constant.
EqualityComparer
);
218
result ^= Constant.
EqualityComparer
.GetHashCode(constant);
267
CellConstantSet result = new Set<Constant>(Constant.
EqualityComparer
);
306
CellConstantSet result = new CellConstantSet(Constant.
EqualityComparer
);
470
.Select(restriction => new CellConstantSet(restriction.Domain.Values, Constant.
EqualityComparer
));
493
result = new CellConstantSet(restrictedDomain.Values, Constant.
EqualityComparer
);
531
CellConstantSet union = new CellConstantSet(domain1, Constant.
EqualityComparer
).Union(domain2);
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (3)
175
var domainMap = m_conditionDomainMap.ToDictionary(p => p.Key, p => new Set<Constant>(p.Value, Constant.
EqualityComparer
));
184
var domainMap = m_conditionDomainMap.ToDictionary(p => p.Key, p => new Set<Constant>(p.Value, Constant.
EqualityComparer
));
391
possibleValues = new CellConstantSet(Constant.
EqualityComparer
);
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (2)
225
constants = new Set<Constant>(negatedConstant.Elements, Constant.
EqualityComparer
);
237
constants = new Set<Constant>(Domain.Values, Constant.
EqualityComparer
);
System\Data\Mapping\ViewGeneration\Structures\NegatedConstant.cs (3)
34
m_negatedDomain = new Set<Constant>(values, Constant.
EqualityComparer
);
96
result ^= Constant.
EqualityComparer
.GetHashCode(constant);
177
Set<Constant> negatedConstants = new Set<Constant>(this.Elements, Constant.
EqualityComparer
);
System\Data\Mapping\ViewGeneration\Structures\ScalarRestriction.cs (1)
288
Set<Constant> domainValues = new Set<Constant>(this.Domain.Values, Constant.
EqualityComparer
);
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (1)
247
values = new Set<Constant>(Constant.
EqualityComparer
);