Wed Oct 17 13:24:33 CEST 2007 Paolo Molaro <lupus@ximian.com>
[mono.git] / mcs / errors / gcs0272.cs
1 // CS0272: The property or indexer `Test.A.B' cannot be used in this context because the set accessor is inaccessible
2 // Line: 16
3 // Compiler options: -langversion:linq
4 using System;
5
6 public class Test
7 {
8         private class A
9         {
10                 public string B { get; private set; }
11         }
12         
13         static void Main ()
14         {
15                 A a = new A ();
16                 a.B = "Foo";
17         }
18 }