[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0612-4.cs
blob6c7a42a84d6db45386c41098c68992b1900e5144
1 // CS0612: `O1' is obsolete
2 // Line: 23
3 // Compiler options: -warnaserror
5 using System;
7 [Obsolete]
8 class O1
12 #pragma warning disable 612
13 class A
15 public virtual void Foo<T> () where T : O1
19 #pragma warning restore 612
21 class B : A
23 public override void Foo<U> ()