Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0019-69.cs
blobed5d67e5bbcf266173ee116dfda0335035e89633
1 // CS0019: Operator `==' cannot be applied to operands of type `S' and `S'
2 // Line: 22
4 struct S
6 public static implicit operator E (S s)
8 return 0;
12 public enum E
16 class C
18 public static void Main ()
20 S s;
21 S s2;
22 var x = s == s2;