Skip to content

Source generated resolver should support hand-written formatters that use the singleton pattern #1816

Description

@AArnott

A hand-written formatter with these members should be supported:

internal static readonly IMessagePackFormatter<Encoding?> Instance = new EncodingFormatter();

private EncodingFormatter()
{
}

But the latest beta says the constructor should be made internal at least.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions