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

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

	void Y ()
	{
		a = 1;
	}
}