diff options
author | Martin Baulig <mabaul@microsoft.com> | 2019-12-12 02:17:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-12 02:17:06 +0300 |
commit | 50db8ee455a3fd71459698d8ab2975e4386d0d8c (patch) | |
tree | 0f2907cbaff051eeca5a574cf637b56205c4651f | |
parent | c388c710a7b3d9cfe0ea5d8fe2c1c1ddbeb46ee2 (diff) | |
parent | f27f69ac5a5c234c7cb5c6696d0c1119d5a83b92 (diff) |
Merge pull request #379 from baulig/work-remove-nullability
Remove C# 8 nullability annotation.
-rw-r--r-- | src/System.IO.FileSystem/src/System/IO/FileSystem.Unix.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.IO.FileSystem/src/System/IO/FileSystem.Unix.cs b/src/System.IO.FileSystem/src/System/IO/FileSystem.Unix.cs index 81ea613d6b..6a4b97ba67 100644 --- a/src/System.IO.FileSystem/src/System/IO/FileSystem.Unix.cs +++ b/src/System.IO.FileSystem/src/System/IO/FileSystem.Unix.cs @@ -67,7 +67,7 @@ namespace System.IO // FileNotFound only if the containing directory exists. bool isDirectory = (error.Error == Interop.Error.ENOENT) && - (overwrite || !DirectoryExists(Path.GetDirectoryName(PathInternal.TrimEndingDirectorySeparator(destFullPath))!)); + (overwrite || !DirectoryExists(Path.GetDirectoryName(PathInternal.TrimEndingDirectorySeparator(destFullPath)))); Interop.CheckIo( error.Error, |