projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[xbuild] Remove ErrorTest.TestExecute1()
[mono.git]
/
mcs
/
errors
/
cs0826-9.cs
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
}