[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git] / mcs / errors / cs8139-2.cs
1 // CS8139: `D.M()': cannot change return type tuple element names when overriding inherited member `C.M()'
2 // Line: 14
3
4 class C
5 {
6         public virtual (int a, int b) M ()
7         {
8                 throw null;
9         }
10 }
11
12 class D : C
13 {
14         public override (int, int) M ()
15         {
16                 throw null;
17         }
18 }