From c21880781951a135a675dae078045b58b6ba2975 Mon Sep 17 00:00:00 2001 From: Conroy Bagpipe Date: Thu, 16 Dec 2021 10:25:16 +1000 Subject: [PATCH 1/4] comment misplacement ~ fixed parameter description misplacement --- nanoFramework.System.Net/Sockets/NetworkStream.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nanoFramework.System.Net/Sockets/NetworkStream.cs b/nanoFramework.System.Net/Sockets/NetworkStream.cs index a0588fa..876a704 100644 --- a/nanoFramework.System.Net/Sockets/NetworkStream.cs +++ b/nanoFramework.System.Net/Sockets/NetworkStream.cs @@ -89,10 +89,10 @@ public NetworkStream(Socket socket) /// Initializes a new instance of the System.Net.Sockets.NetworkStream class for the specified /// System.Net.Sockets.Socket with the specified System.Net.Sockets.Socket ownership. /// - /// true to indicate that the System.Net.Sockets.NetworkStream will take ownership of the System.Net.Sockets.Socket; - /// otherwise, false. - /// The System.Net.Sockets.Socket that the System.Net.Sockets.NetworkStream will + /// The System.Net.Sockets.Socket that the System.Net.Sockets.NetworkStream will /// use to send and receive data. + /// true to indicate that the System.Net.Sockets.NetworkStream will take ownership of the System.Net.Sockets.Socket; + /// otherwise, false. public NetworkStream(Socket socket, bool ownsSocket) { if (socket == null) throw new ArgumentNullException(); From ff8aaee3fa83a9f369a6eec9a712c9c1e9bcd1a8 Mon Sep 17 00:00:00 2001 From: Conroy Bagpipe Date: Thu, 16 Dec 2021 11:54:45 +1000 Subject: [PATCH 2/4] added crefs to comments ~ plane text fqdn namespaces changed to crefs to improve readability --- nanoFramework.System.Net/Sockets/NetworkStream.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nanoFramework.System.Net/Sockets/NetworkStream.cs b/nanoFramework.System.Net/Sockets/NetworkStream.cs index 876a704..2be7864 100644 --- a/nanoFramework.System.Net/Sockets/NetworkStream.cs +++ b/nanoFramework.System.Net/Sockets/NetworkStream.cs @@ -53,9 +53,9 @@ public class NetworkStream : Stream // nonblocking state. /// - /// Creates a new instance of the System.Net.Sockets.NetworkStream class for the specified System.Net.Sockets.Socket. + /// Creates a new instance of the class for the specified . /// - /// The System.Net.Sockets.Socket that the System.Net.Sockets.NetworkStream will use to send and receive data. + /// The that the will use to send and receive data. public NetworkStream(Socket socket) : this(socket, false) { @@ -86,12 +86,12 @@ public NetworkStream(Socket socket) // socket is null. /// - /// Initializes a new instance of the System.Net.Sockets.NetworkStream class for the specified - /// System.Net.Sockets.Socket with the specified System.Net.Sockets.Socket ownership. + /// Initializes a new instance of the class for the specified + /// with the specified ownership. /// - /// The System.Net.Sockets.Socket that the System.Net.Sockets.NetworkStream will + /// The that the will /// use to send and receive data. - /// true to indicate that the System.Net.Sockets.NetworkStream will take ownership of the System.Net.Sockets.Socket; + /// true to indicate that the will take ownership of the ; /// otherwise, false. public NetworkStream(Socket socket, bool ownsSocket) { From bef382378a2f4c3f6d37a8830ae38d1b99dad11d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Sim=C3=B5es?= Date: Thu, 16 Dec 2021 08:25:36 +0000 Subject: [PATCH 3/4] Update nanoFramework.System.Net/Sockets/NetworkStream.cs --- nanoFramework.System.Net/Sockets/NetworkStream.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nanoFramework.System.Net/Sockets/NetworkStream.cs b/nanoFramework.System.Net/Sockets/NetworkStream.cs index 2be7864..3f7d0d7 100644 --- a/nanoFramework.System.Net/Sockets/NetworkStream.cs +++ b/nanoFramework.System.Net/Sockets/NetworkStream.cs @@ -91,7 +91,7 @@ public NetworkStream(Socket socket) /// /// The that the will /// use to send and receive data. - /// true to indicate that the will take ownership of the ; + /// to indicate that the will take ownership of the ; /// otherwise, false. public NetworkStream(Socket socket, bool ownsSocket) { From 7cc42e1a3f228fc7317cafea65c2b1789dcd85ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Sim=C3=B5es?= Date: Thu, 16 Dec 2021 08:25:40 +0000 Subject: [PATCH 4/4] Update nanoFramework.System.Net/Sockets/NetworkStream.cs --- nanoFramework.System.Net/Sockets/NetworkStream.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nanoFramework.System.Net/Sockets/NetworkStream.cs b/nanoFramework.System.Net/Sockets/NetworkStream.cs index 3f7d0d7..ac48e20 100644 --- a/nanoFramework.System.Net/Sockets/NetworkStream.cs +++ b/nanoFramework.System.Net/Sockets/NetworkStream.cs @@ -92,7 +92,7 @@ public NetworkStream(Socket socket) /// The that the will /// use to send and receive data. /// to indicate that the will take ownership of the ; - /// otherwise, false. + /// otherwise, . public NetworkStream(Socket socket, bool ownsSocket) { if (socket == null) throw new ArgumentNullException();