[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / errors / cs0458-15.cs
blob1174b4160703a1c08264a7c4a42539a96842a159
1 // CS0458: The result of the expression is always `null' of type `short?'
2 // Line: 24
3 // Compiler options: -warnaserror -warn:2
5 struct S
7 public static short operator + (S s, S i)
9 return 2;
12 public static int? operator + (S? s, int? i)
14 return 2;
19 class C
21 public static void Main ()
23 S? s = new S ();
24 var x = s + (S?)null;