Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ VisitCatchBlock()

override CatchBlock System.Linq.Expressions.DebugViewWriter.VisitCatchBlock ( CatchBlock node)
inlineprotectedvirtual

Reimplemented from System.Linq.Expressions.ExpressionVisitor.

Definition at line 1028 of file DebugViewWriter.cs.

1029 {
1030 Out(Flow.NewLine, "} .Catch (" + node.Test.ToString());
1031 if (node.Variable != null)
1032 {
1033 Out(Flow.Space, "");
1034 VisitParameter(node.Variable);
1035 }
1036 if (node.Filter != null)
1037 {
1038 Out(") .If (", Flow.Break);
1039 Visit(node.Filter);
1040 }
1041 Out(") {", Flow.NewLine);
1042 Indent();
1043 Visit(node.Body);
1044 Dedent();
1045 return node;
1046 }
override Expression VisitParameter(ParameterExpression node)
virtual ? Expression Visit(Expression? node)

References System.Linq.Expressions.DebugViewWriter.Dedent(), System.Linq.Expressions.DebugViewWriter.Indent(), System.Reflection.Out, System.Linq.Expressions.ExpressionVisitor.Visit(), and System.Linq.Expressions.DebugViewWriter.VisitParameter().

Referenced by System.Linq.Expressions.DebugViewWriter.VisitTry().