6 writes to Object
System.Data.Linq (6)
SqlClient\Common\SqlNode.cs (1)
1737
this.
Object
= obj;
SqlClient\Common\SqlVisitor.cs (1)
575
mc.
Object
= this.VisitExpression(mc.Object);
SqlClient\Query\MethodCallConverter.cs (1)
214
mc.
Object
= this.VisitExpression(mc.Object);
SqlClient\Query\SqlBinder.cs (1)
163
mc.
Object
= this.FetchExpression(mc.Object);
SqlClient\Query\SqlMethodCallConverter.cs (1)
902
mc.
Object
= this.VisitExpression(mc.Object);
SqlClient\Query\SqlNamer.cs (1)
209
mc.
Object
= this.VisitExpression(mc.Object);
84 references to Object
System.Data.Linq (84)
SqlClient\Common\SqlVisitor.cs (1)
575
mc.Object = this.VisitExpression(mc.
Object
);
SqlClient\Query\MethodCallConverter.cs (5)
152
bo = this.MakeCompareTo(call.
Object
, call.Arguments[0], bo.NodeType, iValue) ?? bo;
214
mc.Object = this.VisitExpression(mc.
Object
);
297
return sql.Binary(SqlNodeType.EQ, mc.
Object
, mc.Arguments[0]);
300
MetaType mt = TypeSource.GetSourceMetaType(mc.
Object
, this.model);
303
SqlDiscriminatorOf discriminatorOf = new SqlDiscriminatorOf(mc.
Object
, discriminatorType, this.sql.TypeProvider.From(discriminatorType), mc.SourceExpression);
SqlClient\Query\SqlBinder.cs (1)
163
mc.Object = this.FetchExpression(mc.
Object
);
SqlClient\Query\SqlDuplicator.cs (1)
410
return new SqlMethodCall(mc.ClrType, mc.SqlType, mc.Method, this.VisitExpression(mc.
Object
), args, mc.SourceExpression);
SqlClient\Query\SqlExpander.cs (1)
135
return factory.MethodCall(mcs[0].Method, mcs[0].
Object
, expandedArgs.ToArray(), mcs[0].SourceExpression);
SqlClient\Query\SqlFormatter.cs (1)
1387
this.Visit(mc.
Object
);
SqlClient\Query\SqlMethodCallConverter.cs (63)
190
if (mc.
Object
.SqlType.CanBeColumn) {
205
if (mc.Method.Name == "GetValueOrDefault" && TypeSystem.IsNullableType(mc.
Object
.ClrType)) {
902
mc.Object = this.VisitExpression(mc.
Object
);
950
return sql.Binary(SqlNodeType.EQ, mc.
Object
, mc.Arguments[0]);
957
SqlExpression expr = mc.
Object
;
1000
System.Type clrType = mc.
Object
.ClrType.GetGenericArguments()[0];
1002
return sql.Binary(SqlNodeType.Coalesce, mc.
Object
,
1006
return sql.Binary(SqlNodeType.Coalesce, mc.
Object
, mc.Arguments[0]);
1057
returnValue = CreateComparison(mc.
Object
, mc.Arguments[0], source);
1080
return this.CreateDateTimeFromDateAndTicks(mc.
Object
, sqlTicks, source);
1084
returnValue = sql.DATEADD("MONTH", mc.Arguments[0], mc.
Object
);
1088
returnValue = sql.DATEADD("YEAR", mc.Arguments[0], mc.
Object
);
1092
returnValue = this.CreateDateTimeFromDateAndMs(mc.
Object
, mc.Arguments[0], source);
1098
returnValue = this.CreateDateTimeFromDateAndMs(mc.
Object
, ms, source);
1102
returnValue = this.CreateDateTimeFromDateAndMs(mc.
Object
, ms, source);
1106
returnValue = this.CreateDateTimeFromDateAndMs(mc.
Object
, ms, source);
1110
returnValue = this.CreateDateTimeFromDateAndMs(mc.
Object
, ms, source);
1119
returnValue = CreateComparison(mc.
Object
, mc.Arguments[0], source);
1139
returnValue = this.CreateDateTimeOffsetFromDateAndTicks(mc.
Object
, ticks, source);
1143
returnValue = sql.DATETIMEOFFSETADD("MONTH", mc.Arguments[0], mc.
Object
);
1147
returnValue = sql.DATETIMEOFFSETADD("YEAR", mc.Arguments[0], mc.
Object
);
1151
returnValue = this.CreateDateTimeOffsetFromDateAndMs(mc.
Object
, mc.Arguments[0], source);
1157
returnValue = this.CreateDateTimeOffsetFromDateAndMs(mc.
Object
, ms, source);
1161
returnValue = this.CreateDateTimeOffsetFromDateAndMs(mc.
Object
, ms, source);
1165
returnValue = this.CreateDateTimeOffsetFromDateAndMs(mc.
Object
, ms, source);
1169
returnValue = this.CreateDateTimeOffsetFromDateAndMs(mc.
Object
, ms, source);
1178
returnValue = sql.Add(mc.
Object
, mc.Arguments[0]);
1181
returnValue = sql.Subtract(mc.
Object
, mc.Arguments[0]);
1184
returnValue = CreateComparison(mc.
Object
, mc.Arguments[0], source);
1187
if (SqlFactory.IsSqlTimeType(mc.
Object
))
1188
return mc.
Object
;
1190
returnValue = sql.FunctionCall(typeof(TimeSpan), "ABS", new SqlExpression[] { mc.
Object
}, source);
1193
returnValue = sql.Unary(SqlNodeType.Negate, mc.
Object
, source);
1534
return sql.Like(mc.
Object
, pattern, escape, source);
1568
return sql.Like(mc.
Object
, pattern, escape, source);
1602
return sql.Like(mc.
Object
, pattern, escape, source);
1616
mc.
Object
},
1631
lenZeroExpr = sql.AndAccumulate(lenZeroExpr, sql.Binary(SqlNodeType.LE, sql.Add(mc.Arguments[1], 1), sql.CLRLENGTH(mc.
Object
)));
1636
mc.
Object
,
1654
lenZeroExpr = sql.AndAccumulate(lenZeroExpr, sql.Binary(SqlNodeType.LE, sql.Add(mc.Arguments[1], 1), sql.CLRLENGTH(mc.
Object
)));
1659
mc.
Object
,
1684
SqlExpression exprS = mc.
Object
;
1712
SqlExpression s = mc.
Object
;
1748
SqlExpression s = mc.
Object
;
1787
mc.
Object
,
1798
SqlExpression insertingAtEnd = sql.Binary(SqlNodeType.EQ, sql.CLRLENGTH(mc.
Object
), mc.Arguments[0]);
1799
SqlExpression stringConcat = sql.Concat(mc.
Object
, mc.Arguments[1]);
1810
SqlExpression exprS = mc.
Object
;
1825
SqlExpression exprS = mc.
Object
;
1843
SqlExpression exprS = mc.
Object
;
1858
SqlExpression exprS = mc.
Object
;
1876
mc.
Object
,
1878
sql.CLRLENGTH(mc.
Object
),
1887
mc.
Object
,
1905
mc.
Object
,
1915
mc.
Object
,
1917
sql.CLRLENGTH(mc.
Object
)
1925
mc.
Object
,
1937
sql.FunctionCall(typeof(string), "RTRIM", new SqlExpression[] { mc.
Object
}, source)
1944
return sql.FunctionCall(typeof(string), "LOWER", new SqlExpression[] { mc.
Object
}, source);
1949
return sql.FunctionCall(typeof(string), "UPPER", new SqlExpression[] { mc.
Object
}, source);
1956
{mc.
Object
,
1967
return CreateComparison(mc.
Object
, mc.Arguments[0], source);
SqlClient\Query\SqlNamer.cs (1)
209
mc.Object = this.VisitExpression(mc.
Object
);
SqlClient\Reader\ObjectReaderCompiler.cs (10)
445
if (mc.
Object
!= null && !CanBeCompared(mc.
Object
)) {
628
if (mc1.Method != mc2.Method || !AreSimilar(mc1.
Object
, mc2.
Object
)) {
894
if (mc.
Object
!= null) {
895
Type actualType = this.GenerateExpressionForType(mc.
Object
, mc.
Object
.ClrType);
917
if (mc.
Object
!= null && TypeSystem.IsNullableType(mc.
Object
.ClrType) && callOpCode == OpCodes.Callvirt){
918
gen.Emit(OpCodes.Constrained, mc.
Object
.ClrType);