[Mono-bugs] [Bug 546410] nullable values cannot be passed to not-nullable interface, while ms.net accepts it
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Nov 2 12:52:13 EST 2009
http://bugzilla.novell.com/show_bug.cgi?id=546410
User msafar at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=546410#c1
Marek Safar <msafar at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
CC| |msafar at novell.com
Info Provider| |avkekem at hotmail.com
--- Comment #1 from Marek Safar <msafar at novell.com> 2009-11-02 10:52:07 MST ---
A test case where I tried to recreate your error produces exactly same error
with csc as Mono compiler.
using System;
class C
{
public static void Main ()
{
Boolean? test = null; //create a bool
Test(test);//pass bool to function
}
static void Test(bool test){}
}
--
Configure bugmail: http://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