a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
15 lines
330 B
C#
15 lines
330 B
C#
// CS0415: The `System.Runtime.CompilerServices.IndexerNameAttribute' attribute is valid only on an indexer that is not an explicit interface member declaration
|
|
// Line: 11
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
interface A {
|
|
int this [int a] { set; }
|
|
}
|
|
|
|
class X : A {
|
|
[IndexerName("Error")]
|
|
int A.this [int a] { set {} }
|
|
}
|
|
|