2010-03-03 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git] / errors / gcs1644-4.cs
blob6f63efa3aeace07d60ba98c07162baabe0a1b695
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
5 using System.Collections.Generic;
7 class A
9 void Foo ()
11 object o = new List<int> { 1, 2, 3 };