Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0198.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 60bce195511e2c8b5715e3129912846bb43f1f6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// cs0198: can not assign to static readonly variable outside static constructor
// Line: 8
class X {
	static readonly int a;

	static void Y ()
	{
		a = 1;
	}
}