dotnet/roslyn
Confusing error message when the target member cannot be located for an explicit interface implementation
Offen
#38.467 geöffnet am 03.09.2019
Area-CompilersBugConcept-Diagnostic ClarityLanguage-C#help wanted
Repository-Metriken
- Stars
- (20.414 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 6T 17h) (256 gemergte PRs in 30 T)
Beschreibung
interface I100 { }
class C100 : I100
{
object I100.M4() => null;
}
Observed:
error CS0539: 'C100.M4()' in explicit interface declaration is not found among members of the interface that can be implemented
But C100 doesn't have member named M4.