Merge pull request #2819 from BrzVlad/fix-major-log
[mono.git] / mcs / class / corlib / System.Diagnostics / StackFrame.cs
index 37a6c559fb32abf79851ef23a959877676ecaf6b..702cd540d976d92e34dbce66fc2e116a679f2603 100644 (file)
@@ -49,6 +49,8 @@ namespace System.Diagnostics {
                #region Keep in sync with object-internals.h
                private int ilOffset = OFFSET_UNKNOWN;
                private int nativeOffset = OFFSET_UNKNOWN;
+               private long methodAddress;
+               private uint methodIndex;
                private MethodBase methodBase;
                private string fileName;
                private int lineNumber;
@@ -165,6 +167,16 @@ namespace System.Diagnostics {
                         return nativeOffset;                        
                 }
 
+               internal long GetMethodAddress ()
+               {
+                       return methodAddress;
+               }
+
+               internal uint GetMethodIndex ()
+               {
+                       return methodIndex;
+               }
+
                internal string GetInternalMethodName ()
                {
                        return internalMethodName;