3 overrides of Visit
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
ExpressionTrees\Sources\ExprLambdaUtils.vb (1)
85
Public Overrides Function
Visit
(node As Expression) As Expression
Microsoft.Extensions.DependencyInjection (1)
DependencyInjectionEventSource.cs (1)
320
public override Expression?
Visit
(Expression? e)
System.Linq.Expressions (1)
System\Linq\Expressions\Compiler\VariableBinder.cs (1)
37
public override Expression?
Visit
(Expression? node)
111 references to Visit
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
ExpressionTrees\Sources\ExprLambdaUtils.vb (1)
94
MyBase.
Visit
(node)
Microsoft.Extensions.DependencyInjection (1)
DependencyInjectionEventSource.cs (1)
322
base.
Visit
(e);
System.Linq.Expressions (101)
System\Dynamic\Utils\ExpressionVisitorUtils.cs (2)
16
Expression node = visitor.
Visit
(curNode);
66
Expression node = visitor.
Visit
(curNode);
System\Linq\Expressions\Compiler\VariableBinder.cs (1)
47
return base.
Visit
(node);
System\Linq\Expressions\DebugViewWriter.cs (29)
134
Visit
(node);
233
VisitExpressions(open, separator, expressions, e =>
Visit
(e));
298
Visit
(node.Right);
358
Visit
(node.Left);
370
Visit
(node.Right);
429
Visit
(node.Test);
436
Visit
(node.Test);
441
Visit
(node.IfTrue);
445
Visit
(node.IfFalse);
756
Visit
(nodeToVisit);
761
Visit
(nodeToVisit);
814
Visit
(node.Arguments[0]);
825
Visit
(node.NewExpression);
834
Visit
(assignment.Expression);
856
Visit
(node.NewExpression);
995
Visit
(node.DefaultValue);
1007
Visit
(node.Value);
1021
Visit
(node.Body);
1037
Visit
(test);
1041
Visit
(node.Body);
1051
Visit
(node.SwitchValue);
1058
Visit
(node.DefaultBody);
1077
Visit
(node.Filter);
1081
Visit
(node.Body);
1090
Visit
(node.Body);
1097
Visit
(node.Finally);
1104
Visit
(node.Fault);
1135
Visit
(node.Reduce());
1176
Visit
(lambda.Body);
System\Linq\Expressions\Expression.cs (2)
137
/// Reduces the node and then calls the <see cref="ExpressionVisitor.
Visit
(Expression)"/> method passing the reduced expression.
151
return visitor.
Visit
(ReduceAndCheck());
System\Linq\Expressions\ExpressionStringBuilder.cs (29)
73
esb.
Visit
(node);
136
Visit
(e);
146
Visit
(node.Left);
148
Visit
(node.Right);
267
Visit
(node.Left);
271
Visit
(node.Right);
300
Visit
(node.GetParameter(0));
313
Visit
(node.GetParameter(i));
318
Visit
(node.Body);
324
Visit
(node.NewExpression);
341
Visit
(node.Test);
343
Visit
(node.IfTrue);
345
Visit
(node.IfFalse);
396
Visit
(instance);
424
Visit
(node.NewExpression);
444
Visit
(assignment.Expression);
491
Visit
(initializer.GetArgument(i));
500
Visit
(node.Expression);
505
Visit
(node.GetArgument(i));
524
Visit
(ob);
533
Visit
(node.GetArgument(i));
576
Visit
(node.GetArgument(i));
585
Visit
(node.Expression);
629
Visit
(node.Operand);
662
Visit
(v);
701
Visit
(node.Value);
725
Visit
(node.SwitchValue);
753
Visit
(node.Object);
771
Visit
(node.GetArgument(i));
System\Linq\Expressions\ExpressionVisitor.cs (27)
49
Expression node =
Visit
(nodes[i]);
136
node = (
Visit
(node) as T);
159
T? node =
Visit
(nodes[i]) as T;
198
Visit
(node.Left),
200
Visit
(node.Right)
232
return node.Update(
Visit
(node.Test),
Visit
(node.IfTrue),
Visit
(node.IfFalse));
293
return node.Update(VisitLabelTarget(node.Target),
Visit
(node.Value));
304
Expression e =
Visit
(node.Expression);
334
return node.Update(VisitLabelTarget(node.Target),
Visit
(node.DefaultValue));
346
Expression body =
Visit
(node.Body);
365
return node.Update(VisitLabelTarget(node.BreakLabel), VisitLabelTarget(node.ContinueLabel),
Visit
(node.Body));
376
return node.Update(
Visit
(node.Expression));
387
Expression o =
Visit
(node.Object)!;
405
Expression o =
Visit
(node.Object)!;
473
return node.Update(Visit(node.TestValues),
Visit
(node.Body));
487
Visit
(node.SwitchValue),
489
Visit
(node.DefaultBody)
502
return node.Update(VisitAndConvert(node.Variable, nameof(VisitCatchBlock)),
Visit
(node.Filter),
Visit
(node.Body));
514
Visit
(node.Body),
516
Visit
(node.Finally),
517
Visit
(node.Fault)
529
return node.Update(
Visit
(node.Expression));
540
return ValidateUnary(node, node.Update(
Visit
(node.Operand)));
605
return node.Update(
Visit
(node.Expression));
System\Linq\Expressions\Interpreter\LightCompiler.cs (3)
2773
visitor.
Visit
(unary.Operand);
2817
Visit
(node.Body);
2818
Visit
(node.Filter);
System\Linq\Expressions\Interpreter\TypeOperations.cs (4)
485
operand = new ExpressionQuoter(_hoistedVariables, frame).
Visit
(operand);
526
Expression? b =
Visit
(node.Body);
562
Expression? b =
Visit
(node.Body);
563
Expression? f =
Visit
(node.Filter);
System\Runtime\CompilerServices\RuntimeOps.ExpressionQuoter.cs (4)
30
return quoter.
Visit
(expression);
81
Expression b =
Visit
(node.Body);
117
Expression b =
Visit
(node.Body);
118
Expression? f =
Visit
(node.Filter);
System.Linq.Queryable (8)
System\Linq\EnumerableExecutor.cs (1)
44
Expression body = rewriter.
Visit
(_expression);
System\Linq\EnumerableQuery.cs (1)
109
Expression body = rewriter.
Visit
(_expression);
System\Linq\EnumerableRewriter.cs (6)
30
Expression? obj =
Visit
(m.Object);
212
return
Visit
(exp);
383
Expression test =
Visit
(c.Test);
384
Expression ifTrue =
Visit
(c.IfTrue);
385
Expression ifFalse =
Visit
(c.IfFalse);
413
Expression value =
Visit
(node.Value);