[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0457-2.cs
1 // CS0457: Ambiguous user defined conversions `A.implicit operator byte(A)' and `A.implicit operator sbyte(A)' when converting from 'A' to 'int'
2 // Line: 20
3
4 class A
5 {
6         public static implicit operator ushort (A mask)
7         {
8                 return 1;
9         }
10
11         public static implicit operator short (A mask)
12         {
13                 return 2;
14         }
15 }
16
17 class X
18 {
19     static A a = null;
20     static object o = -a;
21 }