[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0462.cs
blobcc366dfb754763b506a2262846c703eac06bf10d
1 // CS0462: `B.M(int)' cannot override inherited members `A<T>.M(int)' and `A<T>.M(T)' because they have the same signature when used in type `B'
2 // Line: 12
4 abstract class A<T>
6 public abstract void M (T t);
7 public virtual void M (int t) { }
10 class B : A<int>
12 public override void M (int t) { }