[Mono-bugs] [Bug 425512] System. Exception field name remote_stack_trace is _remoteStackTraceString on MS . Net

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 11 14:51:00 EDT 2008


User skolima at gmail.com added comment

--- Comment #2 from Leszek Ciesielski <skolima at gmail.com>  2008-09-11 12:50:59 MDT ---

 FieldInfo remoteStackTraceString =
  BindingFlags.Instance | BindingFlags.NonPublic); // MS.Net

 if (remoteStackTraceString == null)
  remoteStackTraceString = typeof(Exception).GetField("remote_stack_trace",
   BindingFlags.Instance | BindingFlags.NonPublic); // Mono

is probably a better workaround in case Mono someday changes this. I was
however interested whether there is a chance of renaming the actual field in

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list