* default.build: Fix relative path to key. Avoid use of ugly foreach
[mono.git] / mcs / errors / gcs1720.cs
1 // CS1720: Expression will always cause a `System.NullReferenceException'\r
2 // Line: 11\r
3 // Compiler options: -warnaserror -warn:1\r
4 \r
5 using System;\r
6 \r
7 public class Tester \r
8 {\r
9     public static void Foo ()\r
10     {\r
11         Console.WriteLine(default(Tester).ToString());\r
12     }\r
13 }