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

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.

Activity

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

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