[mini] Fix test compiling when running !MOBILE
[mono.git] / mcs / errors / cs0462-2.cs
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
3
4 abstract class A<T>
5 {
6         public abstract int this[T t] { set; }
7         public virtual bool this [int a] { set { } }
8 }
9
10 class B : A<int>
11 {
12         public override int this [int a] { set {} }
13 }