Skip to content
This repository was archived by the owner on May 16, 2022. It is now read-only.
This repository was archived by the owner on May 16, 2022. It is now read-only.

Analyzer does not check for access modifiers on parameterless constructors #133

@SpaceMonkeyy86

Description

@SpaceMonkeyy86

If I mark a type with the ZeroFormattableAttribute and add a private parameterless constructor, the analyzer will not give an error because it only checks if the constructor exists. However, the serialization will fail at runtime because the constructor needs to be accessible to the library by having an access modifier of public.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions