Skip to content
This repository has been archived by the owner. It is now read-only.

False positive RECS0154 on expression boiled constructors, methods etc #354

Open
HeikoAdams opened this issue Apr 9, 2018 · 0 comments
Open

Comments

@HeikoAdams
Copy link

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();
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant