Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gcs1912.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8d21cb780fdb0068d9af61bdfb4f9a419e2b8775 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// CS1912: An object initializer includes more than one member `Count' initialization
// Line: 17


using System;
using System.Collections.Generic;

public class Test
{
	class Container
	{
		public int Count;
	}
	
	static void Main ()
	{
		var c = new Container { Count = 1, Count = 10 };
	}
}