3 instantiations of SqlSimpleCase
System.Data.Linq (3)
SqlClient\Common\SqlFactory.cs (1)
461
return new
SqlSimpleCase
(clrType, discriminator, whens, sourceExpression);
SqlClient\Query\SqlCaseSimplifier.cs (1)
231
return new
SqlSimpleCase
(caseType, discriminator, newWhens, discriminator.SourceExpression);
SqlClient\Query\SqlDuplicator.cs (1)
332
return new
SqlSimpleCase
(c.ClrType, expr, whens, c.SourceExpression);
26 references to SqlSimpleCase
System.Data.Linq (26)
SqlClient\Common\SqlVisitor.cs (2)
173
result = this.VisitSimpleCase((
SqlSimpleCase
)node);
506
internal virtual SqlExpression VisitSimpleCase(
SqlSimpleCase
c) {
SqlClient\Query\SqlBinder.cs (2)
730
SqlSimpleCase
sc = (
SqlSimpleCase
)exp;
SqlClient\Query\SqlCaseSimplifier.cs (7)
44
AreCaseWhenValuesConstant((
SqlSimpleCase
)bo.Left)) {
45
return this.DistributeOperatorIntoCase(bo.NodeType, (
SqlSimpleCase
)bo.Left, bo.Right);
49
AreCaseWhenValuesConstant((
SqlSimpleCase
)bo.Right)) {
50
return this.DistributeOperatorIntoCase(bo.NodeType, (
SqlSimpleCase
)bo.Right, bo.Left);
61
internal bool AreCaseWhenValuesConstant(
SqlSimpleCase
sc) {
72
private SqlExpression DistributeOperatorIntoCase(SqlNodeType nt,
SqlSimpleCase
sc, SqlExpression expr) {
87
internal override SqlExpression VisitSimpleCase(
SqlSimpleCase
c) {
SqlClient\Query\SqlColumnizer.cs (1)
94
internal override SqlExpression VisitSimpleCase(
SqlSimpleCase
c) {
SqlClient\Query\SqlComparer.cs (8)
27
node1 = UnwrapTrivialCaseExpression((
SqlSimpleCase
)node1);
30
node2 = UnwrapTrivialCaseExpression((
SqlSimpleCase
)node2);
177
SqlSimpleCase
c1 = (
SqlSimpleCase
)node1;
178
SqlSimpleCase
c2 = (
SqlSimpleCase
)node2;
289
private static SqlExpression UnwrapTrivialCaseExpression(
SqlSimpleCase
sc) {
298
return UnwrapTrivialCaseExpression((
SqlSimpleCase
)result);
SqlClient\Query\SqlDuplicator.cs (1)
325
internal override SqlExpression VisitSimpleCase(
SqlSimpleCase
c) {
SqlClient\Query\SqlExpressionNullability.cs (2)
30
SqlSimpleCase
sc = (
SqlSimpleCase
)expr;
SqlClient\Query\SqlFormatter.cs (1)
1113
internal override SqlExpression VisitSimpleCase(
SqlSimpleCase
c) {
SqlClient\Query\SqlMultiplexer.cs (1)
150
internal override SqlExpression VisitSimpleCase(
SqlSimpleCase
c) {
SqlClient\Query\SqlRetyper.cs (1)
182
internal override SqlExpression VisitSimpleCase(
SqlSimpleCase
c) {