Copy from 72246 to trunk
[mono.git] / mcs / errors / cs0026-3.cs
1 // CS0026: Keyword `this' is not valid in a static property, static method, or static field initializer
2 // Line: 7
3
4 class A : B
5 {
6         public A () 
7                 : base (this)
8         {
9         }
10 }
11
12 class B
13 {
14         public B (B b)
15         {
16         }
17 }