Skip to content

Enable and audit dispose rule suppressions in Roslyn.sln (CA2000 and CA2213) #25880

@mavasani

Description

@mavasani

#25179 attempts to move us to newer analyzer packages that includes the experimental implementation of CA2000 and CA2213. There are quite a few differing opinions on what should be suppressed vs fixed, and we also have differing opinions on how dispose ownership transfer should be designed for the rule (dotnet/roslyn-analyzers#1617). Hence, we have decided to add suppressions for majority of dispose violations flagged in #25179. This issue tracks auditing these suppressions and fixing OR resolving by design.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions