KEMBAR78
Enable `CA1852: Seal internal types` · Issue #24094 · PowerShell/PowerShell · GitHub
Skip to content

Enable CA1852: Seal internal types #24094

@xtqqczze

Description

@xtqqczze

When a type isn't accessible outside its assembly and has no subtypes within its containing assembly, it can be safely sealed.

https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852

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