From f27f69ac5a5c234c7cb5c6696d0c1119d5a83b92 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Wed, 11 Dec 2019 18:06:49 -0500 Subject: Remove C# 8 nullability annotation. --- src/System.IO.FileSystem/src/System/IO/FileSystem.Unix.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3