diff options
author | jfrijters <jfrijters> | 2011-10-06 16:15:16 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-10-06 16:15:16 +0400 |
commit | eba2d85e9aa4ffb9ede3fc66c3408864f648c9c5 (patch) | |
tree | a8c1d24a3d2e752c65ca3d4dd384ad38fcad8805 /reflect/Emit | |
parent | 8b5de5376ee80902b3e4110635a4a10e2d284eda (diff) |
Added ILGenerator.__StackHeight property API extension.
Diffstat (limited to 'reflect/Emit')
-rw-r--r-- | reflect/Emit/ILGenerator.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/reflect/Emit/ILGenerator.cs b/reflect/Emit/ILGenerator.cs index 934b1214..c2442626 100644 --- a/reflect/Emit/ILGenerator.cs +++ b/reflect/Emit/ILGenerator.cs @@ -278,6 +278,13 @@ namespace IKVM.Reflection.Emit } } + // non-standard API + // returns -1 if the current position is currently unreachable + public int __StackHeight + { + get { return stackHeight; } + } + // new in .NET 4.0 public int ILOffset { |