repo.or.cz
/
git
/
gitster.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
The eighth batch
[git/gitster.git]
/
t
/
t4018
/
csharp-exclude-exceptions
blob
b1e64256cfe45581dac2a9409bb4221774e584ef
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
}