[Mono-bugs] [Bug 423186] JIT generates invalid code for unverifiable code

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 4 13:02:34 EDT 2008


User jpryor at novell.com added comment

Jonathan Pryor <jpryor at novell.com> changed:

           What    |Removed                                         |Added
                 CC|                                                |jpryor at novell.com

--- Comment #2 from Jonathan Pryor <jpryor at novell.com>  2008-09-04 11:02:33 MDT ---
As I recall on IRC, you were getting this invalid code by doing:

    IntPtr p = (IntPtr) null;

The question is, why would you do that?  Why not just:

    IntPtr p = IntPtr.Zero;

which should be fully verifiable.

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

More information about the mono-bugs mailing list