[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs1112.cs
blob6b366abe48ed2eeabe3f95f8fb25bf777122cb41
1 // CS1112: Do not use `System.Runtime.CompilerServices.ExtensionAttribute' directly. Use parameter modifier `this' instead
2 // Line: 8
5 using System.Runtime.CompilerServices;
7 static class C
9 [Extension]
10 static void Foo (this string s)