[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono-project.git] / mcs / errors / cs0027.cs
blob644e47dd202521a8af0e2730062696fd056f1204
1 // CS0027: Keyword `this' is not available in the current context
2 // Line: 7
4 using System;
6 class Error0027 {
7 int i = this.x;
8 int x = 0;
10 public static void Main () {
11 Console.WriteLine ("The compiler should complain: Error CS0027 trying to use 'this' outside context.");
12 Console.WriteLine ("Trying to assign i to 'this.x' outside a method, property or ctr.");