2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0154-3.cs
blobc4f3d239ef5182c2070e1530959e11a6a065dca8
1 // CS0154: The property or indexer `Test.this[bool]' cannot be used in this context because it lacks a `get' accessor
2 // Line: 13
4 class Test
6 public int this[bool b] { set {} }
9 class C
11 public static void Main ()
13 int i = new Test()[false];