interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / t4018 / csharp-exclude-exceptions

29 lines · 459 bytes Raw Blame History
1using System;
2
3class 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}