a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
18 lines
319 B
C#
18 lines
319 B
C#
// CS0121: The call is ambiguous between the following methods or properties: `C.M(int, string, string)' and `C.M<int>(int, int?, string)'
|
|
// Line: 16
|
|
|
|
class C
|
|
{
|
|
static void M (int x, string y, string z = null)
|
|
{
|
|
}
|
|
|
|
static void M<T>(T t, int? u, string z = null)
|
|
{
|
|
}
|
|
|
|
static void Main ()
|
|
{
|
|
M (123, null);
|
|
}
|
|
} |