7 writes to Right
System.Data.Linq (7)
SqlClient\Common\SqlNode.cs (1)
975this.Right = right;
SqlClient\Common\SqlVisitor.cs (1)
297bo.Right = this.VisitExpression(bo.Right);
SqlClient\Query\SqlBinder.cs (2)
197bo.Right = this.VisitExpression(bo.Right); 301bo.Right = this.ConvertToFetchedExpression(bo.Right);
SqlClient\Query\SqlBooleanMismatchVisitor.cs (2)
62bo.Right = this.VisitPredicate(bo.Right); 65bo.Right = this.VisitExpression(bo.Right);
SqlClient\Query\SqlSupersetValidator.cs (1)
155bo.Right = this.VisitExpression(bo.Right);
70 references to Right
System.Data.Linq (70)
SqlClient\Common\SqlVisitor.cs (1)
297bo.Right = this.VisitExpression(bo.Right);
SqlClient\Query\MethodCallConverter.cs (5)
38&& bo.Right.NodeType == SqlNodeType.Value) { 73&& bo.Right.NodeType == SqlNodeType.Value 151int iValue = System.Convert.ToInt32(this.Eval(bo.Right), Globalization.CultureInfo.InvariantCulture); 155int iValue = System.Convert.ToInt32(this.Eval(bo.Right), Globalization.CultureInfo.InvariantCulture); 161int iValue = System.Convert.ToInt32(this.Eval(bo.Right), Globalization.CultureInfo.InvariantCulture);
SqlClient\Query\SqlBinder.cs (18)
179return this.VisitUnaryOperator(this.sql.Unary(SqlNodeType.IsNull, bo.Right, bo.SourceExpression)); 181else if (this.IsConstNull(bo.Right) && !TypeSystem.IsNullableType(bo.ClrType)) { 188return this.VisitUnaryOperator(this.sql.Unary(SqlNodeType.IsNotNull, bo.Right, bo.SourceExpression)); 190else if (this.IsConstNull(bo.Right) && !TypeSystem.IsNullableType(bo.ClrType)) { 197bo.Right = this.VisitExpression(bo.Right); 205SqlValue vRight = bo.Right as SqlValue; 215return VisitUnaryOperator(new SqlUnary(negator, bo.ClrType, bo.SqlType, sql.DoNotVisitExpression(bo.Right), bo.SourceExpression)); 217if (bo.Right.ClrType==typeof(bool)) { // If the other side is nullable bool then this expression is already a reasonable way to handle three-values 218return bo.Right; 248SqlValue vRight = bo.Right as SqlValue; 251return bo.Right; 269SqlValue vRight = bo.Right as SqlValue; 272return bo.Right; 301bo.Right = this.ConvertToFetchedExpression(bo.Right); 317SqlExpression right = TypeSource.GetTypeSource(bo.Right); 349SqlDiscriminatedType rightDt = bo.Right as SqlDiscriminatedType; 359if (TypeSystem.IsSequenceType(bo.Right.ClrType)) { 360throw Error.ComparisonNotSupportedForType(bo.Right.ClrType);
SqlClient\Query\SqlBooleanizer.cs (2)
22if (bin.Right.NodeType == SqlNodeType.Value) { 23SqlValue value = (SqlValue)bin.Right;
SqlClient\Query\SqlBooleanMismatchVisitor.cs (2)
62bo.Right = this.VisitPredicate(bo.Right); 65bo.Right = this.VisitExpression(bo.Right);
SqlClient\Query\SqlCaseSimplifier.cs (5)
43bo.Right.NodeType == SqlNodeType.Value && 45return this.DistributeOperatorIntoCase(bo.NodeType, (SqlSimpleCase)bo.Left, bo.Right); 47else if (bo.Right.NodeType == SqlNodeType.SimpleCase && 49AreCaseWhenValuesConstant((SqlSimpleCase)bo.Right)) { 50return this.DistributeOperatorIntoCase(bo.NodeType, (SqlSimpleCase)bo.Right, bo.Left);
SqlClient\Query\SqlComparer.cs (2)
92&& AreEqual(firstNode.Right, secondNode.Right);
SqlClient\Query\SqlDeflator.cs (2)
245CheckJoinCondition(b.Right); 252SqlColumnRef crRight = b.Right as SqlColumnRef;
SqlClient\Query\SqlDuplicator.cs (1)
88SqlExpression right = (SqlExpression)this.Visit(bo.Right);
SqlClient\Query\SqlExpressionNullability.cs (1)
70bool? right = CanBeNull(bop.Right);
SqlClient\Query\SqlFormatter.cs (2)
213this.Visit(bo.Right); 221this.VisitWithParens(bo.Right, bo);
SqlClient\Query\SqlMethodCallConverter.cs (9)
1286Type rightType = TypeSystem.GetNonNullableType(bo.Right.ClrType); 1293SqlExpression start = bo.Right; 1313SqlExpression start = bo.Right; 1343SqlExpression right = bo.Right; 1344if (SqlFactory.IsSqlTimeType(bo.Right)) { 1378if (SqlFactory.IsSqlTimeType(bo.Right)) { 1379return sql.AddTimeSpan(bo.Left, bo.Right, resultNullable); 1381return CreateDateTimeOffsetFromDateAndTicks(bo.Left, bo.Right, bo.SourceExpression, resultNullable); 1384return CreateDateTimeFromDateAndTicks(bo.Left, bo.Right, bo.SourceExpression, resultNullable);
SqlClient\Query\SqlParameterizer.cs (3)
142SqlDbType rightSqlDbType = ((SqlTypeSystem.SqlType)(bo.Right.SqlType)).SqlDbType; 147bool isRightColRef = bo.Right is SqlColumnRef; 151if (isLeftColRef && leftSqlDbType == SqlDbType.Time && bo.Right.ClrType == typeof(DateTime))
SqlClient\Query\SqlRetyper.cs (12)
62&& bo.Left.ClrType!=typeof(bool) && bo.Right.ClrType!=typeof(bool)) { 66if (CanDbConvert(conv.Operand.ClrType, bo.Right.ClrType) 67&& conv.Operand.SqlType.ComparePrecedenceTo(bo.Right.SqlType) != 1) { 68return VisitBinaryOperator(new SqlBinary(bo.NodeType, bo.ClrType, bo.SqlType, conv.Operand, bo.Right)); 71if (bo.Right.NodeType == SqlNodeType.Convert) { 72var conv = (SqlUnary)bo.Right; 79if (bo.Right != null && bo.NodeType != SqlNodeType.Concat) { 81SqlExpression right = bo.Right; 83if (bo.Left != left || bo.Right != right) { 96if (needsRetype(bo.Left, bo.Right)) { 97valueToRetype = (SqlSimpleTypeExpression)bo.Right; 98} else if (needsRetype(bo.Right, bo.Left)) {
SqlClient\Query\SqlSupersetValidator.cs (2)
150!bo.Right.SqlType.SupportsComparison){ 155bo.Right = this.VisitExpression(bo.Right);
SqlClient\Query\Translator.cs (3)
290SqlExpression eRight = expr.Right; 328return this.TranslateEqualsOp(expr.NodeType, sql.DoNotVisitExpression(expr.Left), sql.DoNotVisitExpression(expr.Right), false); 438SqlLink link2 = bo.Right as SqlLink;