Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If class has primary constructor, cannot provide XML documentation comment for class #75272

Open
SetTrend opened this issue Sep 27, 2024 · 0 comments
Labels
Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead

Comments

@SetTrend
Copy link

SetTrend commented Sep 27, 2024

Version Used: .NET 8.0

Steps to Reproduce:

  1. Create a class with primary constructor
  2. Add XML documentation to primary constructor

Expected Behavior:

It should be possible to provide independent XML documentation comment for class data type even when primary constructor is used.

Actual Behavior:

The constructor XML documentation is displayed when the class data type is being hovered above:

Primary constructor XML documentation

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

No branches or pull requests

1 participant