Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / errors / cs0828-3.cs
blob018ff9274d3e603218f1bf11fdb3020df2631928
1 // CS0828: An anonymous type property `Value' cannot be initialized with `anonymous method'
2 // Line: 9
5 public class Test
7 static void Main ()
9 var v = new { Value = delegate () { return 1; } };