[build] Fix warning (#4177)
[mono-project.git] / mcs / tests / test-dictinit-05.cs
blob2d0521309566ac366d47f1d4f6f954dc2c8884be
1 using System.Collections.Generic;
3 class A {
4 public A ()
6 Info = new Dictionary<string, int>();
9 public Dictionary<string, int> Info { get; set; }
12 class X
14 public static void Main ()
16 var x = new A () {
17 Info = {
18 ["x"] = 1,
19 ["y"] = 2