38 references to AreEqual
System.Data.Linq (38)
SqlClient\Query\SqlBinder.cs (1)
1525
allSame = allSame && SqlComparer.
AreEqual
(when.Value, sc.Whens[0].Value);
SqlClient\Query\SqlCaseSimplifier.cs (1)
110
if (!SqlComparer.
AreEqual
(c.Whens[compareWhen].Value, when.Value)) {
SqlClient\Query\SqlComparer.cs (33)
37
if (
AreEqual
(eset.Expressions[i], node2))
44
if (
AreEqual
(node1, eset.Expressions[i]))
69
return
AreEqual
(((SqlUnary)node1).Operand, ((SqlUnary)node2).Operand);
91
return
AreEqual
(firstNode.Left, secondNode.Left)
92
&&
AreEqual
(firstNode.Right, secondNode.Right);
97
return sun1.ClrType == sun2.ClrType && sun1.SqlType == sun2.SqlType &&
AreEqual
(sun1.Operand, sun2.Operand);
102
return
AreEqual
(b1.Expression, b2.Expression) &&
103
AreEqual
(b1.Start, b2.Start) &&
104
AreEqual
(b1.End, b2.End);
109
return
AreEqual
(((SqlAlias)node1).Node, ((SqlAlias)node2).Node);
111
return
AreEqual
(((SqlAliasRef)node1).Alias, ((SqlAliasRef)node2).Alias);
115
return col1 == col2 || (col1.Expression != null && col2.Expression != null &&
AreEqual
(col1.Expression, col2.Expression));
120
AreEqual
(((SqlMember)node1).Expression, ((SqlMember)node2).Expression);
130
if (!
AreEqual
(c1.Discriminator, c2.Discriminator)) {
137
if (!
AreEqual
(c1.Whens[i].Match, c2.Whens[i].Match)) {
140
if (!
AreEqual
(c1.Whens[i].TypeBinding, c2.Whens[i].TypeBinding)) {
153
if (!
AreEqual
(c1.Whens[i].Match, c2.Whens[i].Match) ||
154
!
AreEqual
(c1.Whens[i].Value, c2.Whens[i].Value))
157
return
AreEqual
(c1.Else, c2.Else);
165
if (!
AreEqual
(c1.Whens[i].Match, c2.Whens[i].Match) ||
166
!
AreEqual
(c1.Whens[i].Value, c2.Whens[i].Value))
174
return
AreEqual
(dt1.Discriminator, dt2.Discriminator);
182
if (!
AreEqual
(c1.Whens[i].Match, c2.Whens[i].Match) ||
183
!
AreEqual
(c1.Whens[i].Value, c2.Whens[i].Value))
191
return
AreEqual
(like1.Expression, like2.Expression) &&
192
AreEqual
(like1.Pattern, like2.Pattern) &&
193
AreEqual
(like1.Escape, like2.Escape);
208
if (!
AreEqual
(f1.Arguments[i], f2.Arguments[i]))
219
if (!
AreEqual
(l1.Expansion, l2.Expansion)) {
226
if (!
AreEqual
(l1.KeyExpressions[i], l2.KeyExpressions[i])) {
238
if (!
AreEqual
(es1.Expressions[i], es2.Expressions[i]))
245
return
AreEqual
(ov1.Value, ov2.Value);
293
if (!SqlComparer.
AreEqual
(sc.Expression, sc.Whens[0].Match)) {
SqlClient\Query\SqlDeflator.cs (2)
207
if (SqlComparer.
AreEqual
(e1, e2))
401
if (SqlComparer.
AreEqual
(select.GroupBy[i], select.GroupBy[j]))
SqlClient\Query\SqlFlattener.cs (1)
165
if (SqlComparer.
AreEqual
(c.Expression, expr)) {