(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / errors / cs0027.cs
blob35aee1b9cc8bbe8c1ed557344266efff21449bde
1 // cs0027.cs: Keyword 'this' can't be used outside a constructor, a method or a property.
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.");