[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git] / mcs / errors / cs0457.cs
blob4a96f68e70dda8997e8e308a365a9b5db0e65cd9
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
4 class A
6 public static implicit operator sbyte (A mask)
8 return 1;
11 public static implicit operator byte (A mask)
13 return 2;
17 class X
19 static A a = null;
20 static object o = ~a;