* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / errors / cs0191.cs
1 // cs0191.cs: A readonly field `X.a' cannot be assigned to (except in a constructor or a variable initializer)
2 // Line: 8
3 class X {
4         readonly int a;
5
6         void Y ()
7         {
8                 a = 1;
9         }
10 }
11
12