Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <mabaul@microsoft.com>2019-12-12 02:06:49 +0300
committerMartin Baulig <mabaul@microsoft.com>2019-12-12 02:06:49 +0300
commitf27f69ac5a5c234c7cb5c6696d0c1119d5a83b92 (patch)
tree0f2907cbaff051eeca5a574cf637b56205c4651f
parentc388c710a7b3d9cfe0ea5d8fe2c1c1ddbeb46ee2 (diff)
Remove C# 8 nullability annotation.
-rw-r--r--src/System.IO.FileSystem/src/System/IO/FileSystem.Unix.cs2
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,