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