This repository has been archived by the owner. It is now read-only.
False positive RECS0154 on expression boiled constructors, methods etc #354
Open
Description
If a constructor or method is expression boiled RECS0154 is raised even if the parameter is used.
The following code raises a false positive RECS0154 for the parameter textbox:
public TextBoxWriter(System.Windows.Forms.TextBoxBase textBox) => this.textBox = textBox ?? throw new NullReferenceException();
Metadata
Metadata
Assignees
Labels
No labels