31 references to Unary
System.Data.Linq (31)
SqlClient\Common\SqlFactory.cs (1)
321
return
Unary
(nodeType, expression, expression.SourceExpression);
SqlClient\Query\MethodCallConverter.cs (1)
208
return sql.
Unary
(SqlNodeType.IsNotNull, m.Expression, m.SourceExpression);
SqlClient\Query\QueryConverter.cs (10)
585
sql.
Unary
(SqlNodeType.IsNotNull, aref, this.dominatingExpression)
620
result = sql.
Unary
(SqlNodeType.IsNotNull, new SqlUnary(SqlNodeType.Treat, ofType, typeProvider.From(ofType), expr, this.dominatingExpression), this.dominatingExpression);
1135
final.Where = sql.
Unary
(SqlNodeType.Not, ss, this.dominatingExpression);
1277
result = sql.
Unary
(SqlNodeType.Negate, exp, this.dominatingExpression);
1281
result = sql.
Unary
(SqlNodeType.Not, exp, this.dominatingExpression);
1284
result = sql.
Unary
(SqlNodeType.BitNot, exp, this.dominatingExpression);
1288
result = sql.
Unary
(SqlNodeType.Treat, exp, this.dominatingExpression);
1384
whens.Add(new SqlWhen(sql.
Unary
(SqlNodeType.IsNull, left, left.SourceExpression), right));
1840
sel.Where = sql.
Unary
(SqlNodeType.Not2V, cond, this.dominatingExpression);
1841
return sql.
Unary
(SqlNodeType.Not, ss, this.dominatingExpression);
SqlClient\Query\SqlBinder.cs (7)
179
return this.VisitUnaryOperator(this.sql.
Unary
(SqlNodeType.IsNull, bo.Right, bo.SourceExpression));
182
return this.VisitUnaryOperator(this.sql.
Unary
(SqlNodeType.IsNull, bo.Left, bo.SourceExpression));
188
return this.VisitUnaryOperator(this.sql.
Unary
(SqlNodeType.IsNotNull, bo.Right, bo.SourceExpression));
191
return this.VisitUnaryOperator(this.sql.
Unary
(SqlNodeType.IsNotNull, bo.Left, bo.SourceExpression));
603
exp = sql.
Unary
(SqlNodeType.Not, exp, exp.SourceExpression);
611
exp = sql.
Unary
(SqlNodeType.Not, exp, exp.SourceExpression);
628
values.Add(VisitUnaryOperator(sql.
Unary
(uo.NodeType, when.Value, when.Value.SourceExpression)));
SqlClient\Query\SqlCaseSimplifier.cs (2)
201
rewrite = sql.OrAccumulate(rewrite, sql.
Unary
(SqlNodeType.IsNull, discriminator, discriminator.SourceExpression));
204
rewrite = sql.AndAccumulate(rewrite, sql.
Unary
(SqlNodeType.IsNotNull, discriminator, discriminator.SourceExpression));
SqlClient\Query\SqlMethodCallConverter.cs (7)
1193
returnValue = sql.
Unary
(SqlNodeType.Negate, mc.Object, source);
1366
sql.
Unary
(SqlNodeType.Negate, right, bo.SourceExpression),
1371
sql.
Unary
(SqlNodeType.Negate, right, bo.SourceExpression),
1414
return sql.
Unary
(SqlNodeType.Negate, mc.Arguments[0], source);
2021
SqlExpression minusX = sql.
Unary
(SqlNodeType.Negate, x, source);
2127
SqlExpression minusX = sql.
Unary
(SqlNodeType.Negate, x, source);
2146
SqlExpression minusX = sql.
Unary
(SqlNodeType.Negate, x, source);
SqlClient\Query\SqlMultiplexer.cs (1)
63
SqlSelect countSelect = new SqlSelect(sql.
Unary
(SqlNodeType.Count, null, sms.SourceExpression), copyAlias, sms.SourceExpression);
SqlClient\Query\Translator.cs (2)
373
exp = sql.
Unary
(SqlNodeType.Not, exp, exp.SourceExpression);
460
SqlExpression compare = sql.
Unary
(expr.NodeType, sql.DoNotVisitExpression(exprs[i]), expr.SourceExpression);