[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[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 }