File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ public static Path Combine(params Path[] pathParts)
318318 {
319319 if ( pathParts == null )
320320 throw new ArgumentNullException ( ) ;
321- var strs = pathParts . Select ( p => p . ToString ( ) ) ;
321+ var strs = pathParts . Select ( p => p . PathString ) ;
322322 return Combine ( strs . ToArray ( ) ) ;
323323 }
324324
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ public override FileAttributes GetAttributes(Path path)
8484 public override void CreateDirectory ( Path path )
8585 {
8686 // Since System.IO.Directory.Create() creates all neecessary directories, we emulate here:
87- string pathString = path . ToString ( ) ;
87+ string pathString = path . PathString ;
8888 var dirsToCreate = new List < String > ( ) ;
8989 int lengthRoot = path . PathRoot . Length ;
9090
You can’t perform that action at this time.
0 commit comments