[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0138.cs
blobb0d36314517d3fe52663f3411568c85501d5b6be
1 // CS0138: A `using' directive can only be applied to namespaces but `System.Console' denotes a type. Consider using a `using static' instead
2 // Line: 5
4 using System;
5 using System.Console;
7 class A
9 static void Main ()
11 Console.WriteLine ("Test CS0138");