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
Merge pull request #4202 from marek-safar/compression
[mono-project.git]
/
mcs
/
errors
/
cs0021-5.cs
blob
19c44839cf852758e92c84d4c7fbd078458b1223
1
// CS0021: Cannot apply indexing with [] to an expression of type `object'
2
// Line: 9
3
4
class
C
5
{
6
public static void
Main
()
7
{
8
var
d
=
new object
{
9
[
"a"
] =
1
10
};
11
}
12
}