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

◆ WrapThrownObject()

static Exception System.Linq.Expressions.Interpreter.ThrowInstruction.WrapThrownObject ( object thrown)
inlinestaticprivate

Definition at line 51 of file ThrowInstruction.cs.

52 {
53 object obj;
54 if (thrown != null)
55 {
56 obj = thrown as Exception;
57 if (obj == null)
58 {
59 return new RuntimeWrappedException(thrown);
60 }
61 }
62 else
63 {
64 obj = null;
65 }
66 return (Exception)obj;
67 }

References System.obj.

Referenced by System.Linq.Expressions.Interpreter.ThrowInstruction.Run().