2005-06-29 Sureshkumar T <tsureshkumar@novell.com>
[mono.git] / mcs / errors / cs0407.cs
1 // cs0407.cs: 'int MainClass.Delegate()' has the wrong return type
2 // Line: 12
3
4 delegate void TestDelegate();
5
6 public class MainClass {
7         public static int Delegate() {
8                 return 0;
9         }
10
11         public static void Main() {
12                 TestDelegate delegateInstance = new TestDelegate (Delegate);
13        }
14 }