]> git.ipfire.org Git - thirdparty/git.git/blob - t/t4018/csharp-exclude-exceptions
Merge branch 'jt/reftable-geometric-compaction'
[thirdparty/git.git] / t / t4018 / csharp-exclude-exceptions
1 using System;
2
3 class Example
4 {
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) { }
24
25 return "ChangeMe";
26 }
27
28 Exception GetException() => new Exception("fail");
29 }