Merge pull request #4845 from lambdageek/dev-coop-delegates
[mono.git] / mcs / errors / cs1912.cs
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 }