[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0019-59.cs
blob72a7a202e309b91cf3af6b2076f75aaf7d86b589
1 // CS0019: Operator `^' cannot be applied to operands of type `S2' and `float'
2 // Line: 9
4 public class Test
6 public static void Main()
8 S2 s2 = new S2 ();
9 int r = s2 ^ 5.04f;
13 struct S2
15 public static int operator ^ (double? p1, S2 s2)
17 return 1;
20 public static implicit operator int? (S2 s1)
22 return int.MinValue;