Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions xml/System.IO/File.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2472,11 +2472,12 @@ The following example moves a file.

]]></format>
</remarks>
<exception cref="T:System.IO.IOException">The destination file already exists.

-or-

<paramref name="sourceFileName" /> was not found.</exception>
<exception cref="T:System.IO.IOException">
<paramref name="destFileName" /> already exists.
</exception>
<exception cref="T:System.IO.FileNotFoundException">
<paramref name="sourceFileName" /> was not found.
</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="sourceFileName" /> or <paramref name="destFileName" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
Expand Down Expand Up @@ -2549,6 +2550,9 @@ The following example moves a file.
]]></format>
</remarks>
<exception cref="T:System.IO.IOException">
<paramref name="destFileName" /> already exists and <paramref name="overwrite" /> is <see langword="false" />.
</exception>
<exception cref="T:System.IO.FileNotFoundException">
<paramref name="sourceFileName" /> was not found.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="sourceFileName" /> or <paramref name="destFileName" /> is <see langword="null" />.</exception>
Expand Down