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
Bump external/ikdasm to master.
[mono-project.git]
/
mono
/
tests
/
thread-static-init.cs
blob
3186833121dd7540f2d94bf1c27b6327398b9e67
1
using
System
;
2
3
class
Foo
{
4
[
ThreadStatic
]
5
public static int
foo
;
6
}
7
8
class
X
{
9
10
static void
Main
()
11
{
12
Foo
.
foo
=
1
;
13
new
Foo
();
14
Bar
();
15
}
16
17
static void
Bar
()
18
{
19
Console
.
WriteLine
(
Foo
.
foo
);
20
}
21
}