From d11eeb4185052e057fd52ecef2dbde4372d3cfc1 Mon Sep 17 00:00:00 2001 From: Gert Driesen Date: Mon, 16 May 2016 20:30:31 +0200 Subject: [PATCH] Moved both parts of Extensions partial class to Common namespace. --- src/Renci.SshNet.NET35/Common/Extensions.NET35.cs | 12 ++++++------ ...pTest_Close_SessionIsConnectedAndChannelIsOpen.cs | 1 + src/Renci.SshNet.Tests/Common/AsyncSocketListener.cs | 1 + src/Renci.SshNet/ForwardedPortDynamic.cs | 1 + src/Renci.SshNet/NoneAuthenticationMethod.cs | 1 + 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/Renci.SshNet.NET35/Common/Extensions.NET35.cs b/src/Renci.SshNet.NET35/Common/Extensions.NET35.cs index 4c1f059a..0b04cec6 100644 --- a/src/Renci.SshNet.NET35/Common/Extensions.NET35.cs +++ b/src/Renci.SshNet.NET35/Common/Extensions.NET35.cs @@ -1,16 +1,16 @@ using System; -using System.Text; -using System.Net.Sockets; -using System.Threading; -using System.Security.Cryptography; using System.Diagnostics; +using System.Net.Sockets; +using System.Security.Cryptography; +using System.Text; +using System.Threading; -namespace Renci.SshNet +namespace Renci.SshNet.Common { /// /// Collection of different extension method specific for .NET 3.5 /// - public static partial class Extensions + internal static partial class Extensions { /// /// Disposes the specified socket. diff --git a/src/Renci.SshNet.Tests/Classes/Channels/ChannelDirectTcpipTest_Close_SessionIsConnectedAndChannelIsOpen.cs b/src/Renci.SshNet.Tests/Classes/Channels/ChannelDirectTcpipTest_Close_SessionIsConnectedAndChannelIsOpen.cs index 3b659a0e..5dd07710 100644 --- a/src/Renci.SshNet.Tests/Classes/Channels/ChannelDirectTcpipTest_Close_SessionIsConnectedAndChannelIsOpen.cs +++ b/src/Renci.SshNet.Tests/Classes/Channels/ChannelDirectTcpipTest_Close_SessionIsConnectedAndChannelIsOpen.cs @@ -6,6 +6,7 @@ using System.Threading; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using Renci.SshNet.Channels; +using Renci.SshNet.Common; using Renci.SshNet.Messages.Connection; using Renci.SshNet.Tests.Common; diff --git a/src/Renci.SshNet.Tests/Common/AsyncSocketListener.cs b/src/Renci.SshNet.Tests/Common/AsyncSocketListener.cs index 822d8fa2..6cd5c3a8 100644 --- a/src/Renci.SshNet.Tests/Common/AsyncSocketListener.cs +++ b/src/Renci.SshNet.Tests/Common/AsyncSocketListener.cs @@ -2,6 +2,7 @@ using System.Net; using System.Net.Sockets; using System.Threading; +using Renci.SshNet.Common; namespace Renci.SshNet.Tests.Common { diff --git a/src/Renci.SshNet/ForwardedPortDynamic.cs b/src/Renci.SshNet/ForwardedPortDynamic.cs index 94af2e74..6a5652c0 100644 --- a/src/Renci.SshNet/ForwardedPortDynamic.cs +++ b/src/Renci.SshNet/ForwardedPortDynamic.cs @@ -1,5 +1,6 @@ using System; using System.Threading; +using Renci.SshNet.Common; namespace Renci.SshNet { diff --git a/src/Renci.SshNet/NoneAuthenticationMethod.cs b/src/Renci.SshNet/NoneAuthenticationMethod.cs index e7f8267c..ce4042dc 100644 --- a/src/Renci.SshNet/NoneAuthenticationMethod.cs +++ b/src/Renci.SshNet/NoneAuthenticationMethod.cs @@ -1,5 +1,6 @@ using System; using System.Threading; +using Renci.SshNet.Common; using Renci.SshNet.Messages.Authentication; using Renci.SshNet.Messages;