2005-04-12 Dick Porter <dick@ximian.com>
[mono.git] / mcs / errors / cs0120-2.cs
1 using System;
2 using System.Threading;
3 using System.Reflection;
4 using System.Reflection.Emit;
5
6 public class Test {
7
8         public Test () : this (Add8(4), 6) {
9                 string hostName = System.Net.Dns.GetHostName ();
10                 Console.WriteLine ("Hostname: " + hostName);
11         }
12
13         public Test (int i, int j) {
14                 Console.WriteLine ("GOT : " + i + " : " + j);
15         }
16
17
18         public static void Main (String[] args) {
19                 Test t = new Test ();
20         }
21
22         private int Add8 (int i) {
23                 return i + 8;
24         }
25
26 }