blob: 450ed8a2152b3b5f37e8142a4d55b9a54bdd005b (
plain)
1
2
3
4
5
6
7
8
9
10
|
// cs0026-2.cs: Keyword `this' is not valid in a static property, static method, or static field initializer
// Line: 4
class X {
static object o = this;
static int Main ()
{
return 1;
}
}
|