121 references to Right
System.Activities (18)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (3)
423FindTypeReferences(binaryExpression.Right, typeReferences); 519FindTypeReferences(alternateIndex.Right, typeReferences); 642FindTypeReferences(assign.Right, typeReferences);
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (6)
709expr2 = Rewrite(binaryExpression.Right, lambdaParameters, out abort); 954expr2 = Rewrite(alternateIndex.Right, lambdaParameters, out abort); 1123expr2 = Rewrite(assign.Right, 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)
66Type rightType = binaryExpressionBody.Right.Type; 186Type rightType = binaryExpressionBody.Right.Type; 482string indexError = TryConvert<int>(binaryExpression.Right, throwOnError, out index); 836string indexError = TryConvert<int>(binaryExpression.Right, throwOnError, out index); 861string rightError = TryConvert<TRight>(binaryExpressionBody.Right, throwOnError, out right);
System\Activities\ExpressionUtilities.cs (4)
284this.indexFunction = ExpressionUtilities.Compile<int>(arrayIndexExpression.Right, expression.Parameters); 926hasChanged |= TryRewriteLambdaExpression(binaryExpression.Right, out right, publicAccessor); 1056hasChanged |= TryRewriteLambdaExpression(binaryExpression.Right, out right, publicAccessor); 1185hasChanged |= TryRewriteLambdaExpression(binaryExpression.Right, out right, publicAccessor);
System.Core (67)
Microsoft\Scripting\Ast\BinaryExpression.cs (6)
116/// <param name="right">The <see cref="Right" /> property of the result.</param> 119if (left == Left && right == Right && conversion == Conversion) { 419var right = Parameter(Right.Type, "right"); 509get { return Right.Type; } 650b = new OpAssignMethodConversionBinaryExpression(b.NodeType, b.Left, b.Right, b.Left.Type, b.Method, conversion); 677b = new OpAssignMethodConversionBinaryExpression(b.NodeType, b.Left, b.Right, b.Left.Type, b.Method, conversion);
Microsoft\Scripting\Ast\DebugViewWriter.cs (5)
332Visit(node.Right); 336bool parenthesizeRight = NeedsParentheses(node, node.Right); 407Visit(node.Right); 455return !(binary.Left is BinaryExpression || binary.Right is BinaryExpression); 625return child == binary.Right;
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
48public Expression Right { get { return _node.Right; } }
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (2)
229Visit(node.Right); 322Visit(node.Right);
Microsoft\Scripting\Ast\ExpressionVisitor.cs (3)
203Visit(node.Right) 651ValidateChildType(before.Right.Type, after.Right.Type, "VisitBinary");
Microsoft\Scripting\Compiler\LambdaCompiler.Address.cs (2)
83EmitExpression(node.Right); 84Type rightType = node.Right.Type;
Microsoft\Scripting\Compiler\LambdaCompiler.Binary.cs (10)
58if (ConstantCheck.IsNull(b.Left) && !ConstantCheck.IsNull(b.Right) && TypeUtils.IsNullableType(b.Right.Type)) { 59EmitNullEquality(b.NodeType, b.Right, b.IsLiftedToNull); 62if (ConstantCheck.IsNull(b.Right) && !ConstantCheck.IsNull(b.Left) && TypeUtils.IsNullableType(b.Left.Type)) { 70EmitExpression(GetEqualityOperand(b.Right)); 74EmitExpression(b.Right); 77EmitBinaryOperator(b.NodeType, b.Left.Type, b.Right.Type, b.Type, b.IsLiftedToNull); 103ParameterExpression p2 = Expression.Variable(TypeUtils.GetNonNullableType(b.Right.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 (3)
254EmitExpression(node.Right); 588EmitExpression(node.Right); 659EmitExpression(node.Right);
Microsoft\Scripting\Compiler\LambdaCompiler.Logical.cs (27)
154EmitExpression(b.Right); 155if (!TypeUtils.AreEquivalent(b.Right.Type, b.Type)) { 156_ilg.EmitConvertToType(b.Right.Type, b.Type, true); 172EmitExpression(b.Right); 202EmitExpression(b.Right); 203if (!TypeUtils.AreEquivalent(b.Right.Type, b.Type)) { 204if (b.Right.Type.IsValueType) { 205_ilg.Emit(OpCodes.Box, b.Right.Type); 243EmitExpression(b.Right); 292EmitExpression(b.Right); 294LocalBuilder locRight = GetLocal(b.Right.Type); 313EmitExpression(b.Right); 359EmitExpression(b.Right); 402EmitExpression(b.Right); 419EmitExpression(b.Right); 421LocalBuilder locRight = GetLocal(b.Right.Type); 532if (TypeUtils.IsNullableType(node.Right.Type)) { 533EmitAddress(node.Right, node.Right.Type); 534_ilg.EmitHasValue(node.Right.Type); 536Debug.Assert(!node.Right.Type.IsValueType); 537EmitExpression(GetEqualityOperand(node.Right)); 540} else if (ConstantCheck.IsNull(node.Right)) { 549} else if (TypeUtils.IsNullableType(node.Left.Type) || TypeUtils.IsNullableType(node.Right.Type)) { 556EmitExpression(GetEqualityOperand(node.Right)); 622EmitExpressionAndBranch(branch, node.Right, label); 632EmitExpressionAndBranch(branch, node.Right, label);
Microsoft\Scripting\Compiler\StackSpiller.cs (6)
186cr.Add(node.Right); 213Result right = RewriteExpression(node.Right, stack); 250cr.Add(node.Right); 272Result right = RewriteExpression(node.Right, stack); 297node = Expression.Assign(node.Left.ReduceExtensions(), node.Right); 347cr.Add(node.Right);
System\Linq\Expressions\ExpressionVisitor.cs (2)
118Expression right = this.Visit(b.Right); 120if (left != b.Left || right != b.Right || conversion != b.Conversion) {
System.Data.Entity (11)
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (2)
136Expression right = this.Visit(b.Right); 138if (left != b.Left || right != b.Right || conversion != b.Conversion)
System\Data\Objects\ELinq\LinqExpressionNormalizer.cs (5)
66Expression normalizedRight = UnwrapObjectConvert(b.Right); 67if (normalizedLeft != b.Left || normalizedRight != b.Right) 77if (_patterns.TryGetValue(b.Left, out pattern) && pattern.Kind == PatternKind.Compare && IsConstantZero(b.Right)) 412if (coalesce.Right.NodeType == ExpressionType.Constant && false.Equals(((ConstantExpression)coalesce.Right).Value))
System\Data\Objects\ELinq\Translator.cs (4)
920return TranslateBinary(parent, parent.TranslateExpression(linq.Left), parent.TranslateExpression(linq.Right), linq); 1008Expression linqRight = linq.Right; 1068Expression.Equal(linq.Left, linq.Right)); 1179DbExpression right = parent.TranslateExpression(linq.Right);
System.Data.Linq (7)
DataServices.cs (3)
547this.GetKeysFromPredicate(type, keys, bex.Right); 549return GetKeyFromPredicate(type, keys, bex.Left, bex.Right) || 550GetKeyFromPredicate(type, keys, bex.Right, bex.Left);
SqlClient\Query\Funcletizer.cs (2)
249Expression right = this.Visit(b.Right); 250if (left != b.Left || right != b.Right) {
SqlClient\Query\QueryConverter.cs (2)
663SqlExpression index = this.VisitExpression(b.Right); 1298SqlExpression right = this.VisitExpression(b.Right);
System.Data.Services (2)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
235Expression right = this.Visit(b.Right); 237if (left != b.Left || right != b.Right || conversion != b.Conversion)
System.Data.Services.Client (16)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
235Expression right = this.Visit(b.Right); 237if (left != b.Left || right != b.Right || conversion != b.Conversion)
System\Data\Services\Client\ALinq\ExpressionNormalizer.cs (5)
118Expression normalizedRight = UnwrapObjectConvert(visited.Right); 119if (normalizedLeft != visited.Left || normalizedRight != visited.Right) 129if (_patterns.TryGetValue(visited.Left, out pattern) && pattern.Kind == PatternKind.Compare && IsConstantZero(visited.Right)) 492if (coalesce.Right.NodeType == ExpressionType.Constant && false.Equals(((ConstantExpression)coalesce.Right).Value))
System\Data\Services\Client\ALinq\ExpressionWriter.cs (1)
430this.VisitOperand(b.Right);
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)
453AddConjuncts(be.Right, 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))) 2050be.Right.Type == typeof(string); 2126result.TestRight = test.Right;