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.Empty is not equal to default(PathString) #600

Closed
@weidazhao

Description

@weidazhao

PathString.Empty should be semantically equivalent to default(PathString). The expression "PathString.Empty == default(PathString)" is currently evaluated as false, as under the hood the Equals() method compares string.Empty with null, which leads to false.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions