[mcs] C# 7 tuple (foundation only).
[mono.git] / mcs / errors / cs0828-3.cs
1 // CS0828: An anonymous type property `Value' cannot be initialized with `anonymous method'
2 // Line: 9
3
4
5 public class Test
6 {
7         static void Main ()
8         {
9                 var v = new { Value = delegate () { return 1; } };
10         }
11 }