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

UnusedParameterAnalyzer(RECS0154) reported when it shouldn't be #351

Open
DavidKarlas opened this issue Feb 14, 2018 · 0 comments
Open

UnusedParameterAnalyzer(RECS0154) reported when it shouldn't be #351

DavidKarlas opened this issue Feb 14, 2018 · 0 comments

Comments

@DavidKarlas
Copy link

    public class C {
        public int D;
        public C(int d) { D = d; } // no warnings
    }
    public class C1
    {
        public int D;
        public C1(int d) => D = d; // Warning: Parameter 'd' is never used
    }
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