8 writes to Left
System.Data.Linq (8)
SqlClient\Common\SqlNode.cs (1)
974this.Left = left;
SqlClient\Common\SqlVisitor.cs (1)
296bo.Left = this.VisitExpression(bo.Left);
SqlClient\Query\SqlBinder.cs (2)
196bo.Left = this.VisitExpression(bo.Left); 300bo.Left = this.ConvertToFetchedExpression(bo.Left);
SqlClient\Query\SqlBooleanMismatchVisitor.cs (2)
61bo.Left = this.VisitPredicate(bo.Left); 64bo.Left = this.VisitExpression(bo.Left);
SqlClient\Query\SqlSupersetValidator.cs (2)
67bo.Left = this.VisitExpression(bo.Left); 154bo.Left = this.VisitExpression(bo.Left);
75 references to Left
System.Data.Linq (75)
SqlClient\Common\SqlVisitor.cs (1)
296bo.Left = this.VisitExpression(bo.Left);
SqlClient\Query\MethodCallConverter.cs (6)
37&& bo.Left.NodeType == SqlNodeType.MethodCall 39SqlMethodCall call = (SqlMethodCall)bo.Left; 72&& bo.Left.NodeType == SqlNodeType.MethodCall 74&& IsVbCompareString((SqlMethodCall)bo.Left); 149SqlMethodCall call = (SqlMethodCall)bo.Left; 160SqlMethodCall call = (SqlMethodCall)bo.Left;
SqlClient\Query\SqlBinder.cs (19)
178if (this.IsConstNull(bo.Left) && !TypeSystem.IsNullableType(bo.ClrType)) { 182return this.VisitUnaryOperator(this.sql.Unary(SqlNodeType.IsNull, bo.Left, bo.SourceExpression)); 187if (this.IsConstNull(bo.Left) && !TypeSystem.IsNullableType(bo.ClrType)) { 191return this.VisitUnaryOperator(this.sql.Unary(SqlNodeType.IsNotNull, bo.Left, bo.SourceExpression)); 196bo.Left = this.VisitExpression(bo.Left); 204SqlValue vLeft = bo.Left as SqlValue; 224return VisitUnaryOperator(new SqlUnary(negator, bo.ClrType, bo.SqlType, sql.DoNotVisitExpression(bo.Left), bo.SourceExpression)); 226if (bo.Left.ClrType==typeof(bool)) { // If the other side is nullable bool then this expression is already a reasonable way to handle three-values 227return bo.Left; 247SqlValue vLeft = bo.Left as SqlValue; 257return bo.Left; 268SqlValue vLeft = bo.Left as SqlValue; 278return bo.Left; 300bo.Left = this.ConvertToFetchedExpression(bo.Left); 315if (typeof(Type).IsAssignableFrom(bo.Left.ClrType)) { 316SqlExpression left = TypeSource.GetTypeSource(bo.Left); 348SqlDiscriminatedType leftDt = bo.Left as SqlDiscriminatedType; 356if (TypeSystem.IsSequenceType(bo.Left.ClrType)) { 357throw Error.ComparisonNotSupportedForType(bo.Left.ClrType);
SqlClient\Query\SqlBooleanizer.cs (1)
25select.Where = bin.Left;
SqlClient\Query\SqlBooleanMismatchVisitor.cs (2)
61bo.Left = this.VisitPredicate(bo.Left); 64bo.Left = this.VisitExpression(bo.Left);
SqlClient\Query\SqlCaseSimplifier.cs (5)
42if (bo.Left.NodeType == SqlNodeType.SimpleCase && 44AreCaseWhenValuesConstant((SqlSimpleCase)bo.Left)) { 45return this.DistributeOperatorIntoCase(bo.NodeType, (SqlSimpleCase)bo.Left, bo.Right); 48bo.Left.NodeType==SqlNodeType.Value && 50return this.DistributeOperatorIntoCase(bo.NodeType, (SqlSimpleCase)bo.Right, bo.Left);
SqlClient\Query\SqlComparer.cs (2)
91return AreEqual(firstNode.Left, secondNode.Left)
SqlClient\Query\SqlDeflator.cs (2)
244CheckJoinCondition(b.Left); 251SqlColumnRef crLeft = b.Left as SqlColumnRef;
SqlClient\Query\SqlDuplicator.cs (1)
87SqlExpression left = (SqlExpression)this.Visit(bo.Left);
SqlClient\Query\SqlExpressionNullability.cs (1)
69bool? left = CanBeNull(bop.Left);
SqlClient\Query\SqlFormatter.cs (2)
211this.Visit(bo.Left); 217this.VisitWithParens(bo.Left, bo);
SqlClient\Query\SqlMethodCallConverter.cs (11)
665Type leftType = TypeSystem.GetNonNullableType(bo.Left.ClrType); 1292SqlExpression end = bo.Left; 1309Debug.Assert(TypeSystem.GetNonNullableType(bo.Left.ClrType) == typeof(DateTimeOffset)); 1312SqlExpression end = bo.Left; 1363return TypeSystem.GetNonNullableType(bo.Left.ClrType) == typeof(DateTimeOffset) ? 1365bo.Left, 1370bo.Left, 1379return sql.AddTimeSpan(bo.Left, bo.Right, resultNullable); 1380} else if (TypeSystem.GetNonNullableType(bo.Left.ClrType) == typeof(DateTimeOffset)) { 1381return CreateDateTimeOffsetFromDateAndTicks(bo.Left, bo.Right, bo.SourceExpression, resultNullable); 1384return CreateDateTimeFromDateAndTicks(bo.Left, bo.Right, bo.SourceExpression, resultNullable);
SqlClient\Query\SqlParameterizer.cs (5)
141SqlDbType leftSqlDbType = ((SqlTypeSystem.SqlType)(bo.Left.SqlType)).SqlDbType; 146bool isLeftColRef = bo.Left is SqlColumnRef; 152this.timeProviderType = bo.Left.SqlType; 153else if (isRightColRef && rightSqlDbType == SqlDbType.Time && bo.Left.ClrType == typeof(DateTime)) 154this.timeProviderType = bo.Left.SqlType;
SqlClient\Query\SqlRetyper.cs (11)
62&& bo.Left.ClrType!=typeof(bool) && bo.Right.ClrType!=typeof(bool)) { 64if (bo.Left.NodeType == SqlNodeType.Convert) { 65var conv = (SqlUnary)bo.Left; 73if (CanDbConvert(conv.Operand.ClrType, bo.Left.ClrType) 74&& conv.Operand.SqlType.ComparePrecedenceTo(bo.Left.SqlType) != 1) { 75return VisitBinaryOperator(new SqlBinary(bo.NodeType, bo.ClrType, bo.SqlType, bo.Left, conv.Operand)); 80SqlExpression left = bo.Left; 83if (bo.Left != left || bo.Right != right) { 96if (needsRetype(bo.Left, bo.Right)) { 98} else if (needsRetype(bo.Right, bo.Left)) { 99valueToRetype = (SqlSimpleTypeExpression)bo.Left;
SqlClient\Query\SqlSupersetValidator.cs (3)
67bo.Left = this.VisitExpression(bo.Left); 149if (!bo.Left.SqlType.SupportsComparison || 154bo.Left = this.VisitExpression(bo.Left);
SqlClient\Query\Translator.cs (3)
289SqlExpression eLeft = expr.Left; 328return this.TranslateEqualsOp(expr.NodeType, sql.DoNotVisitExpression(expr.Left), sql.DoNotVisitExpression(expr.Right), false); 437SqlLink link1 = bo.Left as SqlLink;