Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git] / mcs / errors / cs0668-2.cs
blob33396fb007782b3935aadef10fbeed92b268e8cd
1 // CS0668: Two indexers have different names; the IndexerName attribute must be used with the same name on every indexer within a type
2 // Line: 11
4 using System.Runtime.CompilerServices;
5 class A {
6 [IndexerName ("Blah")]
7 int this [int a] {
8 get { return 1; }
11 int this [string b] {
12 get { return 2; }