[runtime] Coverage profiler fixes (#5698)
[mono.git] / mcs / errors / cs1720.cs
1 // CS1720: Expression will always cause a `System.NullReferenceException'
2 // Line: 11
3 // Compiler options: -warnaserror -warn:1
4
5 using System;
6
7 public class Tester 
8 {
9     public static void Main()
10     {
11         Console.WriteLine(((object)null).ToString());
12     }
13 }