Skip to content

Make IList<T> inherit from IReadonlyList<T> #16151

@exyi

Description

@exyi

List implements both interfaces, IReadOnlyList does not have any extra feature and it is quite annoying, that they are not compatible. I think the same is with ICollection and IReadOnlyCollection

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions