Skip to content

Nullability of StreamReader and StreamWriter encoding parameter is not consistent #2376

@jnm2

Description

@jnm2

StreamReader(Stream, Encoding) does not throw when null is passed

StreamReader(Stream, Encoding, bool) does not throw when null is passed

StreamReader(Stream, Encoding, bool, int) does not throw when null is passed

StreamReader(Stream, Encoding?, bool, int, bool) does not throw when null is passed


StreamWriter(Stream, Encoding) does not throw when null is passed

StreamWriter(Stream, Encoding, int) does not throw when null is passed

StreamWriter(Stream, Encoding?, int, bool) does not throw when null is passed

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.IOenhancementProduct code improvement that does NOT require public API changes/additions

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions