Skip to content

Commit 8c96a18

Browse files
authored
Fix comment for File.Exists (#85648)
1 parent 4677b0d commit 8c96a18

File tree

1 file changed

+1
-1
lines changed
  • src/libraries/System.Private.CoreLib/src/System/IO

1 file changed

+1
-1
lines changed

src/libraries/System.Private.CoreLib/src/System/IO/File.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public static void Delete(string path)
8888
// Tests whether a file exists. The result is true if the file
8989
// given by the specified path exists; otherwise, the result is
9090
// false. Note that if path describes a directory,
91-
// Exists will return true.
91+
// Exists will return false.
9292
public static bool Exists([NotNullWhen(true)] string? path)
9393
{
9494
try

0 commit comments

Comments
 (0)