[ilasm] Don't break arguments compatiblity
[mono-project.git] / mcs / errors / cs0826-9.cs
blob4e098969b8c038957448eb59355b600048475a69
1 // CS0826: The type of an implicitly typed array cannot be inferred from the initializer. Try specifying array type explicitly
2 // Line: 8
4 class C
6 static void Main()
8 object o = 1;
9 dynamic d = 1;
11 var a = new[] {
12 new { X = o },
13 new { X = d }