blob: c7ddc28e62d7112a5944def876860d56cef72db4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// CS0440: An alias named `global' will not be used when resolving `global::'. The global namespace will be used instead
// Line: 5
// Compiler options: -warn:2 -warnaserror
using global = Foo;
namespace Foo {
class A { }
}
class A { }
class X {
static void Main ()
{
A a = new global::A ();
System.Console.WriteLine (a.GetType ());
}
}
|