blob: 05bf62d082b4964da12050d5136fda6b25d32887 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// cs0198.cs: A static readonly field `X.a' cannot be assigned to (except in a static constructor or a variable initializer)
// Line: 8
class X {
static readonly int a;
static void Y ()
{
a = 1;
}
}
|