Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0555-2.cs
1 // CS0555: User-defined operator cannot take an object of the enclosing type and convert to an object of the enclosing type
2 // Line: 6
3
4 struct S
5 {
6         public static implicit operator S (S? s)
7         {
8                 return new S ();
9         }
10 }