2002-04-15 Patrik Torstensson
authorPatrik Torstensson <totte@mono-cvs.ximian.com>
Mon, 15 Apr 2002 05:21:13 +0000 (05:21 -0000)
committerPatrik Torstensson <totte@mono-cvs.ximian.com>
Mon, 15 Apr 2002 05:21:13 +0000 (05:21 -0000)
* Test for AppDomain support in thread

svn path=/trunk/mono/; revision=3821

mono/tests/thread4.cs [new file with mode: 0644]

diff --git a/mono/tests/thread4.cs b/mono/tests/thread4.cs
new file mode 100644 (file)
index 0000000..a31d14e
--- /dev/null
@@ -0,0 +1,16 @@
+\r
+using System;\r
+using System.Threading;\r
+\r
+public class Test {\r
+       \r
+       public static int Main () {\r
+               Console.WriteLine ("Starting test\n");\r
+\r
+               Console.WriteLine("Domain name: {0}\n", Thread.GetDomain().FriendlyName);\r
+               Console.WriteLine("Domain id: {0}\n", Thread.GetDomainID().ToString());\r
+               \r
+               return 0;\r
+       }\r
+}\r
+\r