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