2009-10-22 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / gcs1644-5.cs
blob706657fe65542bece58f270291c74bd87e3c72c8
1 // CS1644: Feature `object initializers' cannot be used because it is not part of the C# 2.0 language specification
2 // Line: 14
3 // Compiler options: -langversion:ISO-2
5 class Data
7 public int Value;
10 class A
12 void Foo ()
14 new Data () { Value = 3 };