add ISafeSerializationData
[mcs.git] / tests / test-231.cs
blob07e217a26620dcbec0a9b84e0cd727ab8f1cb45b
1 class T {
2 static int ret_code = 0;
4 static int Main ()
6 try {
7 T t = null;
8 t.Foo ();
9 } catch {
10 return ret_code;
12 ret_code = 1;
13 return ret_code;
16 void Foo () {
17 if (this == null) {
18 System.Console.WriteLine ("This isnt anything!?!?");
19 ret_code = 1;