11 references to UnaryConvert
System.Data.Linq (11)
SqlClient\Common\SqlFactory.cs (3)
34
return
UnaryConvert
(clrType, sqlType, expr, expr.SourceExpression);
57
return
UnaryConvert
(clrType, typeProvider.From(clrType), expr, expr.SourceExpression);
84
return
UnaryConvert
(typeof(DateTime), typeProvider.From(typeof(DateTime)), expr, expr.SourceExpression);
SqlClient\Query\LongTypeConverter.cs (1)
38
return sql.
UnaryConvert
(expr.ClrType, newType, expr, expr.SourceExpression);
SqlClient\Query\QueryConverter.cs (1)
722
return sql.
UnaryConvert
(type, typeProvider.From(type), expr, expr.SourceExpression);
SqlClient\Query\SqlRetyper.cs (6)
172
when.Value = sql.
UnaryConvert
(when.Value.ClrType, type, when.Value, when.Value.SourceExpression);
176
c.Else = sql.
UnaryConvert
(c.Else.ClrType, type, c.Else, c.Else.SourceExpression);
194
when.Value = sql.
UnaryConvert
(when.Value.ClrType, type, when.Value, when.Value.SourceExpression);
238
arg2 = sql.
UnaryConvert
(arg1.ClrType, arg1.SqlType, arg2, arg2.SourceExpression);
304
arg2 = sql.
UnaryConvert
(arg1.ClrType, arg1.SqlType, arg2, arg2.SourceExpression);
307
arg1 = sql.
UnaryConvert
(arg2.ClrType, arg2.SqlType, arg1, arg1.SourceExpression);