Last active
December 27, 2024 18:22
-
-
Save Marusyk/2e297b833015550ca21f39b734d4c4db to your computer and use it in GitHub Desktop.
Find antipatterns of ToList
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\.(?:ToList|ToArray)\(\)\s*\.|Select\(. => [^)]*\)|ForEach\(. => [^)]*\)|(?:ToList|ToArray)\(\)\s*\.Count > 0 | |
// https://www.youtube.com/live/LaoRkzSE5tI?si=uejA0fmTeNj_1a9- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment