2010-02-19 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git] / errors / cs0191.cs
blobb5c00dd658e2c93fb3b158d2f4b3d6c89a4c1dec
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;
6 void Y ()
8 a = 1;