[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0738-3.cs
blobb056527cde5b96de56cce53d8e645fd698e3afbd
1 // CS738: `CB' does not implement interface member `IG<IA>.Method()' and the best implementing candidate `CA<IB>.Method()' return type `IB' does not match interface member return type `IA'
2 // Line: 29
4 public interface IA
8 public interface IB : IA
12 public interface IG<out U>
14 U Method ();
17 public interface IDerived : IG<IA>
21 public abstract class CA<T> : IG<T>
23 public T Method ()
25 return default (T);
29 public class CB : CA<IB>, IG<IA>