projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2007-10-18 Zoltan Varga <vargaz@gmail.com>
[mono.git]
/
mono
/
tests
/
thread-static-init.cs
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
}