Updated with review feedback.
[mono.git] / mcs / errors / cs1501-18.cs
1 // CS1501: No overload for method `Bar' takes `2' arguments
2 // Line: 19
3
4 using System;
5
6 class T
7 {
8         void Foo (int arg, Action a)
9         {
10         }
11
12         void Foo (string title, Action a)
13         {
14         }
15
16         void Bar ()
17         {
18                 Foo (arg: 1, a: () => {
19                         Bar ("a", "b");
20                 });
21         }
22 }