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