Skip to content

Concern about the definition of IFormattable #1481

@RexJaeschke

Description

@RexJaeschke

Issue #1378 sub-issue 11, was rejected, and during its discussion @KalleOlaviNiemitalo raised a related problem, which was spun off to this new Issue. He wrote:

I have doubts about the IFormattable definition, which currently doesn't include the string ToString(string? format, IFormatProvider? formatProvider) method. That makes it impossible for a conforming program to implement the method as an explicit interface implementation. And I'm not sure a conforming implementation can add the method, because IFormattable is an interface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions