update readme (#21797)
[mono-project.git] / mcs / errors / cs0828-5.cs
blob70bb786d59271c21e42e6de0488e99d30a23d16b
1 // CS0828: An anonymous type property `Value' cannot be initialized with `void'
2 // Line: 13
5 public class Test
7 static void Error ()
11 static void Main ()
13 var v = new { Value = Error () };