コード例 #1
0
ファイル: cs0246-15.cs プロジェクト: pmq20/mono_forked
    public static void Main()
    {
        AnonDelegateTest test = new AnonDelegateTest();

        // Incorrect; mcs throws unhandled exception here
        test.Call(delegate(InvalidTypeBlah something, string b) {
            Console.WriteLine(b);
        });
    }
コード例 #2
0
ファイル: cs0246-15.cs プロジェクト: carrie901/mono
 public static void Main()
 {
         AnonDelegateTest test = new AnonDelegateTest();
         
         // Incorrect; mcs throws unhandled exception here
         test.Call(delegate(InvalidTypeBlah something, string b) {
                 Console.WriteLine(b);
         });
 }