[mcs] Initial by ref returns and variables support
[mono.git] / mcs / errors / cs8147-2.cs
1 // CS8147: `X.this[int]': property and indexer which return by reference cannot have set accessors
2 // Line: 6
3
4 public class X
5 {
6         ref string this [int arg] { 
7                 set {
8
9                 }
10                 get {
11
12                 }
13         }
14 }