mirror of
https://github.com/Smaug123/WoofWare.PawPrint
synced 2025-10-18 03:48:40 +00:00
Add more tests for exceptions (#33)
This commit is contained in:
24
WoofWare.PawPrint.Test/sources/ExceptionWithNoOpCatch.cs
Normal file
24
WoofWare.PawPrint.Test/sources/ExceptionWithNoOpCatch.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
|
||||
namespace HelloWorldApp
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static int ReallyMain(string[] args)
|
||||
{
|
||||
return 10;
|
||||
}
|
||||
|
||||
static int Main(string[] args)
|
||||
{
|
||||
try
|
||||
{
|
||||
return ReallyMain(args);
|
||||
}
|
||||
catch
|
||||
{
|
||||
throw;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user