[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / errors / cs0272-2.cs
1 // CS0272: The property or indexer `C.this[string]' cannot be used in this context because the set accessor is inaccessible
2 // Line: 13
3
4 class C
5 {
6         public int this [string i] { private set { } get { return 1; } }
7 }
8
9 public class Test
10 {
11         void Foo ()
12         {       C c = new C ();
13                 c [""] = 9;
14         }
15 }