Skip to content

Reassess usages of Path.GetInvalidFileNameChars() and Path.GetInvalidPathChars() #111928

Open
@jozkee

Description

@jozkee

We should re-evaluate usages of Path.GetInvalidFileNameChars() and Path.GetInvalidPathChars() in dotnet/runtime and get rid of them if we believe there's absolutely no value in having them. They could still be kept for compatibility i.e. to avoid changing the exception type thrown.

Originally posted by @jozkee in #110301

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.IOhelp wanted[up-for-grabs] Good issue for external contributors

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions