Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
LocalVariableInfo.cs
Go to the documentation of this file.
1namespace System.Reflection;
2
3public class LocalVariableInfo
4{
5 public virtual Type LocalType => null;
6
7 public virtual int LocalIndex => 0;
8
9 public virtual bool IsPinned => false;
10
12 {
13 }
14
15 public override string ToString()
16 {
17 if (IsPinned)
18 {
19 return $"{LocalType} ({LocalIndex}) (pinned)";
20 }
21 return $"{LocalType} ({LocalIndex})";
22 }
23}