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

cs0026-3.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b0ec7ea1c56964160a3b6c29dfcac5726c06ee0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS0026: Keyword `this' is not valid in a static property, static method, or static field initializer
// Line: 7

class A : B
{
	public A () 
		: base (this)
	{
	}
}

class B
{
	public B (B b)
	{
	}
}