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-03-10 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
errors
/
gcs1912.cs
blob
8d21cb780fdb0068d9af61bdfb4f9a419e2b8775
1
// CS1912: An object initializer includes more than one member `Count' initialization
2
// Line: 17
3
4
5
using
System
;
6
using
System
.
Collections
.
Generic
;
7
8
public class
Test
9
{
10
class
Container
11
{
12
public int
Count
;
13
}
14
15
static void
Main
()
16
{
17
var
c
=
new
Container { Count = 1, Count = 10 }
;
18
}
19
}