Skip to content

Require explicit binding when instance field and public ctor #35

@JohanLarsson

Description

@JohanLarsson
    public sealed class SingletonFieldWithPublicCtor
    {
        public static readonly SingletonFieldWithPublicCtor Instance = new SingletonFieldWithPublicCtor();

        public SingletonFieldWithPublicCtor()
        {
        }
    }

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