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

◆ CheckRethrow()

void System.Linq.Expressions.Compiler.LambdaCompiler.CheckRethrow ( )
inlineprivate

Definition at line 3301 of file LambdaCompiler.cs.

3302 {
3303 for (LabelScopeInfo labelScopeInfo = _labelBlock; labelScopeInfo != null; labelScopeInfo = labelScopeInfo.Parent)
3304 {
3305 if (labelScopeInfo.Kind == LabelScopeKind.Catch)
3306 {
3307 return;
3308 }
3309 if (labelScopeInfo.Kind == LabelScopeKind.Finally)
3310 {
3311 break;
3312 }
3313 }
3314 throw Error.RethrowRequiresCatch();
3315 }

References System.Linq.Expressions.Compiler.LambdaCompiler._labelBlock, and System.Linq.Expressions.Error.RethrowRequiresCatch().

Referenced by System.Linq.Expressions.Compiler.LambdaCompiler.EmitThrow().