[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git] / mcs / errors / cs0102.cs
1 // CS0102: The type `SampleClass' already contains a definition for `set_Item'
2 // Line: 6
3
4 public class SampleClass {
5         protected int set_Item;
6         public int this[int index] { set {} }        
7 }