❔ 'Type may be weakened' inspection in rider
In intelliJ there is an inspection look at screenshot for java. Is there an equivalent for it in rider for c#?
7 Replies
What is it complaining about and why?
ArrayList to List, List to Collection or Iterable, classes to interfaces
Oh, it just means you're being overly specific? How ironic
to prevent from using deprecated/slower things
I'm not sure if there are any direct equivalents for that exact check, but a lot of code analysis stuff will pick up on that sort of thing in general, at least. Jetbrains were always good at that
When I open some rusty project I want to automatically get rid of ArrayList, unfortunate that there is no equivalent
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.