[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git] / mcs / errors / cs1720.cs
blob14dd44a94ccbf281c21f20f135005267f1338d4f
1 // CS1720: Expression will always cause a `System.NullReferenceException'
2 // Line: 11
3 // Compiler options: -warnaserror -warn:1
5 using System;
7 public class Tester
9 public static void Main()
11 Console.WriteLine(((object)null).ToString());