5 writes to Discriminator
System.Data.Linq (5)
SqlClient\Common\SqlNode.cs (1)
1322this.Discriminator = discriminator;
SqlClient\Common\SqlVisitor.cs (1)
516tc.Discriminator = this.VisitExpression(tc.Discriminator);
SqlClient\Query\SqlColumnizer.cs (1)
104tc.Discriminator = this.VisitExpression(tc.Discriminator);
SqlClient\Query\SqlExpander.cs (1)
181tcs[i].Discriminator = discriminators[i];
SqlClient\Query\SqlMethodCallConverter.cs (1)
675tc.Discriminator = base.VisitExpression(tc.Discriminator);
23 references to Discriminator
System.Data.Linq (23)
SqlClient\Common\SqlVisitor.cs (1)
516tc.Discriminator = this.VisitExpression(tc.Discriminator);
SqlClient\Query\SqlBinder.cs (6)
438return sql.Case(tc.Discriminator.ClrType, tc.Discriminator, matches, values, tc.SourceExpression); 557new SqlUnary(SqlNodeType.OuterJoinedValue, tc.Discriminator.ClrType, tc.Discriminator.SqlType, tc.Discriminator, tc.SourceExpression), 646return sql.Case(uo.ClrType, tc.Discriminator, newMatches, newValues, tc.SourceExpression);
SqlClient\Query\SqlColumnizer.cs (1)
104tc.Discriminator = this.VisitExpression(tc.Discriminator);
SqlClient\Query\SqlComparer.cs (2)
130if (!AreEqual(c1.Discriminator, c2.Discriminator)) {
SqlClient\Query\SqlDuplicator.cs (1)
113SqlExpression disc = VisitExpression(tc.Discriminator);
SqlClient\Query\SqlExpander.cs (1)
176discriminators.Add(tcs[i].Discriminator);
SqlClient\Query\SqlFlattener.cs (1)
197this.FlattenGroupByExpression(exprs, tc.Discriminator);
SqlClient\Query\SqlFormatter.cs (2)
1184if (c.Discriminator != null) { 1186this.Visit(c.Discriminator);
SqlClient\Query\SqlMethodCallConverter.cs (2)
675tc.Discriminator = base.VisitExpression(tc.Discriminator); 695return sql.Case(tc.ClrType, tc.Discriminator, matches, values, tc.SourceExpression);
SqlClient\Reader\ObjectReaderCompiler.cs (6)
422if (!CanBeCompared(c1.Discriminator)) { 581if (!AreSimilar(c1.Discriminator, c2.Discriminator)) { 1937LocalBuilder locDiscriminator = gen.DeclareLocal(stc.Discriminator.ClrType); 1938this.GenerateExpressionForType(stc.Discriminator, stc.Discriminator.ClrType);