Question
How can one enable the suggestion in Rider to make lambda expressions static?
Answer
To enable the suggestion for making lambda expressions static, follow these steps:
- Open Rider's settings menu.
- Navigate to the following path:
Editor | Inspection Settings | Inspection Severity | C#. - Locate the inspection titled "Lambda expression/anonymous method can be made 'static'" in the list.
- Change its severity to "Suggestion" (or another level you prefer) by modifying its settings.
This change will activate the corresponding suggestion during code inspection in Rider.
Comments
0 comments
Please sign in to leave a comment.