Fix LocalClientSecuritySettingsElement.Property, and other couple of API fixes.
[mono.git] / mcs / errors / cs0200-2.cs
1 // CS0200: The read only property or indexer `X.this[int]' cannot be assigned to
2 // Line: 12
3
4 class X {
5         int this[int i] {
6                 get {
7                         return 1;
8                 }
9         }
10
11         static int Main ()
12         {
13                 X x = new X ();
14                 x[0] = 10;
15                 return 1;
16         }
17 }