7 writes to Match
System.Data.Linq (7)
SqlClient\Common\SqlNode.cs (1)
1110
this.
Match
= match;
SqlClient\Common\SqlVisitor.cs (2)
491
when.
Match
= this.VisitExpression(when.Match);
510
when.
Match
= this.VisitExpression(when.Match);
SqlClient\Query\SqlBinder.cs (1)
1332
when.
Match
= this.ConvertToFetchedExpression(when.Match);
SqlClient\Query\SqlBooleanMismatchVisitor.cs (1)
81
when.
Match
= this.VisitPredicate(when.Match);
SqlClient\Query\SqlCaseSimplifier.cs (2)
99
c.Whens[compareWhen].
Match
= VisitExpression(c.Whens[compareWhen].Match);
108
when.
Match
= this.VisitExpression(when.Match);
31 references to Match
System.Data.Linq (31)
SqlClient\Common\SqlVisitor.cs (2)
491
when.Match = this.VisitExpression(when.
Match
);
510
when.Match = this.VisitExpression(when.
Match
);
SqlClient\Query\SqlBinder.cs (5)
455
return this.VisitExpression(sql.Binary(SqlNodeType.And, c.Whens[0].
Match
, c.Whens[0].Value));
458
return this.VisitExpression(sql.Binary(SqlNodeType.Or, c.Whens[0].
Match
, c.Else));
742
newMatches.Add(when.
Match
);
754
whens.Add(new SqlWhen(when.
Match
, value));
1332
when.Match = this.ConvertToFetchedExpression(when.
Match
);
SqlClient\Query\SqlBooleanMismatchVisitor.cs (1)
81
when.Match = this.VisitPredicate(when.
Match
);
SqlClient\Query\SqlCaseSimplifier.cs (8)
79
matches.Add(when.
Match
);
93
if (c.Whens[i].
Match
== null) {
99
c.Whens[compareWhen].Match = VisitExpression(c.Whens[compareWhen].
Match
);
108
when.Match = this.VisitExpression(when.
Match
);
129
rewrite = TryToWriteAsReducedCase(c.ClrType, c.Expression, newWhens, c.Whens[compareWhen].
Match
, c.Whens.Count);
186
if (newWhens[i].
Match
!= null) { // Skip the ELSE
188
rewrite = sql.OrAccumulate(rewrite, sql.Binary(SqlNodeType.EQ, discriminator, newWhens[i].
Match
));
191
rewrite = sql.AndAccumulate(rewrite, sql.Binary(SqlNodeType.NE, discriminator, newWhens[i].
Match
));
SqlClient\Query\SqlComparer.cs (5)
153
if (!AreEqual(c1.Whens[i].
Match
, c2.Whens[i].
Match
) ||
182
if (!AreEqual(c1.Whens[i].
Match
, c2.Whens[i].
Match
) ||
293
if (!SqlComparer.AreEqual(sc.Expression, sc.Whens[0].
Match
)) {
SqlClient\Query\SqlDuplicator.cs (2)
312
whens[i] = new SqlWhen(this.VisitExpression(when.
Match
), this.VisitExpression(when.Value));
330
whens[i] = new SqlWhen(this.VisitExpression(when.
Match
), this.VisitExpression(when.Value));
SqlClient\Query\SqlFormatter.cs (3)
1097
this.Visit(when.
Match
);
1124
if (i == n - 1 && when.
Match
== null) {
1131
this.Visit(when.
Match
);
SqlClient\Reader\ObjectReaderCompiler.cs (5)
413
if (!CanBeCompared(c1.Whens[i].
Match
) ||
572
if (!AreSimilar(c1.Whens[i].
Match
, c2.Whens[i].
Match
) ||
2032
if (when.
Match
!= null) {
2033
this.GenerateExpressionForType(when.
Match
, typeof(bool)); // test