dotnet/roslyn
Confusing error message when the target member cannot be located for an explicit interface implementation
Aberta
#38.467 aberto em 3 de set. de 2019
Area-CompilersBugConcept-Diagnostic ClarityLanguage-C#help wanted
Métricas do repositório
- Stars
- (20.414 estrelas)
- Métricas de merge de PR
- (Mesclagem média 6d 17h) (256 fundiu PRs em 30d)
Description
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.