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
"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git]
/
mcs
/
errors
/
cs0826-9.cs
blob
4e098969b8c038957448eb59355b600048475a69
1
// CS0826: The type of an implicitly typed array cannot be inferred from the initializer. Try specifying array type explicitly
2
// Line: 8
3
4
class
C
5
{
6
static void
Main
()
7
{
8
object
o
=
1
;
9
dynamic
d
=
1
;
10
11
var
a
=
new
[] {
12
new
{ X = o }
,
13
new
{ X = d }
14
};
15
}
16
}