Merge pull request #3585 from lateralusX/jlorenss/win-counter-warning
[mono.git] / mcs / errors / cs0021-5.cs
1 // CS0021: Cannot apply indexing with [] to an expression of type `object'
2 // Line: 9
3
4 class C
5 {
6         public static void Main ()
7         {
8                 var d = new object {
9                         ["a"] = 1
10                 };
11         }
12 }