Merge pull request #4327 from vkargov/vk-abcremedy
[mono.git] / mcs / tests / test-dictinit-05.cs
1 using System.Collections.Generic;
2
3 class A {
4         public A ()
5         {
6                 Info = new Dictionary<string, int>();
7         }
8
9         public Dictionary<string, int> Info { get; set; }
10 }
11
12 class X
13 {
14         public static void Main ()
15         {
16                 var x = new A () {
17                         Info = { 
18                                 ["x"] = 1,
19                                 ["y"] = 2
20                         }
21                 };
22         }
23 }