-
Notifications
You must be signed in to change notification settings - Fork 466
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
Don't guard Dictionary<K, V>.Remove(key) by ContainsKey(key) #4836
Don't guard Dictionary<K, V>.Remove(key) by ContainsKey(key) #4836
Commits on Sep 5, 2021
-
Early stab at #33797 Don't guard Dictionary<K, V>.Remove(key) by Cont…
…ainsKey(key) Diagnostic analyzer only; no CodeFixProvider yet
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 7245b4e - Browse repository at this point
Copy the full SHA 7245b4eView commit details -
Sören Kuklau committed
Sep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 17f1053 - Browse repository at this point
Copy the full SHA 17f1053View commit details -
Implement and test a single-statement block
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 06c0391 - Browse repository at this point
Copy the full SHA 06c0391View commit details -
Assign the correct rule ID, fix whitespace, add a comment
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 6fe0b87 - Browse repository at this point
Copy the full SHA 6fe0b87View commit details -
Added a CodeFixProvider/CodeAction
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 30bf3d7 - Browse repository at this point
Copy the full SHA 30bf3d7View commit details -
Apply suggestions from code review
Co-authored-by: Youssef Victor <31348972+Youssef1313@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b344987 - Browse repository at this point
Copy the full SHA b344987View commit details -
Apply more suggestions from code review
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 6a2806b - Browse repository at this point
Copy the full SHA 6a2806bView commit details -
We don't need {|#0: |} notation if we only have one rule
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for bb61880 - Browse repository at this point
Copy the full SHA bb61880View commit details -
The fixed source doesn't have diagnostics
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for cd81756 - Browse repository at this point
Copy the full SHA cd81756View commit details -
Use DocumentChangeAction and replaces nodes instead of editing text
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for ede496c - Browse repository at this point
Copy the full SHA ede496cView commit details -
formatting; re-ran 'pack' target
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for d78addf - Browse repository at this point
Copy the full SHA d78addfView commit details -
Sören Kuklau committed
Sep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 9041727 - Browse repository at this point
Copy the full SHA 9041727View commit details -
Fixer should have a title distinct from analyzer
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 7edc5df - Browse repository at this point
Copy the full SHA 7edc5dfView commit details -
Apply suggestions from code review
Co-authored-by: Amaury Levé <amaury.leve@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5f97bf3 - Browse repository at this point
Copy the full SHA 5f97bf3View commit details -
Sören Kuklau committed
Sep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 46621be - Browse repository at this point
Copy the full SHA 46621beView commit details -
Update src/NetAnalyzers/Core/Microsoft.NetCore.Analyzers/Performance/…
…DoNotGuardDictionaryRemoveByContainsKey.cs Co-authored-by: Youssef Victor <31348972+Youssef1313@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6055450 - Browse repository at this point
Copy the full SHA 6055450View commit details -
Inline calls to CreateResource
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for accc0bd - Browse repository at this point
Copy the full SHA accc0bdView commit details -
Mark the rule as unnecessary, to fade it out in the IDE
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 916f0e3 - Browse repository at this point
Copy the full SHA 916f0e3View commit details -
Simplify/generalize name of fixer action
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 513a6af - Browse repository at this point
Copy the full SHA 513a6afView commit details -
Fixed a dumb regression (all strings were empty) from f01cb8b
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 704f32e - Browse repository at this point
Copy the full SHA 704f32eView commit details -
Sören Kuklau committed
Sep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 2a8fc92 - Browse repository at this point
Copy the full SHA 2a8fc92View commit details -
Added HasElseBlock_NoDiagnostic_CS test
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for e4f50eb - Browse repository at this point
Copy the full SHA e4f50ebView commit details -
Register the conditional instead of the invocation inside the condition
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for bca7332 - Browse repository at this point
Copy the full SHA bca7332View commit details -
Sören Kuklau committed
Sep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 26f6f3e - Browse repository at this point
Copy the full SHA 26f6f3eView commit details -
For additional statements, warn (but don't offer a fix)
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for cce22c2 - Browse repository at this point
Copy the full SHA cce22c2View commit details -
NegatedCondition_NoDiagnostic_CS now reports a diagnostic; also porte…
…d to VB
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 7d97c6a - Browse repository at this point
Copy the full SHA 7d97c6aView commit details -
Preserve trivia (e.g., code comments)
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for eb84634 - Browse repository at this point
Copy the full SHA eb84634View commit details -
fixed a unit test regression due to incorrect whitespace
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 47bfc85 - Browse repository at this point
Copy the full SHA 47bfc85View commit details -
if there's an else block, but the if block _only_ contains Remove, ne…
…gate the condition and remove the old if block
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for e82a37d - Browse repository at this point
Copy the full SHA e82a37dView commit details -
Sören Kuklau committed
Sep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for f15f370 - Browse repository at this point
Copy the full SHA f15f370View commit details -
Sören Kuklau committed
Sep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for b49cbf6 - Browse repository at this point
Copy the full SHA b49cbf6View commit details -
Sören Kuklau committed
Sep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 03136aa - Browse repository at this point
Copy the full SHA 03136aaView commit details -
invocationOperation might be null
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 7a6af81 - Browse repository at this point
Copy the full SHA 7a6af81View commit details -
Sören Kuklau committed
Sep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 1e75911 - Browse repository at this point
Copy the full SHA 1e75911View commit details -
AnalyzerReleases.Unshipped.md is apparently being generated incorrectly?
Sören Kuklau committedSep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 7b6917a - Browse repository at this point
Copy the full SHA 7b6917aView commit details -
Sören Kuklau committed
Sep 5, 2021 Configuration menu - View commit details
-
Copy full SHA for a952e90 - Browse repository at this point
Copy the full SHA a952e90View commit details
Commits on Feb 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2c9d717 - Browse repository at this point
Copy the full SHA 2c9d717View commit details
Commits on Feb 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 67e3398 - Browse repository at this point
Copy the full SHA 67e3398View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fc1933 - Browse repository at this point
Copy the full SHA 7fc1933View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bb8646 - Browse repository at this point
Copy the full SHA 7bb8646View commit details
Commits on Feb 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 45fea08 - Browse repository at this point
Copy the full SHA 45fea08View commit details
Commits on Mar 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0d93a8d - Browse repository at this point
Copy the full SHA 0d93a8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ddac4c - Browse repository at this point
Copy the full SHA 3ddac4cView commit details
Commits on Apr 27, 2022
-
3
Configuration menu - View commit details
-
Copy full SHA for 191c334 - Browse repository at this point
Copy the full SHA 191c334View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63fc959 - Browse repository at this point
Copy the full SHA 63fc959View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for d91f724 - Browse repository at this point
Copy the full SHA d91f724View commit details
Commits on Apr 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1078915 - Browse repository at this point
Copy the full SHA 1078915View commit details