[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / errors / cs0457.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 sbyte (A mask)
7         {
8                 return 1;
9         }
10
11         public static implicit operator byte (A mask)
12         {
13                 return 2;
14         }
15 }
16
17 class X
18 {
19     static A a = null;
20     static object o = ~a;
21 }