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

Add documentation for IDE0270 #65769

Closed
Tracked by #65757
mavasani opened this issue Dec 5, 2022 · 3 comments
Closed
Tracked by #65757

Add documentation for IDE0270 #65769

mavasani opened this issue Dec 5, 2022 · 3 comments
Assignees
Labels
Area-IDE Documentation Feature Request help wanted The issue is "up for grabs" - add a comment if you are interested in working on it

Comments

@mavasani
Copy link
Member

mavasani commented Dec 5, 2022

IDE0270 https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0270 Use coalesce expression

Steps to follow to add documentation: https://github.com/dotnet/roslyn/blob/main/docs/contributing/Documentation%20for%20IDE%20CodeStyle%20analyzers.md

@mavasani mavasani added help wanted The issue is "up for grabs" - add a comment if you are interested in working on it Area-IDE Feature Request Documentation labels Dec 5, 2022
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged Issues and PRs which have not yet been triaged by a lead label Dec 5, 2022
@mavasani mavasani removed the untriaged Issues and PRs which have not yet been triaged by a lead label Dec 5, 2022
@Youssef1313
Copy link
Member

Youssef1313 commented Dec 5, 2022

NOTE: I think this should be documented the same page as https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0029-ide0030

If we chose that, redirections need to be modified:

  1. https://github.com/dotnet/docs/blob/43a1ae2b196bf5a49253d339c04f64d0dc7fa0c4/.openpublishing.redirection.fundamentals.json#L63-L70 redirect_urls should point to ide0029-ide0030-ide0270
  2. A new redirection is needed from ide0029-ide0030 to ide0029-ide0030-ide0270
  3. A new redirection is needed from ide0270 to ide0029-ide0030-ide0270

@CyrusNajmabadi
Copy link
Member

Dupe of dotnet/docs#32876

@gewarren
Copy link
Contributor

Fixed by dotnet/docs#36394.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Documentation Feature Request help wanted The issue is "up for grabs" - add a comment if you are interested in working on it
Projects
None yet
Development

No branches or pull requests

4 participants