25 instantiations of Result
System.Linq.Expressions (25)
System\Linq\Expressions\Compiler\StackSpiller.ChildRewriter.cs (1)
384
return new
Result
(_action, expression);
System\Linq\Expressions\Compiler\StackSpiller.cs (21)
241
return new
Result
(action, expr);
249
return new
Result
(result.Action | RewriteAction.Copy, result.Node);
290
return new
Result
(right.Action, node);
314
return new
Result
(result.Action | RewriteAction.Copy, result.Node);
328
return new
Result
(action, expr);
348
return new
Result
(action, expr);
379
return new
Result
(RewriteAction.None, node);
401
return new
Result
(expression.Action, expr);
524
return new
Result
(result.Action | spiller._lambdaRewrite, result.Node);
572
return new
Result
(expression.Action, expr);
598
return new
Result
(action, expr);
621
return new
Result
(expression.Action, expr);
699
return new
Result
(action, expr);
768
return new
Result
(action, expr);
808
return new
Result
(action, expr);
821
return new
Result
(expression.Action, expr);
846
return new
Result
(action, expr);
874
return new
Result
(action, expr);
948
return new
Result
(action, expr);
1022
return new
Result
(action, expr);
1029
return new
Result
(result.Action | RewriteAction.Copy, result.Node);
System\Linq\Expressions\Compiler\StackSpiller.Generated.cs (3)
20
return new
Result
(RewriteAction.None, null);
169
result = new
Result
(RewriteAction.None, node);
177
result = new
Result
(result.Action | RewriteAction.Copy, result.Node);
70 references to Result
System.Linq.Expressions (70)
System\Linq\Expressions\Compiler\StackSpiller.Bindings.cs (2)
194
Result
add = cr.Finish(new InstanceMethodCallExpressionN(_inits[i].AddMethod, memberTemp, cr[0, -1]!));
222
Result
result = spiller.RewriteExpression(binding.Expression, stack);
System\Linq\Expressions\Compiler\StackSpiller.ChildRewriter.cs (2)
130
Result
exp = _self.RewriteExpression(expression, _stack);
373
internal
Result
Finish(Expression expression)
System\Linq\Expressions\Compiler\StackSpiller.cs (64)
106
Result
body = RewriteExpressionFreeTemps(lambda.Body, _startingStack);
131
private static void VerifyRewrite(
Result
result, Expression node)
156
private
Result
RewriteExpressionFreeTemps(Expression? expression, Stack stack)
159
Result
result = RewriteExpression(expression, stack);
164
private
Result
RewriteDynamicExpression(Expression expr)
181
private
Result
RewriteIndexAssignment(BinaryExpression node, Stack stack)
212
private
Result
RewriteLogicalBinaryExpression(Expression expr, Stack stack)
217
Result
left = RewriteExpression(node.Left, stack);
219
Result
right = RewriteExpression(node.Right, stack);
221
Result
conversion = RewriteExpression(node.Conversion, stack);
244
private
Result
RewriteReducibleExpression(Expression expr, Stack stack)
246
Result
result = RewriteExpression(expr.Reduce(), stack);
252
private
Result
RewriteBinaryExpression(Expression expr, Stack stack)
280
private
Result
RewriteVariableAssignment(BinaryExpression node, Stack stack)
283
Result
right = RewriteExpression(node.Right, stack);
293
private
Result
RewriteAssignBinaryExpression(Expression expr, Stack stack)
307
private
Result
RewriteExtensionAssignment(BinaryExpression node, Stack stack)
311
Result
result = RewriteAssignBinaryExpression(node, stack);
317
private static
Result
RewriteLambdaExpression(Expression expr)
331
private
Result
RewriteConditionalExpression(Expression expr, Stack stack)
336
Result
test = RewriteExpression(node.Test, stack);
339
Result
ifTrue = RewriteExpression(node.IfTrue, stack);
340
Result
ifFalse = RewriteExpression(node.IfFalse, stack);
351
private
Result
RewriteMemberAssignment(BinaryExpression node, Stack stack)
382
private
Result
RewriteMemberExpression(Expression expr, Stack stack)
387
Result
expression = RewriteExpression(node.Expression, stack);
404
private
Result
RewriteIndexExpression(Expression expr, Stack stack)
432
private
Result
RewriteMethodCallExpression(Expression expr, Stack stack)
467
private
Result
RewriteNewArrayExpression(Expression expr, Stack stack)
495
private
Result
RewriteInvocationExpression(Expression expr, Stack stack)
523
Result
result = cr.Finish(node);
543
private
Result
RewriteNewExpression(Expression expr, Stack stack)
560
private
Result
RewriteTypeBinaryExpression(Expression expr, Stack stack)
565
Result
expression = RewriteExpression(node.Expression, stack);
575
private
Result
RewriteThrowUnaryExpression(Expression expr, Stack stack)
584
Result
value = RewriteExpressionFreeTemps(node.Operand, Stack.Empty);
601
private
Result
RewriteUnaryExpression(Expression expr, Stack stack)
609
Result
expression = RewriteExpression(node.Operand, stack);
624
private
Result
RewriteListInitExpression(Expression expr, Stack stack)
629
Result
newResult = RewriteExpression(node.NewExpression, stack);
687
Result
add = cr.Finish(new InstanceMethodCallExpressionN(inits[i].AddMethod, refTempNew, cr[0, -1]!));
702
private
Result
RewriteMemberInitExpression(Expression expr, Stack stack)
707
Result
result = RewriteExpression(node.NewExpression, stack);
775
private
Result
RewriteBlockExpression(Expression expr, Stack stack)
788
Result
rewritten = RewriteExpression(expression, stack);
811
private
Result
RewriteLabelExpression(Expression expr, Stack stack)
815
Result
expression = RewriteExpression(node.DefaultValue, stack);
824
private
Result
RewriteLoopExpression(Expression expr, Stack stack)
830
Result
body = RewriteExpression(node.Body, Stack.Empty);
853
private
Result
RewriteGotoExpression(Expression expr, Stack stack)
859
Result
value = RewriteExpressionFreeTemps(node.Value, Stack.Empty);
877
private
Result
RewriteSwitchExpression(Expression expr, Stack stack)
882
Result
switchValue = RewriteExpressionFreeTemps(node.SwitchValue, stack);
897
Result
test = RewriteExpression(testValues[j], stack);
912
Result
body = RewriteExpression(@case.Body, stack);
934
Result
defaultBody = RewriteExpression(node.DefaultBody, stack);
951
private
Result
RewriteTryExpression(Expression expr, Stack stack)
957
Result
body = RewriteExpression(node.Body, Stack.Empty);
974
Result
rfault = RewriteExpression(handler.Filter, Stack.Empty);
981
Result
rbody = RewriteExpression(handler.Body, Stack.Empty);
999
Result
fault = RewriteExpression(node.Fault, Stack.Empty);
1002
Result
@finally = RewriteExpression(node.Finally, Stack.Empty);
1025
private
Result
RewriteExtensionExpression(Expression expr, Stack stack)
1027
Result
result = RewriteExpression(expr.ReduceExtensions(), stack);
System\Linq\Expressions\Compiler\StackSpiller.Generated.cs (2)
16
private
Result
RewriteExpression(Expression node, Stack stack)
31
Result
result;