Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Dec 13, 2007 6:06:55 PM |
Updated | Jan 28, 2012 4:38:04 AM |
Priority | Normal |
Type | Bug |
Fix versions | Mirabile Futurum |
State | Submitted |
Assignee | Evgeny Pasynkov (pasynkov) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
using System; using System.Runtime.CompilerServices; interface I { int this[int x] { get; set; } } class A : I { [IndexerName("Foo")] int I.this[int x] // error CS0415: The 'IndexerName' attribute is valid only on an indexer that is not an explicit interface member declaration { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } }