You've already forked linux-packaging-mono
Imported Upstream version 4.2.1.91
Former-commit-id: b6ad0994c58eaf044e2599fe2ff7996e073c87d2
This commit is contained in:
committed by
Jo Shields
parent
bdd40f83c0
commit
bac3554225
23
mcs/tests/test-dictinit-05.cs
Normal file
23
mcs/tests/test-dictinit-05.cs
Normal file
@ -0,0 +1,23 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
class A {
|
||||
public A ()
|
||||
{
|
||||
Info = new Dictionary<string, int>();
|
||||
}
|
||||
|
||||
public Dictionary<string, int> Info { get; set; }
|
||||
}
|
||||
|
||||
class X
|
||||
{
|
||||
public static void Main ()
|
||||
{
|
||||
var x = new A () {
|
||||
Info = {
|
||||
["x"] = 1,
|
||||
["y"] = 2
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user