[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0619-57.cs
blobbb90d739da59f4bdfc53c72302f72fbcda600f04
1 // CS0619: `IB' is obsolete: `hint'
2 // Line: 20
4 using System;
6 public interface IA
8 #pragma warning disable 619
9 void Foo<T> () where T : IB;
10 #pragma warning restore 619
13 [Obsolete ("hint", true)]
14 public interface IB
18 public class C : IA
20 void IA.Foo<X> ()