Replace SIZEOF_REGISTER with sizeof(mgreg_t) for consistency with sizeof(gpointer)
[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
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 }