Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

21 lines
365 B
C#

// CS0123: A method or delegate `MainClass.Delegate()' parameters do not match delegate `TestDelegate(bool)' parameters
// Line: 17
delegate IA TestDelegate(bool b);
interface IA {}
public class MainClass : IA
{
static MainClass Delegate()
{
return null;
}
public static void Main()
{
TestDelegate delegateInstance = new TestDelegate (Delegate);
}
}