repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Reduce TLS accesses. (#11487)
[mono-project.git]
/
mono
/
tests
/
bug-459285.2.cs
blob
0439099d1b50b5b38179c585e52fdd961dc1741e
1
using
System
;
2
3
public class
Foo
<
T
>
4
{
5
public void
DoSomething
()
6
{
7
try
8
{
9
throw new
Exception
(
"Error"
);
10
}
11
catch
12
{
13
throw
;
14
}
15
}
16
}
17
18
public class
Bar
:
Foo
<
string
>
19
{
20
}
21
22
23
public class
MainClass
24
{
25
public static int
Main
()
26
{
27
try
{
28
new
Bar
().
DoSomething
();
29
}
catch
{
30
return
0
;
31
}
32
return
1
;
33
}
34
}