for "build" config, import corlib common sources at unix instead (#11989)
[mono-project.git] / mcs / errors / cs0019-62.cs
blobb1f7cf9e09193e732e07e2888547774132cee2fa
1 // CS0019: Operator `==' cannot be applied to operands of type `int' and `S?'
2 // Line: 15
4 struct S
6 public static bool operator !=(int a, S s) { return true; }
7 public static bool operator ==(int a, S s) { return false; }
10 public class C
12 public static void Main ()
14 S? s;
15 var b = 1 == s;