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