[loader] LoadFrom of problematic images should reprobe
[mono-project.git] / mcs / errors / cs0410.cs
blob36f14f5943318d7a40a17d67eb93d6ba3b7f592b
1 // CS0410: A method or delegate `MainClass MainClass.Delegate()' parameters and return type must be same as delegate `IA TestDelegate()' parameters and return type
2 // Line: 18
3 // Compiler options: -langversion:ISO-1
5 delegate IA TestDelegate();
7 interface IA {}
9 public class MainClass : IA
11 static MainClass Delegate()
13 return null;
16 public static void Main()
18 TestDelegate delegateInstance = new TestDelegate (Delegate);