Warnings cleanup
[mcs.git] / errors / gcs0828-6.cs
blob360c32babd8ef69d2321a8a2934828a61f8eadec
1 // CS0828: An anonymous type property `Value' cannot be initialized with `method group'
2 // Line: 12
4 public class Test
6 static void Error ()
10 static void Main ()
12 var v = new { Value = Error };