Skip to content

Commit

Permalink
Add missing SocketAddress API docs (#9306)
Browse files Browse the repository at this point in the history
* Add missing SocketAddress API docs

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <[email protected]>
Co-authored-by: Carlos Sánchez López <[email protected]>

---------

Co-authored-by: Genevieve Warren <[email protected]>
Co-authored-by: Carlos Sánchez López <[email protected]>
  • Loading branch information
3 people authored Sep 18, 2023
1 parent 9387dee commit eb9031c
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions xml/System.Net/SocketAddress.xml
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,11 @@
<ReturnType>System.Memory&lt;System.Byte&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<summary>Gets the underlying memory that can be passed to native OS calls.</summary>

<value>To be added.</value>
<remarks>To be added.</remarks>
<remarks>The content of the buffer can be invalidated if <see cref="P:System.Net.SocketAddress.Size"/> is changed or if the <see cref="T:System.Net.SocketAddress"/> instance is used in another receive call.</remarks>

</Docs>
</Member>
<Member MemberName="Equals">
Expand Down Expand Up @@ -446,9 +448,10 @@
<Parameter Name="addressFamily" Type="System.Net.Sockets.AddressFamily" Index="0" FrameworkAlternate="net-8.0" />
</Parameters>
<Docs>
<param name="addressFamily">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<param name="addressFamily">The addressing scheme to use.</param>

<summary>Gets the maximum required buffer size for the given <see cref="T:System.Net.Sockets.AddressFamily"/>.</summary>
<returns>The maximum buffer size.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
Expand Down

0 comments on commit eb9031c

Please sign in to comment.