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
|
public errordomain FooError {
FAIL
}
public class Foo : Object {
public string bar {
get {
throw new FooError.FAIL ("property getter");
}
set {
throw new FooError.FAIL ("property setter");
}
}
public Foo () {
throw new FooError.FAIL ("creation method");
}
construct {
throw new FooError.FAIL ("constructor");
}
class construct {
throw new FooError.FAIL ("class constructor");
}
static construct {
throw new FooError.FAIL ("static constructor");
}
~Foo () {
throw new FooError.FAIL ("destructor");
}
class ~Foo () {
throw new FooError.FAIL ("class destructor");
}
public void foo () {
throw new FooError.FAIL ("method");
}
}
void main () {
}
|