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