https://bugzilla.novell.com/show_bug.cgi?id=335104
Summary: missing CS0019: comparison between value type and null
is allowed
Product: Mono: Compilers
Version: 1.2
Platform: i586
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
Found By: ---
I hope the summary mostly explains:
--------
using System;
using System.Runtime.Serialization;
public class Test
{
static StreamingContext ctx;
public static void Main ()
{
if (ctx == null)
throw new Exception ();
}
}
Expected Result (like csc):
zzz.cs(10,7): error CS0019: Operator '==' cannot be applied to operands of type
'System.Runtime.Serialization.StreamingContext' and '<null>'
Actual Result: no error.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs