[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / errors / cs0407.cs
blob2790f1cd42cea4d86854350ad387a1dd5b907c52
1 // CS0407: A method or delegate `int MainClass.Delegate()' return type does not match delegate `void TestDelegate()' return type
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);