mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
15 lines
299 B
C#
15 lines
299 B
C#
// cs0415.cs: The `IndexerName' 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 {} }
|
|
}
|
|
|