Xml Doc dropdowns do not list inherited class members
See original GitHub issueWhen trying to add things like a CREF or PARAMREF in an Xml Doc (C#), any members inherited from base classes are not displayed. The system does let you still add the item, but it is not resolved:
In the below, the class Tenant
is derived from a class called ChangeTrackedEntity
which defines the Id
property (public, type Guid). But it is not listed in the displayed dropdown.
On adding Id
manually and trying to F12
(Navigate to Definition) into it, you get:
Please move if this is not the right repo / system for this bug.
Issue Analytics
- State:
- Created 10 months ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
When a class is inherited from List<>, XmlSerializer doesn't ...
The trick is to have XmlElement name = "" above the List element. When this is serialized into xml, you will have: <ContainerObject>...
Read more >Add a way to inherit documentation <inheritdoc /> #313
The compiler SHOULD report a warning if the inheritdoc element appears without a cref attribute, and no candidate for inheriting documentation ...
Read more >Using the <inheritdoc /> Tag
Be aware that when <param> tags are inherited, the parameter's name in your class's member must match the base member's parameter name. If...
Read more >XmlDocument Class (System.Xml)
Represents an XML document. You can use this class to load, validate, edit, add, and position XML in a document.
Read more >DropDownList Class (System.Web.UI.WebControls)
Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control. (Inherited from WebControl). AutoPostBack.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ah. Thank you for your explanation.
https://github.com/dotnet/csharpstandard/blob/standard-v6/standard/documentation-comments.md#d314-see
The definition of the symbol you are referencing does not exist. There is no Tenant.Id symbol, so it fails.
You’re misunderstanding the specification. Unless specifically legal, something is not legal. We don’t say “we didn’t remember to say thsi is not allowed, so you can do it”. We say “we only allow it if we explicitly stated it was allowed”.