The eighth batch
[git/gitster.git] / t / t4018 / csharp-exclude-exceptions
blobb1e64256cfe45581dac2a9409bb4221774e584ef
1 using System;
3 class Example
5     string Method(int RIGHT)
6     {
7         try
8         {
9             throw new Exception("fail");
10         }
11         catch (Exception)
12         {
13         }
14         finally
15         {
16         }
17         try { } catch (Exception) {}
18         try
19         {
20             throw GetException(
21             );
22         }
23         catch (Exception) { }
25         return "ChangeMe";
26     }
28     Exception GetException() => new Exception("fail");