summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0104-4.cs
blob: 9072d99bb13f7a6a05572e61e3e03e45bc3c023f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// CS0104: `XAttribute' is an ambiguous reference between `A.XAttribute' and `B.XAttribute'
// Line: 21

using System;

namespace A
{
	class XAttribute : Attribute { }
}

namespace B
{
	class XAttribute : Attribute { }
}

namespace C
{
	using A;
	using B;

	[X]
	class Test 
	{
	}
}