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-473482.2.cs
blob
308782a090562587a2b19f21b724da8266654647
1
using
System
;
2
3
public class
Program
4
{
5
static void
Main
()
6
{
7
try
8
{
9
new
Foo
<
object
>(
0
,
0
);
10
}
11
catch
(
Exception ex
)
12
{
13
var
t
=
ex
.
StackTrace
;
14
}
15
}
16
}
17
18
public class
Foo
<
T
> :
FooBase
19
{
20
int
i
;
21
int
ii
;
22
23
public
Foo
(
int
i
,
int
ii
)
24
{
25
this
.
i
=
i
;
26
this
.
ii
=
ii
;
27
this
.
iii
=
0
;
28
throw new
Exception
();
29
}
30
}
31
32
public abstract class
FooBase
33
{
34
protected int
iii
;
35
}