[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0019-40.cs
blobba4f8e9995849522375d9d6b4b40776ba57d31dd
1 // CS0019: Operator `==' cannot be applied to operands of type `Foo' and `null'
2 // Line: 14
4 struct Foo
6 public static bool operator == (int d1, Foo d2)
8 throw new System.ApplicationException ();
11 public static bool operator != (int d1, Foo d2)
13 throw new System.ApplicationException ();
17 public class Test
19 static Foo ctx;
21 public static void Main ()
23 if (ctx == null)
24 return;