FileSystemInfo.LastWriteTimeUtc throws on Linux if folder doesn't exist #19864
Labels
area-System.IO
bug
os-linux
Linux OS (any supported distro)
tenet-compatibility
Incompatibility with previous versions or .NET Framework
Milestone
FileSystemInfo.LastWriteTimeUtc behaves different on Windows and Ubuntu 16.04:
see: OPCFoundation/UA-.NETStandard#112
Set FileSystemInfo to a path that doesn't exist, then call LastWriteTimeUtc.
On Windows it returns something like 1.1.1600,
On Linux it throws exception
expected: windows behaviour or at least similar behaviour on both OS.
The text was updated successfully, but these errors were encountered: