Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
LeaveFinallyInstruction.cs
Go to the documentation of this file.
1
namespace
System.Linq.Expressions.Interpreter
;
2
3
internal
sealed
class
LeaveFinallyInstruction
:
Instruction
4
{
5
internal
static
readonly
Instruction
Instance
=
new
LeaveFinallyInstruction
();
6
7
public
override
int
ConsumedStack
=> 2;
8
9
public
override
string
InstructionName
=>
"LeaveFinally"
;
10
11
private
LeaveFinallyInstruction
()
12
{
13
}
14
15
public
override
int
Run
(
InterpretedFrame
frame)
16
{
17
frame.
PopPendingContinuation
();
18
if
(!frame.
IsJumpHappened
())
19
{
20
return
1;
21
}
22
return
frame.
YieldToPendingContinuation
();
23
}
24
}
System.Linq.Expressions.Interpreter.Instruction
Definition
Instruction.cs:6
System.Linq.Expressions.Interpreter.InterpretedFrame.YieldToPendingContinuation
int YieldToPendingContinuation()
Definition
InterpretedFrame.cs:165
System.Linq.Expressions.Interpreter.InterpretedFrame.PopPendingContinuation
void PopPendingContinuation()
Definition
InterpretedFrame.cs:192
System.Linq.Expressions.Interpreter.InterpretedFrame.IsJumpHappened
bool IsJumpHappened()
Definition
InterpretedFrame.cs:143
System.Linq.Expressions.Interpreter.InterpretedFrame
Definition
InterpretedFrame.cs:7
System.Linq.Expressions.Interpreter.LeaveFinallyInstruction.ConsumedStack
override int ConsumedStack
Definition
LeaveFinallyInstruction.cs:7
System.Linq.Expressions.Interpreter.LeaveFinallyInstruction.Instance
static readonly Instruction Instance
Definition
LeaveFinallyInstruction.cs:5
System.Linq.Expressions.Interpreter.LeaveFinallyInstruction.LeaveFinallyInstruction
LeaveFinallyInstruction()
Definition
LeaveFinallyInstruction.cs:11
System.Linq.Expressions.Interpreter.LeaveFinallyInstruction.InstructionName
override string InstructionName
Definition
LeaveFinallyInstruction.cs:9
System.Linq.Expressions.Interpreter.LeaveFinallyInstruction.Run
override int Run(InterpretedFrame frame)
Definition
LeaveFinallyInstruction.cs:15
System.Linq.Expressions.Interpreter.LeaveFinallyInstruction
Definition
LeaveFinallyInstruction.cs:4
System.Linq.Expressions.Interpreter
Definition
ActionCallInstruction.cs:3
source
System.Linq.Expressions
System.Linq.Expressions.Interpreter
LeaveFinallyInstruction.cs
Generated by
1.10.0