[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0440.cs
blobc7ddc28e62d7112a5944def876860d56cef72db4
1 // CS0440: An alias named `global' will not be used when resolving `global::'. The global namespace will be used instead
2 // Line: 5
3 // Compiler options: -warn:2 -warnaserror
5 using global = Foo;
7 namespace Foo {
8 class A { }
11 class A { }
13 class X {
14 static void Main ()
16 A a = new global::A ();
17 System.Console.WriteLine (a.GetType ());