codeowners update
[mono.git] / mcs / errors / cs1648-2.cs
1 // CS1648: Members of readonly field `Test.p' cannot be modified (except in a constructor or a variable initializer)
2 // Line: 17
3
4 using System;
5
6 public class Test
7 {
8         struct Container
9         {
10                 public int foo { get; set; }
11         }
12         
13         readonly Container p;
14         
15         void Foo ()
16         {
17                 p.foo = 0;
18         }
19
20         public static void Main ()
21         {
22         }
23 }