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