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

Description

@HeikoAdams

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions