1 2 3 4 5 6 7
// CS0836: Anonymous types cannot be used in this expression // Line: 6 public class C { const object o = new { }; }