示例#1
0
    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
 public static void Main()
 {
         AnonDelegateTest test = new AnonDelegateTest();
         
         // Incorrect; mcs throws unhandled exception here
         test.Call(delegate(InvalidTypeBlah something, string b) {
                 Console.WriteLine(b);
         });
 }