Skip to content

Unable to access default interface methods #2577

Answered by HaloFour
Unknown6656 asked this question in Q&A
Discussion options

You must be logged in to vote

This is by design. Implementing types don't "inherit" the default members. They can only be called through the interface (or generic types constrained to the interface).

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by YairHalberstadt
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #2577 on October 28, 2020 08:43.