avoid using a custom sources file for the net_2_1_raw profile
[mcs.git] / errors / cs1648.cs
blob2cd5bde8edabf6f204660db00276ac0ec4532901
1 // cs1648.cs: Members of readonly field `C.s' cannot be modified (except in a constructor or a variable initializer)
2 // Line: 13
4 struct S {
5 public int x;
8 class C {
9 readonly S s;
11 public void Test ()
13 s.x = 42;