Merge pull request #5082 from kumpera/fix-ro-fs-file-delete
[mono.git] / mcs / errors / cs0828.cs
1 // CS0828: An anonymous type property `Value' cannot be initialized with `null'
2 // Line: 9
3
4
5 public class Test
6 {
7         static void Main ()
8         {
9                 int A = 9;
10                 var v1 = new { A, Value = null };
11         }
12 }