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