2010-06-17 Geoff Norton <gnorton@novell.com>
[mono.git] / mono / tests / thread-static-init.cs
blob3186833121dd7540f2d94bf1c27b6327398b9e67
1 using System;
3 class Foo {
4 [ThreadStatic]
5 public static int foo;
8 class X {
10 static void Main ()
12 Foo.foo = 1;
13 new Foo ();
14 Bar ();
17 static void Bar ()
19 Console.WriteLine (Foo.foo);