projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
23d6a67cc8fcf3d4125eb09780f5bdd48e25393b
[mono.git]
/
test-type-ctor.cs
1
using System;
2
3
class Subclient {
4
5
static Subclient () {
6
throw new Exception ();
7
}
8
~Subclient () {
9
Console.WriteLine ("in finalizer");
10
}
11
}
12
13
class Test {
14
static Subclient s;
15
static void Main () {
16
Console.WriteLine ("testing");
17
try {
18
s = new Subclient ();
19
} catch {
20
Console.WriteLine ("got it");
21
}
22
Console.WriteLine ("done");
23
}
24
}
25