Skip to content

Content for inheritdoc tag is outdated. It hasn't been updated since the changes in VS 2019 16.4 to automatically inherit documentation. #47299

Closed
@Camios

Description

@Camios

Type of issue

Outdated article

Description

The release notes for VS 2019 16.4 https://learn.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.4#--visual-studio-2019-version-164 say the following about inheritdoc tag:

Methods that have no XML documentation can now automatically inherit XML documentation from the method it is overriding. Place your cursor over the undocumented method that implements a documented interface method. Quick Info will then display the XML documentation from the interface method. You can also inherit xml comments from base classes and interfaces with the <inheritdoc> tag. Docs example.

However, the MS guide for inheritdoc tag https://learn.microsoft.com/en-us/dotnet/csharp/codedoc#inheritdoc don't mention that documentation is automatically inherited and that leads readers to assume they have to spam the tag on inherited members unnecessarily. Please update the documentation to be consistent with the actual behaviour (per the release notes).

Page URL

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/xmldoc/recommended-tags#inheritdoc

Content source URL

https://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/xmldoc/recommended-tags.md

Document Version Independent Id

d135d0a6-53d2-1567-0b1b-7aae5e07739f

Platform Id

ce5b8237-dd26-ccaa-9d21-575b220ae10e

Article author

@BillWagner

Metadata

  • ID: 3bcb925f-ef72-9a64-3762-c0b4a96f9dc4
  • PlatformId: ce5b8237-dd26-ccaa-9d21-575b220ae10e
  • Service: dotnet-csharp
  • Sub-service: lang-reference

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions