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

RECS0154 Parameter is never used false positive in Constructor Expression Body  #320

Open
@Thieum

Description

@Thieum

Consider the following code:

public UserDetailController(IUserDetailService service) => _Service = service;

service will be considered as not used and raise a RECS0154, despite the fact that it is used.

Using Refactoring Essentials 5.2.0.0 in VS2017 15.2.26430.14, in a .NET framework 4.7 project.

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