Xmldoc: allow reference to inherited member without qualification #8807
Unanswered
huoyaoyuan
asked this question in
Language Ideas
Replies: 1 comment
-
Also, for consistency, class Base
{
public string P1 { get; }
}
class Derived : Base
{
[Obsolete("This does the same thing with " + nameof(P1))]
public string P2 { get; }
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, you have to qualify with the base class for the
<see>
here:It's not natural when the base property is desired to be frequently used with derived class instances.
And also at IDE side, always displaying the base class name will confuse user too. The user may expect the derived class as concrete.
ppy/osu-framework#3006 (comment)
Beta Was this translation helpful? Give feedback.
All reactions