-
Notifications
You must be signed in to change notification settings - Fork 470
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 analyzers for Regex.Match(...).Success and Regex.Matches(...).Count #7547
base: main
Are you sure you want to change the base?
Conversation
06fd4bf
to
fd62b29
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7547 +/- ##
==========================================
- Coverage 96.50% 96.50% -0.01%
==========================================
Files 1452 1455 +3
Lines 347575 347963 +388
Branches 11418 11427 +9
==========================================
+ Hits 335436 335798 +362
- Misses 9244 9265 +21
- Partials 2895 2900 +5 |
src/NetAnalyzers/Core/Microsoft.NetCore.Analyzers/Runtime/UseRegexMembers.cs
Show resolved
Hide resolved
src/NetAnalyzers/Core/Microsoft.NetCore.Analyzers/Runtime/UseRegexMembers.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks Steve!
fd62b29
to
74d5759
Compare
@joperezr, could you re-approve? I rebased to renumber the analyzers after another new one was merged with a conflicting number. Thanks. |
Not sure if my approval works though, looks like I don't have write access to the repo |
Ah, you're right, thanks, anyway. |
@jeffhandley, can you review or find someone to? Thanks. |
Fixes dotnet/runtime#111238
Fixes dotnet/runtime#111240