2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0198.cs
blob05bf62d082b4964da12050d5136fda6b25d32887
1 // cs0198.cs: A static readonly field `X.a' cannot be assigned to (except in a static constructor or a variable initializer)
2 // Line: 8
3 class X {
4 static readonly int a;
6 static void Y ()
8 a = 1;