Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0034-4.cs
blob8bea7a434e1fa85c34ddf2997a38d62fd303d1a8
1 // CS0034: Operator `==' is ambiguous on operands of type `A' and `A'
2 // Line: 36
4 using System;
6 struct A
8 public static implicit operator string (A c)
10 return null;
13 public static implicit operator Delegate (A c)
15 return null;
20 class Program
22 public static void Main ()
24 bool b = new A () == new A ();