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
2009-10-22 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
gcs1644-5.cs
blob
706657fe65542bece58f270291c74bd87e3c72c8
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
4
5
class
Data
6
{
7
public int
Value
;
8
}
9
10
class
A
11
{
12
void
Foo
()
13
{
14
new
Data
()
{ Value = 3 }
;
15
}
16
}