Remove debugging code from generated code
[mono-project.git] / mcs / errors / cs0407.cs
blobae9245cb7cd00de6c38042de145aba0b38972b32
1 // cs0407.cs: `int MainClass.Delegate()' has the wrong return type to match the delegate `void TestDelegate()'
2 // Line: 12
4 delegate void TestDelegate();
6 public class MainClass {
7 public static int Delegate() {
8 return 0;
11 public static void Main() {
12 TestDelegate delegateInstance = new TestDelegate (Delegate);