You've already forked linux-packaging-mono
Imported Upstream version 4.2.1.91
Former-commit-id: 5bd0f48812d39b3636887951adc772b94ef2f5af
This commit is contained in:
committed by
Jo Shields
parent
2faab2dafa
commit
f1bb32afc3
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