Skip to content

Commit 9265a45

Browse files
committed
fixed: #478
1 parent 606a5da commit 9265a45

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/FastExpressionCompiler/TestTools.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ public static void PrintCSharp(this Expression expr, ref string result)
125125
Console.WriteLine(result = expr.ToCSharpString());
126126
}
127127

128+
/// <summary>The method outputs the whole code of the expression including the code of the nested lambdas.
129+
/// In case of nested lambda represented in the expression of the Constant Delegate,
130+
/// and the Delegate.Target being IDelegateDebugInfo, you may call `IDelegateDebugInfo.EnumerateNestedLambdas()`
131+
/// and output C# for each nested lambda</summary>
128132
public static void PrintCSharp(this IDelegateDebugInfo debugInfo) =>
129133
debugInfo.Expression.PrintCSharp();
130134

0 commit comments

Comments
 (0)