Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0176-8.cs
1 // CS0176: Static member `string.Empty' cannot be accessed with an instance reference, qualify it with a type name instead
2 // Line: 9
3
4 class X
5 {
6         public static void Main ()
7         {
8                 string y = null;
9                 var x = y?.Empty;
10         }
11 }