Added to StackFrame a field for the method address.
[mono.git] / mcs / class / corlib / System.Diagnostics / StackFrame.cs
index 37a6c559fb32abf79851ef23a959877676ecaf6b..b6aa9d2ed3ec6e8ce49863ad12ee196739e5d8de 100644 (file)
@@ -49,6 +49,7 @@ 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 MethodBase methodBase;
                private string fileName;
                private int lineNumber;
@@ -165,6 +166,11 @@ namespace System.Diagnostics {
                         return nativeOffset;                        
                 }
 
+               internal long GetMethodAddress ()
+               {
+                       return methodAddress;
+               }
+
                internal string GetInternalMethodName ()
                {
                        return internalMethodName;