Skip to content

Commit 2e9b792

Browse files
kaloyankrastevRon Petrusha
andcommitted
Update File.xml (#2526)
* Update File.xml * Update File.xml * Update File.xml * Update xml/System.IO/File.xml Co-Authored-By: Ron Petrusha <[email protected]>
1 parent 9fa7560 commit 2e9b792

File tree

1 file changed

+70
-14
lines changed

1 file changed

+70
-14
lines changed

xml/System.IO/File.xml

Lines changed: 70 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,11 @@
848848

849849
-or-
850850

851-
<paramref name="destFileName" /> is read-only.</exception>
851+
<paramref name="destFileName" /> is read-only.
852+
853+
-or-
854+
855+
<paramref name="overwrite" /> is <see langword="true" />, <paramref name="destFileName" /> exists and is hidden, but <paramref name="sourceFileName" /> is not hidden.</exception>
852856
<exception cref="T:System.ArgumentException">
853857
<paramref name="sourceFileName" /> or <paramref name="destFileName" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.
854858

@@ -961,7 +965,11 @@
961965

962966
-or-
963967

964-
<paramref name="path" /> specified a file that is read-only.</exception>
968+
<paramref name="path" /> specified a file that is read-only.
969+
970+
-or-
971+
972+
<paramref name="path" /> specified a file that is hidden.</exception>
965973
<exception cref="T:System.ArgumentException">
966974
<paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
967975
<exception cref="T:System.ArgumentNullException">
@@ -1051,7 +1059,11 @@
10511059

10521060
-or-
10531061

1054-
<paramref name="path" /> specified a file that is read-only.</exception>
1062+
<paramref name="path" /> specified a file that is read-only.
1063+
1064+
-or-
1065+
1066+
<paramref name="path" /> specified a file that is hidden.</exception>
10551067
<exception cref="T:System.ArgumentException">
10561068
<paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
10571069
<exception cref="T:System.ArgumentNullException">
@@ -1131,7 +1143,11 @@
11311143

11321144
-or-
11331145

1134-
<paramref name="path" /> specified a file that is read-only.</exception>
1146+
<paramref name="path" /> specified a file that is read-only.
1147+
1148+
-or-
1149+
1150+
<paramref name="path" /> specified a file that is hidden.</exception>
11351151
<exception cref="T:System.ArgumentException">
11361152
<paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
11371153
<exception cref="T:System.ArgumentNullException">
@@ -1197,7 +1213,11 @@
11971213

11981214
-or-
11991215

1200-
<paramref name="path" /> specified a file that is read-only.</exception>
1216+
<paramref name="path" /> specified a file that is read-only.
1217+
1218+
-or-
1219+
1220+
<paramref name="path" /> specified a file that is hidden.</exception>
12011221
<exception cref="T:System.ArgumentException">
12021222
<paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
12031223
<exception cref="T:System.ArgumentNullException">
@@ -1273,7 +1293,15 @@
12731293
12741294
]]></format>
12751295
</remarks>
1276-
<exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
1296+
<exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.
1297+
1298+
-or-
1299+
1300+
<paramref name="path" /> specified a file that is read-only.
1301+
1302+
-or-
1303+
1304+
<paramref name="path" /> specified a file that is hidden.</exception>
12771305
<exception cref="T:System.ArgumentException">
12781306
<paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
12791307
<exception cref="T:System.ArgumentNullException">
@@ -4757,7 +4785,11 @@
47574785
<exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
47584786
<exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
47594787
<exception cref="T:System.UnauthorizedAccessException">
4760-
<paramref name="path" /> specified a file that is read-only.
4788+
<paramref name="path" /> specified a file that is read-only.
4789+
4790+
-or-
4791+
4792+
<paramref name="path" /> specified a file that is hidden.
47614793

47624794
-or-
47634795

@@ -4894,7 +4926,11 @@
48944926
<paramref name="path" /> is in an invalid format.</exception>
48954927
<exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
48964928
<exception cref="T:System.UnauthorizedAccessException">
4897-
<paramref name="path" /> specifies a file that is read-only.
4929+
<paramref name="path" /> specified a file that is read-only.
4930+
4931+
-or-
4932+
4933+
<paramref name="path" /> specified a file that is hidden.
48984934

48994935
-or-
49004936

@@ -4976,7 +5012,11 @@
49765012
<exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
49775013
<exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
49785014
<exception cref="T:System.UnauthorizedAccessException">
4979-
<paramref name="path" /> specified a file that is read-only.
5015+
<paramref name="path" /> specified a file that is read-only.
5016+
5017+
-or-
5018+
5019+
<paramref name="path" /> specified a file that is hidden.
49805020

49815021
-or-
49825022

@@ -5063,7 +5103,11 @@
50635103
<paramref name="path" /> is in an invalid format.</exception>
50645104
<exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
50655105
<exception cref="T:System.UnauthorizedAccessException">
5066-
<paramref name="path" /> specifies a file that is read-only.
5106+
<paramref name="path" /> specified a file that is read-only.
5107+
5108+
-or-
5109+
5110+
<paramref name="path" /> specified a file that is hidden.
50675111

50685112
-or-
50695113

@@ -5144,7 +5188,11 @@
51445188
<exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
51455189
<exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
51465190
<exception cref="T:System.UnauthorizedAccessException">
5147-
<paramref name="path" /> specified a file that is read-only.
5191+
<paramref name="path" /> specified a file that is read-only.
5192+
5193+
-or-
5194+
5195+
<paramref name="path" /> specified a file that is hidden.
51485196

51495197
-or-
51505198

@@ -5313,7 +5361,11 @@
53135361
<exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
53145362
<exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
53155363
<exception cref="T:System.UnauthorizedAccessException">
5316-
<paramref name="path" /> specified a file that is read-only.
5364+
<paramref name="path" /> specified a file that is read-only.
5365+
5366+
-or-
5367+
5368+
<paramref name="path" /> specified a file that is hidden.
53175369

53185370
-or-
53195371

@@ -5399,7 +5451,11 @@
53995451
<exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
54005452
<exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
54015453
<exception cref="T:System.UnauthorizedAccessException">
5402-
<paramref name="path" /> specified a file that is read-only.
5454+
<paramref name="path" /> specified a file that is read-only.
5455+
5456+
-or-
5457+
5458+
<paramref name="path" /> specified a file that is hidden.
54035459

54045460
-or-
54055461

@@ -5491,4 +5547,4 @@
54915547
</Docs>
54925548
</Member>
54935549
</Members>
5494-
</Type>
5550+
</Type>

0 commit comments

Comments
 (0)