From a90c740a5ec54f1852eec9b5c563935e6a60d88d Mon Sep 17 00:00:00 2001 From: Siqi Lu Date: Tue, 2 May 2023 21:02:08 +0800 Subject: [PATCH] Update File.cs --- src/libraries/System.Private.CoreLib/src/System/IO/File.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Private.CoreLib/src/System/IO/File.cs b/src/libraries/System.Private.CoreLib/src/System/IO/File.cs index 45b2a91def3301..ca68bb7414b733 100644 --- a/src/libraries/System.Private.CoreLib/src/System/IO/File.cs +++ b/src/libraries/System.Private.CoreLib/src/System/IO/File.cs @@ -88,7 +88,7 @@ public static void Delete(string path) // Tests whether a file exists. The result is true if the file // given by the specified path exists; otherwise, the result is // false. Note that if path describes a directory, - // Exists will return true. + // Exists will return false. public static bool Exists([NotNullWhen(true)] string? path) { try