a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
58 lines
472 B
C#
58 lines
472 B
C#
using System;
|
|
|
|
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;
|
|
} finally {
|
|
a = 111;
|
|
}
|
|
}
|
|
|
|
public static void Main () {}
|
|
}
|
|
|