181b81b4a4
Former-commit-id: cf92446697332992ec36726e78eb8703e1f259d7
22 lines
248 B
C#
22 lines
248 B
C#
// CS1501: No overload for method `Bar' takes `2' arguments
|
|
// Line: 19
|
|
|
|
using System;
|
|
|
|
class T
|
|
{
|
|
void Foo (int arg, Action a)
|
|
{
|
|
}
|
|
|
|
void Foo (string title, Action a)
|
|
{
|
|
}
|
|
|
|
void Bar ()
|
|
{
|
|
Foo (arg: 1, a: () => {
|
|
Bar ("a", "b");
|
|
});
|
|
}
|
|
} |