Merge pull request #4845 from lambdageek/dev-coop-delegates
[mono.git] / mcs / errors / cs0828-4.cs
1 // CS0828: An anonymous type property `Value' cannot be initialized with `anonymous method'
2 // Line: 8
3
4 public class Test
5 {
6         static void Main ()
7         {
8                 var v = new { Value = i => 1 };
9         }
10 }