C
C#3y ago
.

❔ '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
amio
amio3y ago
What is it complaining about and why?
.
.OP3y ago
ArrayList to List, List to Collection or Iterable, classes to interfaces
amio
amio3y ago
Oh, it just means you're being overly specific? How ironic
.
.OP3y ago
to prevent from using deprecated/slower things
amio
amio3y ago
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
.
.OP3y ago
When I open some rusty project I want to automatically get rid of ArrayList, unfortunate that there is no equivalent
Accord
Accord3y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?