File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public SystemFolder(string path)
3131 }
3232
3333 if ( ! Directory . Exists ( path ) )
34- throw new FileNotFoundException ( $ "Directory not found at path '{ Path } '.") ;
34+ throw new FileNotFoundException ( $ "Directory not found at path '{ path } '.") ;
3535
3636 // For consistency, always remove the trailing directory separator.
3737 Path = path . TrimEnd ( global ::System . IO . Path . PathSeparator , global ::System . IO . Path . DirectorySeparatorChar , global ::System . IO . Path . AltDirectorySeparatorChar ) ;
@@ -44,7 +44,7 @@ public SystemFolder(string path)
4444 public SystemFolder ( DirectoryInfo info )
4545 {
4646 if ( ! info . Exists )
47- throw new FileNotFoundException ( $ "Directory not found at path '{ Path } '.") ;
47+ throw new FileNotFoundException ( $ "Directory not found at path '{ info . FullName } '.") ;
4848
4949 _info = info ;
5050
You can’t perform that action at this time.
0 commit comments