blob: 33396fb007782b3935aadef10fbeed92b268e8cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// CS0668: Two indexers have different names; the IndexerName attribute must be used with the same name on every indexer within a type
// Line: 11
using System.Runtime.CompilerServices;
class A {
[IndexerName ("Blah")]
int this [int a] {
get { return 1; }
}
int this [string b] {
get { return 2; }
}
}
|