1 // cs0027-2.cs: Keyword `this' is not available in the current context
4 // Attention: Here the compiler complains saying that cannot convert implicitly from 'Error0027' to 'int' but
5 // should also say that the use of keyword 'this' is out of context since it's used outside a constructor, method
13 public static void Main () {
14 Console
.WriteLine ("The compiler should complain: Error CS0027 trying to use 'this' outside context.");
15 Console
.WriteLine ("Trying to assign i to 'this' outside a method, property or ctr.");