Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

PathString implicit string converters are asymmetric  #690

Closed
@jkotalik

Description

@jkotalik

In PathString.cs

public static implicit operator PathString(string s)
        {
            return new PathString(s);
        }

Will create the unescaped new PathString while

        public static implicit operator string(PathString path)
        {
            return path.ToString();
        }

Will create the escaped ToString.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions