projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4677b0d
)
Fix comment for File.Exists (#85648)
author
Siqi Lu
<lu.siqi@outlook.com>
Tue, 9 May 2023 14:05:13 +0000
(14:05 +0000)
committer
GitHub
<noreply@github.com>
Tue, 9 May 2023 14:05:13 +0000
(16:05 +0200)
src/libraries/System.Private.CoreLib/src/System/IO/File.cs
patch
|
blob
|
history
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
45b2a91
..
ca68bb7
100644
(file)
--- 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
@@
namespace System.IO
// 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
tru
e.
+ // Exists will return
fals
e.
public static bool Exists([NotNullWhen(true)] string? path)
{
try