Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0034.cs
blobc3e5453cc4ea7794b18020856d15d922997acb04
1 // CS0034: Operator `!=' is ambiguous on operands of type `Program.A' and `Program.B'
2 // Line: 36
4 using System;
6 class Program
8 public class A
10 public static implicit operator string (A c)
12 return null;
15 public static implicit operator Delegate (A c)
17 return null;
21 public class B
23 public static implicit operator string (B c)
25 return null;
28 public static implicit operator Delegate (B c)
30 return null;
34 public static void Main (string [] args)
36 bool b = new A () != new B ();