Skip to content

chore: turn CA1005 and CA1045 off and limit CA1822 to private and internal members - #563

Open
glennawatson wants to merge 2 commits into
mainfrom
chore/ca1005-ca1045-ca1822
Open

glennawatson wants to merge 2 commits into
mainfrom
chore/ca1005-ca1045-ca1822

Conversation

@glennawatson

Copy link
Copy Markdown
Contributor

Makes three analyzer settings the same in every ReactiveUI repository.

  • CA1005 (more than two type parameters) and CA1045 (by-ref parameters) are off. Generic arity and by-ref struct parameters are deliberate in the zero-allocation APIs.
  • CA1822 (mark members as static) reports private and internal members only, so it never asks for a breaking change to a public member.

Only .editorconfig changes.

…ernal members

- CA1005 and CA1045 are off in every ReactiveUI repository; generic arity and by-ref struct parameters are deliberate in the zero-allocation APIs
- CA1822 reports private and internal members only, so it never asks for a breaking change to a public member
- The rules are off in .editorconfig, so the suppressions are redundant and SST1462 reports them

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant