Skip to content

Class with finalizer should extend CriticalFinalizerObject #15

@sharwell

Description

@sharwell

This is a straightforward diagnosic-only analyzer. Classes which include a user-defined finalizer should extend CriticalFinalizerObject (typically SafeHandle or CriticalHandle, or a class derived from one of those).

Since there are known exceptions to this guideline (e.g. Task), it should be reported only as a warning by default.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions