[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
Fri Sep 12 08:54:40 EDT 2008


User robertj at gmx.net added comment

Robert Jordan <robertj at gmx.net> changed:

           What    |Removed                                         |Added
             Status|NEW                                             |RESOLVED
         Resolution|                                                |WONTFIX

--- Comment #3 from Robert Jordan <robertj at gmx.net>  2008-09-12 06:54:39 MDT ---
Type.GetType ("Mono.Runtime") is the documented way for detecting Mono, so it
will be available forever.

On private fields: I guess it's not necessary to mention that they could change
at will, especially for ISerialized classes like Exception which do not need to
take any care about the field layout. This applies to both runtimes.

On Mono, this field is shared with the runtime, so renaming it is quite ugly.

That said, please add just-another-hack to CC.NET. But do it right (with the
necessary fallbacks in case the private field could not be found).
BTW, faking the exception text has of course no effect on the actual stack
frames. Applications that use StackTrace/StackFrame will still see the original
short trace.

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