dotnet/roslyn
GitHub で見るConfusing error message when the target member cannot be located for an explicit interface implementation
Open
#38,467 opened on 2019年9月3日
Area-CompilersBugConcept-Diagnostic ClarityLanguage-C#help wanted
説明
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.