repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[mono/tests] Fix out of tree build.
[mono-project.git]
/
mcs
/
tests
/
test-dictinit-05.cs
blob
2d0521309566ac366d47f1d4f6f954dc2c8884be
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
}