139 references to Left
System.Activities (18)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (3)
422
FindTypeReferences(binaryExpression.
Left
, typeReferences);
518
FindTypeReferences(alternateIndex.
Left
, typeReferences);
641
FindTypeReferences(assign.
Left
, typeReferences);
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (6)
703
expr1 = Rewrite(binaryExpression.
Left
, lambdaParameters, out abort);
949
expr1 = Rewrite(alternateIndex.
Left
, lambdaParameters, out abort);
1118
expr1 = Rewrite(assign.
Left
, lambdaParameters, out abort);
1241
return FindParameter(binaryExpression.
Left
) ?? FindParameter(binaryExpression.Right);
1278
return FindParameter(alternateIndex.
Left
) ?? FindParameter(alternateIndex.Right);
1335
return FindParameter(assign.
Left
) ?? FindParameter(assign.Right);
System\Activities\Expressions\ExpressionServices.cs (5)
65
Type leftType = binaryExpressionBody.
Left
.Type;
185
Type leftType = binaryExpressionBody.
Left
.Type;
475
string arrayError = TryConvert<TResult[]>(binaryExpression.
Left
, throwOnError, out array);
829
string arrayError = TryConvert<TResult[]>(binaryExpression.
Left
, throwOnError, out array);
855
string leftError = TryConvert<TLeft>(binaryExpressionBody.
Left
, throwOnError, out left);
System\Activities\ExpressionUtilities.cs (4)
283
this.arrayFunction = ExpressionUtilities.Compile<T[]>(arrayIndexExpression.
Left
, expression.Parameters);
925
hasChanged |= TryRewriteLambdaExpression(binaryExpression.
Left
, out left, publicAccessor);
1055
hasChanged |= TryRewriteLambdaExpression(binaryExpression.
Left
, out left, publicAccessor);
1184
hasChanged |= TryRewriteLambdaExpression(binaryExpression.
Left
, out left, publicAccessor);
System.Core (82)
Microsoft\Scripting\Ast\BinaryExpression.cs (9)
114
/// <param name="left">The <see cref="
Left
" /> property of the result.</param>
119
if (left ==
Left
&& right == Right && conversion == Conversion) {
481
get { return
Left
.Type; }
649
ValidateOpAssignConversionLambda(conversion, b.
Left
, b.Method, b.NodeType);
650
b = new OpAssignMethodConversionBinaryExpression(b.NodeType, b.
Left
, b.Right, b.
Left
.Type, b.Method, conversion);
676
ValidateOpAssignConversionLambda(conversion, b.
Left
, b.Method, b.NodeType);
677
b = new OpAssignMethodConversionBinaryExpression(b.NodeType, b.
Left
, b.Right, b.
Left
.Type, b.Method, conversion);
Microsoft\Scripting\Ast\DebugViewWriter.cs (4)
330
ParenthesizedVisit(node, node.
Left
);
335
bool parenthesizeLeft = NeedsParentheses(node, node.
Left
);
389
Visit(node.
Left
);
455
return !(binary.
Left
is BinaryExpression || binary.Right is BinaryExpression);
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
45
public Expression Left { get { return _node.
Left
; } }
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (2)
227
Visit(node.
Left
);
318
Visit(node.
Left
);
Microsoft\Scripting\Ast\ExpressionVisitor.cs (3)
201
Visit(node.
Left
),
650
ValidateChildType(before.
Left
.Type, after.
Left
.Type, "VisitBinary");
Microsoft\Scripting\Compiler\LambdaCompiler.Address.cs (1)
82
EmitExpression(node.
Left
);
Microsoft\Scripting\Compiler\LambdaCompiler.Binary.cs (10)
58
if (ConstantCheck.IsNull(b.
Left
) && !ConstantCheck.IsNull(b.Right) && TypeUtils.IsNullableType(b.Right.Type)) {
62
if (ConstantCheck.IsNull(b.Right) && !ConstantCheck.IsNull(b.
Left
) && TypeUtils.IsNullableType(b.
Left
.Type)) {
63
EmitNullEquality(b.NodeType, b.
Left
, b.IsLiftedToNull);
69
EmitExpression(GetEqualityOperand(b.
Left
));
73
EmitExpression(b.
Left
);
77
EmitBinaryOperator(b.NodeType, b.
Left
.Type, b.Right.Type, b.Type, b.IsLiftedToNull);
102
ParameterExpression p1 = Expression.Variable(TypeUtils.GetNonNullableType(b.
Left
.Type), null);
127
var arguments = new Expression[] { b.
Left
, b.Right };
131
EmitMethodCallExpression(Expression.Call(null, b.Method, b.
Left
, b.Right), flags);
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (5)
237
var index = (IndexExpression)node.
Left
;
585
var variable = (ParameterExpression)node.
Left
;
615
switch (node.
Left
.NodeType) {
626
throw Error.InvalidLvalue(node.
Left
.NodeType);
649
MemberExpression lvalue = (MemberExpression)node.
Left
;
Microsoft\Scripting\Compiler\LambdaCompiler.Logical.cs (37)
98
if (TypeUtils.IsNullableType(b.
Left
.Type)) {
100
} else if (b.
Left
.Type.IsValueType) {
113
LocalBuilder loc = GetLocal(b.
Left
.Type);
116
EmitExpression(b.
Left
);
119
_ilg.EmitHasValue(b.
Left
.Type);
122
Type nnLeftType = TypeUtils.GetNonNullableType(b.
Left
.Type);
126
Debug.Assert(p.Type.IsAssignableFrom(b.
Left
.Type) ||
133
if (!p.Type.IsAssignableFrom(b.
Left
.Type)) {
135
_ilg.EmitGetValueOrDefault(b.
Left
.Type);
144
_ilg.EmitGetValueOrDefault(b.
Left
.Type);
148
_ilg.EmitGetValueOrDefault(b.
Left
.Type);
163
LocalBuilder loc = GetLocal(b.
Left
.Type);
166
EmitExpression(b.
Left
);
196
EmitExpression(b.
Left
);
211
if (!TypeUtils.AreEquivalent(b.
Left
.Type, b.Type)) {
212
Debug.Assert(!b.
Left
.Type.IsValueType);
231
EmitExpression(b.
Left
);
281
EmitExpression(b.
Left
);
289
LocalBuilder locLeft = GetLocal(b.
Left
.Type);
312
EmitExpressionAndBranch(false, b.
Left
, @else);
325
} else if (b.
Left
.Type == typeof(bool?)) {
347
EmitExpression(b.
Left
);
398
EmitExpressionAndBranch(false, b.
Left
, @else);
408
EmitExpression(b.
Left
);
416
LocalBuilder locLeft = GetLocal(b.
Left
.Type);
441
} else if (b.
Left
.Type == typeof(bool?)) {
531
} else if (ConstantCheck.IsNull(node.
Left
)) {
541
if (TypeUtils.IsNullableType(node.
Left
.Type)) {
542
EmitAddress(node.
Left
, node.
Left
.Type);
543
_ilg.EmitHasValue(node.
Left
.Type);
545
Debug.Assert(!node.
Left
.Type.IsValueType);
546
EmitExpression(GetEqualityOperand(node.
Left
));
549
} else if (TypeUtils.IsNullableType(node.
Left
.Type) || TypeUtils.IsNullableType(node.Right.Type)) {
555
EmitExpression(GetEqualityOperand(node.
Left
));
621
EmitExpressionAndBranch(!branch, node.
Left
, endif);
631
EmitExpressionAndBranch(branch, node.
Left
, label);
Microsoft\Scripting\Compiler\StackSpiller.cs (8)
180
IndexExpression index = (IndexExpression)node.
Left
;
211
Result left = RewriteExpression(node.
Left
, stack);
248
cr.Add(node.
Left
);
274
node = Expression.Assign(node.
Left
, right.Node);
282
switch (node.
Left
.NodeType) {
292
throw Error.InvalidLvalue(node.
Left
.NodeType);
297
node = Expression.Assign(node.
Left
.ReduceExtensions(), node.Right);
338
MemberExpression lvalue = (MemberExpression)node.
Left
;
System\Linq\Expressions\ExpressionVisitor.cs (2)
117
Expression left = this.Visit(b.
Left
);
120
if (left != b.
Left
|| right != b.Right || conversion != b.Conversion) {
System.Data.Entity (11)
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (2)
135
Expression left = this.Visit(b.
Left
);
138
if (left != b.
Left
|| right != b.Right || conversion != b.Conversion)
System\Data\Objects\ELinq\LinqExpressionNormalizer.cs (4)
65
Expression normalizedLeft = UnwrapObjectConvert(b.
Left
);
67
if (normalizedLeft != b.
Left
|| normalizedRight != b.Right)
77
if (_patterns.TryGetValue(b.
Left
, out pattern) && pattern.Kind == PatternKind.Compare && IsConstantZero(b.Right))
414
normalized = Expression.Lambda(lambda.Type, Expression.Convert(coalesce.
Left
, typeof(bool)), lambda.Parameters);
System\Data\Objects\ELinq\Translator.cs (5)
920
return TranslateBinary(parent, parent.TranslateExpression(linq.
Left
), parent.TranslateExpression(linq.Right), linq);
934
DbExpression isNull = parent.CreateIsNullExpression(left, linq.
Left
.Type);
1007
Expression linqLeft = linq.
Left
;
1068
Expression.Equal(linq.
Left
, linq.Right));
1178
DbExpression left = parent.TranslateExpression(linq.
Left
);
System.Data.Linq (11)
DataServices.cs (3)
546
return this.GetKeysFromPredicate(type, keys, bex.
Left
) &&
549
return GetKeyFromPredicate(type, keys, bex.
Left
, bex.Right) ||
550
GetKeyFromPredicate(type, keys, bex.Right, bex.
Left
);
SqlClient\Query\Funcletizer.cs (2)
248
Expression left = this.Visit(b.
Left
);
250
if (left != b.
Left
|| right != b.Right) {
SqlClient\Query\QueryConverter.cs (6)
662
SqlExpression array = this.VisitExpression(b.
Left
);
1297
SqlExpression left = this.VisitExpression(b.
Left
);
1326
if (b.
Left
.Type == typeof(bool) || b.
Left
.Type == typeof(bool?)) {
1337
if (b.
Left
.Type == typeof(bool) || b.
Left
.Type == typeof(bool?)) {
System.Data.Services (2)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
234
Expression left = this.Visit(b.
Left
);
237
if (left != b.
Left
|| right != b.Right || conversion != b.Conversion)
System.Data.Services.Client (15)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
234
Expression left = this.Visit(b.
Left
);
237
if (left != b.
Left
|| right != b.Right || conversion != b.Conversion)
System\Data\Services\Client\ALinq\ExpressionNormalizer.cs (4)
117
Expression normalizedLeft = UnwrapObjectConvert(visited.
Left
);
119
if (normalizedLeft != visited.
Left
|| normalizedRight != visited.Right)
129
if (_patterns.TryGetValue(visited.
Left
, out pattern) && pattern.Kind == PatternKind.Compare && IsConstantZero(visited.Right))
494
normalized = Expression.Lambda(lambda.Type, Expression.Convert(coalesce.
Left
, typeof(bool)), lambda.Parameters);
System\Data\Services\Client\ALinq\ExpressionWriter.cs (1)
370
this.VisitOperand(b.
Left
);
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (2)
575
if (ClientType.CheckElementTypeIsEntity(b.
Left
.Type) || ClientType.CheckElementTypeIsEntity(b.Right.Type)
576
|| IsCollectionProducingExpression(b.
Left
) || IsCollectionProducingExpression(b.Right))
System\Data\Services\Client\ALinq\ResourceBinder.cs (6)
452
AddConjuncts(be.
Left
, conjuncts);
1180
return Expression.Call(mi, new Expression[] {be.
Left
, be.Right});
1543
if ((PatternRules.MatchKeyProperty(be.
Left
, out keyProperty) && PatternRules.MatchConstant(be.Right, out keyValue)) ||
1544
(PatternRules.MatchKeyProperty(be.Right, out keyProperty) && PatternRules.MatchConstant(be.
Left
, out keyValue)))
2049
be.
Left
.Type == typeof(string) &&
2125
result.TestLeft = test.
Left
;