Skip to content

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

Merged
gewarren merged 1 commit intodotnet:mainfrom
MeikTranel:NewRule-StringContainsChar
Jul 8, 2021
Merged

Added documentation for new rule CA1847 - Use string.Contains(char) w…#23377
gewarren merged 1 commit intodotnet:mainfrom
MeikTranel:NewRule-StringContainsChar

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 a team and gewarren 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 force-pushed the NewRule-StringContainsChar branch from ddf4daa to 4cf602d Compare May 17, 2021 22:27
@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 force-pushed the NewRule-StringContainsChar branch from 4cf602d to 18cac92 Compare May 18, 2021 18:49
@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 force-pushed the NewRule-StringContainsChar branch from 18cac92 to 8760b8f Compare June 1, 2021 20:48
@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
@MeikTranel MeikTranel force-pushed the NewRule-StringContainsChar branch from 8760b8f to 8d82ab9 Compare June 14, 2021 09:20
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