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

cs0026-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a4f41cdb51d44157d8e65cb9cfc53b0731ac5e80 (plain)
1
2
3
4
5
6
7
8
9
10
// cs0026: use of this is not allowed in a static field initializer
// 
class X {
	static object o = this;

	static int Main ()
	{
		return 1;
	}
}