summaryrefslogtreecommitdiff
path: root/mcs/tests/test-debug-16.cs
blob: 16db9204083d8cbe635791b55c1c0d7ac6617725 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System;
using System.Collections.Generic;

class C
{
	string Name;
	int value;
	
	public static void Main ()
	{
	}
	
	void Test_1 ()
	{
		var o = new Dictionary<string, int> ()
		{
			{
				"Foo", 3
			},
			{
				"Bar", 1
			},
		};
	}
	
	void Test_2 ()
	{
		var user = new C()
		{
			Name = "nn",
			value = 8
		};
	}
}