2010-04-14 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0019-34.cs
blobde0a2eeb024040839e79308cf296910c5d2e2672
1 // CS0019: Operator `==' cannot be applied to operands of type `int' and `null'
2 // Line: 10
3 // Compiler options: -langversion:ISO-1
5 class C
7 static int Foo { get { return 3; } set {} }
9 static void Main ()
11 if (Foo == null) {}