repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-03-03 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git]
/
errors
/
gcs1644-4.cs
blob
6f63efa3aeace07d60ba98c07162baabe0a1b695
1
// CS1644: Feature `collection initializers' cannot be used because it is not part of the C# 2.0 language specification
2
// Line: 9
3
// Compiler options: -langversion:ISO-2
4
5
using
System
.
Collections
.
Generic
;
6
7
class
A
8
{
9
void
Foo
()
10
{
11
object
o
=
new
List
<
int
>
{ 1, 2, 3 }
;
12
}
13
}