Fixes the mono/tests/gc-graystack-stress test on Windows x64
[mono-project.git] / mcs / errors / cs0462-2.cs
blobac0c5510cae2bc7838dabbac7a03471c43c6ac01
1 // CS0462: `B.this[int]' cannot override inherited members `A<T>.this[int]' and `A<T>.this[T]' because they have the same signature when used in type `B'
2 // Line: 12
4 abstract class A<T>
6 public abstract int this[T t] { set; }
7 public virtual bool this [int a] { set { } }
10 class B : A<int>
12 public override int this [int a] { set {} }