Skip to content

Commit 085d8a2

Browse files
authored
Fix parameter name in TcpClient.ConnectAsync exception annotations (#8786)
1 parent e269702 commit 085d8a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System.Net.Sockets/TcpClient.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,7 +1425,7 @@ The `Available` property is a way to determine whether data is queued for readin
14251425
14261426
]]></format>
14271427
</remarks>
1428-
<exception cref="T:System.ArgumentNullException">The <paramref name="hostname" /> parameter is <see langword="null" />.</exception>
1428+
<exception cref="T:System.ArgumentNullException">The <paramref name="host" /> parameter is <see langword="null" />.</exception>
14291429
<exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="port" /> parameter is not between <see cref="F:System.Net.IPEndPoint.MinPort" /> and <see cref="F:System.Net.IPEndPoint.MaxPort" />.</exception>
14301430
<exception cref="T:System.Net.Sockets.SocketException">An error occurred when accessing the socket.</exception>
14311431
<exception cref="T:System.ObjectDisposedException">
@@ -1606,7 +1606,7 @@ The `Available` property is a way to determine whether data is queued for readin
16061606
16071607
]]></format>
16081608
</remarks>
1609-
<exception cref="T:System.ArgumentNullException">The <paramref name="hostname" /> parameter is <see langword="null" />.</exception>
1609+
<exception cref="T:System.ArgumentNullException">The <paramref name="host" /> parameter is <see langword="null" />.</exception>
16101610
<exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="port" /> parameter is not between <see cref="F:System.Net.IPEndPoint.MinPort" /> and <see cref="F:System.Net.IPEndPoint.MaxPort" />.</exception>
16111611
<exception cref="T:System.Net.Sockets.SocketException">An error occurred when accessing the socket.</exception>
16121612
<exception cref="T:System.ObjectDisposedException">

0 commit comments

Comments
 (0)