linux-packaging-mono/mcs/tests/test-debug-06.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

68 lines
505 B
C#

using System;
class Test
{
public static void Main ()
{
}
void TryCatch_1 ()
{
try
{
}
catch
{
}
}
void TryCatch_2 ()
{
try
{
}
catch (Exception e)
{
e = null;
}
}
void TryCatch_3 ()
{
try
{
}
catch (ArgumentException e)
{
e = null;
}
catch (Exception e)
{
return;
}
}
void TryFinally_1 ()
{
try
{
}
finally
{
}
}
void TryFinally_2 ()
{
try
{
}
catch (Exception e)
{
e = null;
}
finally
{
}
}
}