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

Added documentation for new rule CA1847 - Use string.Contains(char) w… #23377

Merged
merged 1 commit into from
Jul 8, 2021

Conversation

MeikTranel
Copy link
Contributor

@MeikTranel MeikTranel commented Mar 17, 2021

Summary

Adds required documentation for rule CA1847

Required documentation for dotnet/runtime#47180 (PR: https://github.com/dotnet/roslyn-analyzers/pull/4908/files)

Related

@MeikTranel
Copy link
Contributor Author

@gewarren probably should also get the "Hold for related PR" tag

@MeikTranel MeikTranel marked this pull request as ready for review March 17, 2021 23:06
@MeikTranel MeikTranel requested review from gewarren and a team as code owners March 17, 2021 23:06
@gewarren gewarren added the 🚧 Hold for related PR Indicates a PR can only be merged when other related PRs are merged (see comments for links) label Mar 18, 2021
@adegeo adegeo marked this pull request as draft March 22, 2021 17:36
@adegeo
Copy link
Contributor

adegeo commented Mar 22, 2021

Changed to draft to prevent any accidental merge 😁

@BillWagner BillWagner modified the milestones: March 2021, April 2021 Mar 29, 2021
@BillWagner BillWagner modified the milestones: April 2021, May 2021 May 3, 2021
@MeikTranel MeikTranel changed the title Added documentation for new rule CA1841 - Use string.Contains(char) w… Added documentation for new rule CA1844 - Use string.Contains(char) w… May 17, 2021
@MeikTranel MeikTranel changed the title Added documentation for new rule CA1844 - Use string.Contains(char) w… Added documentation for new rule CA1846 - Use string.Contains(char) w… May 18, 2021
@gewarren
Copy link
Contributor

Has the rule ID changed again? It looks like CA1846 was used for prefer AsSpan.

@MeikTranel
Copy link
Contributor Author

Yes, I've just picked up the original PR for requested changes again. I'll update this PR when the roslyn-analyzer PR gets merged.

@MeikTranel
Copy link
Contributor Author

Upstream PR has been merged now. Will be pushing the final changes to the PR later today.

@BillWagner BillWagner removed this from the May 2021 milestone Jun 1, 2021
@MeikTranel MeikTranel marked this pull request as ready for review June 1, 2021 21:12
@MeikTranel
Copy link
Contributor Author

@gewarren can we get this PR forward? The roslyn-analyzer PR has been merged for a while now ;)

@MeikTranel MeikTranel changed the title Added documentation for new rule CA1846 - Use string.Contains(char) w… Added documentation for new rule CA1847 - Use string.Contains(char) w… Jun 14, 2021
Copy link
Contributor

@adegeo adegeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM @gewarren

@gewarren gewarren merged commit af2a142 into dotnet:main Jul 8, 2021
@MeikTranel MeikTranel deleted the NewRule-StringContainsChar branch July 8, 2021 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚧 Hold for related PR Indicates a PR can only be merged when other related PRs are merged (see comments for links) dotnet-fundamentals/svc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants