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

34 lines
314 B
C#

// CS0104: `X' is an ambiguous reference between `A.X' and `B.X'
// Line: 25
namespace A
{
class X { }
}
namespace B
{
class X { }
}
namespace C
{
using System;
using A;
using B;
class Test
{
static void Main ()
{
Foo (delegate {
X x;
});
}
static void Foo (Action a)
{
}
}
}