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

try.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c1746f92b2d36c8373eede5a62407a5f29ef64fc (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
class t {

	void a ()
	{
		int b;
		
		try {
			b = 1;
		} catch {
			b = 2;
		}
	}

	void b ()
	{
		int a;

		try {
			a = 1;
		} catch (Exception) {
			a = 2;
		}
	}

	void c ()
	{
		int a;

		try {
			a = 2;
		} catch (Exception e) {
			a = 0x3;
		} catch {
			a = 0x1;
		}
	}

	void d ()
	{
		int a;

		try {
			a = 2;
		} catch (Exception e) {
			a = 0x3;
		} catch {
			a = 0x1;
		} finalize {
			a = 111;
		}
	}
}