4 instantiations of SqlMethodCall
System.Data.Linq (4)
SqlClient\Common\SqlFactory.cs (2)
522
return new
SqlMethodCall
(method.ReturnType, this.Default(method.ReturnType), method, obj, args, sourceExpression);
526
return new
SqlMethodCall
(returnType, this.Default(returnType), method, obj, args, sourceExpression);
SqlClient\Query\SqlDuplicator.cs (1)
410
return new
SqlMethodCall
(mc.ClrType, mc.SqlType, mc.Method, this.VisitExpression(mc.Object), args, mc.SourceExpression);
SqlClient\Reader\ObjectReaderCompiler.cs (1)
888
return this.GenerateMethodCall(new
SqlMethodCall
(m.ClrType, m.SqlType, pi.GetGetMethod(), m.Expression, null, m.SourceExpression));
73 references to SqlMethodCall
System.Data.Linq (73)
SqlClient\Common\SqlFactory.cs (2)
521
internal
SqlMethodCall
MethodCall(MethodInfo method, SqlExpression obj, SqlExpression[] args, Expression sourceExpression) {
525
internal
SqlMethodCall
MethodCall(Type returnType, MethodInfo method, SqlExpression obj, SqlExpression[] args, Expression sourceExpression) {
SqlClient\Common\SqlVisitor.cs (2)
200
result = this.VisitMethodCall((
SqlMethodCall
)node);
574
internal virtual SqlExpression VisitMethodCall(
SqlMethodCall
mc) {
SqlClient\Query\MethodCallConverter.cs (17)
28
SqlMethodCall
mc = node as
SqlMethodCall
;
39
SqlMethodCall
call = (
SqlMethodCall
)bo.Left;
46
private static bool IsCompareToMethod(
SqlMethodCall
call) {
50
private static bool IsCompareMethod(
SqlMethodCall
call) {
74
&& IsVbCompareString((
SqlMethodCall
)bo.Left);
77
private static bool IsVbCompareString(
SqlMethodCall
call) {
83
private static bool IsSupportedVbHelperMethod(
SqlMethodCall
mc) {
87
private static bool IsVbIIF(
SqlMethodCall
mc) {
104
private static bool IsSupportedMethod(
SqlMethodCall
mc) {
149
SqlMethodCall
call = (
SqlMethodCall
)bo.Left;
160
SqlMethodCall
call = (
SqlMethodCall
)bo.Left;
213
internal override SqlExpression VisitMethodCall(
SqlMethodCall
mc) {
312
private SqlExpression TranslateVbIIF(
SqlMethodCall
mc) {
SqlClient\Query\QueryConverter.cs (2)
110
throw Error.InvalidMethodExecution(((
SqlMethodCall
)retNode).Method.Name);
2669
internal override SqlExpression VisitMethodCall(
SqlMethodCall
mc) {
SqlClient\Query\SqlBinder.cs (1)
162
internal override SqlExpression VisitMethodCall(
SqlMethodCall
mc) {
SqlClient\Query\SqlDuplicator.cs (1)
405
internal override SqlExpression VisitMethodCall(
SqlMethodCall
mc) {
SqlClient\Query\SqlExpander.cs (3)
120
SqlMethodCall
[] mcs = new
SqlMethodCall
[exprs.Count];
122
mcs[i] = (
SqlMethodCall
)exprs[i];
SqlClient\Query\SqlFormatter.cs (1)
1380
internal override SqlExpression VisitMethodCall(
SqlMethodCall
mc) {
SqlClient\Query\SqlMethodCallConverter.cs (34)
40
SqlMethodCall
mc = node as
SqlMethodCall
;
109
private static MethodSupport GetMethodSupport(
SqlMethodCall
mc) {
168
private static MethodSupport GetCoercionMethodSupport(
SqlMethodCall
mc) {
177
private static MethodSupport GetComparisonMethodSupport(
SqlMethodCall
mc) {
184
private static MethodSupport GetObjectMethodSupport(
SqlMethodCall
mc) {
204
private static MethodSupport GetNullableMethodSupport(
SqlMethodCall
mc) {
214
private static MethodSupport GetSqlMethodsMethodSupport(
SqlMethodCall
mc) {
243
private static MethodSupport GetDateTimeMethodSupport(
SqlMethodCall
mc) {
267
private static MethodSupport GetDateTimeOffsetMethodSupport(
SqlMethodCall
mc) {
292
private static MethodSupport GetTimeSpanMethodSupport(
SqlMethodCall
mc) {
306
private static MethodSupport GetConvertMethodSupport(
SqlMethodCall
mc) {
331
private static MethodSupport GetDecimalMethodSupport(
SqlMethodCall
mc) {
362
private static MethodSupport GetStringMethodSupport(
SqlMethodCall
mc) {
421
private static MethodSupport GetMathMethodSupport(
SqlMethodCall
mc) {
474
private static MethodSupport GetVbHelperMethodSupport(
SqlMethodCall
mc) {
483
private static bool IsVbCompareString(
SqlMethodCall
call) {
489
private static bool IsVbLike(
SqlMethodCall
mc) {
495
private static bool IsVbConversionMethod(
SqlMethodCall
mc) {
898
internal override SqlExpression VisitMethodCall(
SqlMethodCall
mc) {
985
internal static Exception GetMethodSupportException(
SqlMethodCall
mc) {
997
private SqlExpression TranslateGetValueOrDefaultMethod(
SqlMethodCall
mc) {
1010
private SqlExpression TranslateSqlMethodsMethod(
SqlMethodCall
mc) {
1053
private SqlExpression TranslateDateTimeInstanceMethod(
SqlMethodCall
mc) {
1115
private SqlExpression TranslateDateTimeOffsetInstanceMethod(
SqlMethodCall
mc) {
1174
private SqlExpression TranslateTimeSpanInstanceMethod(
SqlMethodCall
mc) {
1198
private SqlExpression TranslateConvertStaticMethod(
SqlMethodCall
mc) {
1391
internal SqlExpression TranslateDecimalMethod(
SqlMethodCall
mc) {
1444
private SqlExpression TranslateStringStaticMethod(
SqlMethodCall
mc) {
1499
private SqlExpression TranslateStringMethod(
SqlMethodCall
mc) {
1974
private SqlExpression TranslateMathMethod(
SqlMethodCall
mc) {
2381
private SqlExpression TranslateVbConversionMethod(
SqlMethodCall
mc) {
2460
private SqlExpression TranslateVbCompareString(
SqlMethodCall
mc) {
2467
private SqlExpression TranslateVbLikeString(
SqlMethodCall
mc) {
SqlClient\Query\SqlNamer.cs (1)
208
internal override SqlExpression VisitMethodCall(
SqlMethodCall
mc) {
SqlClient\Query\SqlSupersetValidator.cs (1)
94
internal override SqlExpression VisitMethodCall(
SqlMethodCall
mc) {
SqlClient\Reader\ObjectReaderCompiler.cs (8)
444
SqlMethodCall
mc = (
SqlMethodCall
)node;
626
SqlMethodCall
mc1 = (
SqlMethodCall
)node1;
627
SqlMethodCall
mc2 = (
SqlMethodCall
)node2;
768
return this.GenerateMethodCall((
SqlMethodCall
)node);
892
private Type GenerateMethodCall(
SqlMethodCall
mc) {