2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / gcs0272.cs
blobb8bdb5d868be5fc3aba4d8df4b57ae037a56f903
1 // CS0272: The property or indexer `Test.A.B' cannot be used in this context because the set accessor is inaccessible
2 // Line: 16
4 using System;
6 public class Test
8 private class A
10 public string B { get; private set; }
13 static void Main ()
15 A a = new A ();
16 a.B = "Foo";