Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

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);
}
}