1 // cs0120-7.cs: `MemRefMonoBug.String': An object reference is required for the nonstatic field, method or property
6 public class MemRefMonoBug
{
7 private string String
; // this member has the same name as System.String class
8 public static void Main ()
10 new MemRefMonoBug ().String
= ""; // this line causes no problem
11 String
= ""; // mcs crashes in this line