[Mono-bugs] [Bug 383993] invalid IL generated for comparison of enum with null

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Apr 25 18:40:17 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=383993

User msafar at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=383993#c1


Marek Safar <msafar at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |msafar at novell.com




--- Comment #1 from Marek Safar <msafar at novell.com>  2008-04-25 16:40:17 MST ---
Critical line is

  Console.WriteLine ("\tafter SetFileTime (error == {0})", error != null ?
error.GetType ().ToString () : "[null]");

where error is enum and the comparison is lifted.


-- 
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