Skip to content

Commit 6ca7f20

Browse files
authored
Make FileInfoWrapper.ToString behave like FileInfo.ToString (#556)
Fixes #553
1 parent 3065590 commit 6ca7f20

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

System.IO.Abstractions/FileInfoWrapper.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,5 +199,10 @@ public override long Length
199199
{
200200
get { return instance.Length; }
201201
}
202+
203+
public override string ToString()
204+
{
205+
return instance.ToString();
206+
}
202207
}
203208
}

0 commit comments

Comments
 (0)