Updates for CODEOWNERS
[mono-project.git] / mono / tests / hostname.cs
blob97c27cc656e0e9c1ec60cca98543fe6dff560c87
1 using System;
2 using System.Net;
4 public class A : MarshalByRefObject
6 public void test()
8 Dns.GetHostByName("localhost");
10 public static void Main()
12 Console.WriteLine("aaa");
13 Dns.GetHostByName("localhost");
14 Console.WriteLine("bbb");
15 AppDomain domain = AppDomain.CreateDomain("aaa");
16 A a = (A)domain.CreateInstanceAndUnwrap(typeof(A).Assembly.FullName,
17 typeof(A).FullName);
18 a.test();