a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
264 B
C#
17 lines
264 B
C#
// CS1644: Feature `object initializers' cannot be used because it is not part of the C# 2.0 language specification
|
|
// Line: 14
|
|
// Compiler options: -langversion:ISO-2
|
|
|
|
class Data
|
|
{
|
|
public int Value;
|
|
}
|
|
|
|
class A
|
|
{
|
|
void Foo ()
|
|
{
|
|
new Data () { Value = 3 };
|
|
}
|
|
}
|