Skip to content

Commit d11eeb4

Browse files
committed
Moved both parts of Extensions partial class to Common namespace.
1 parent df1211a commit d11eeb4

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

src/Renci.SshNet.NET35/Common/Extensions.NET35.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
using System;
2-
using System.Text;
2+
using System.Diagnostics;
33
using System.Net.Sockets;
4-
using System.Threading;
54
using System.Security.Cryptography;
6-
using System.Diagnostics;
5+
using System.Text;
6+
using System.Threading;
77

8-
namespace Renci.SshNet
8+
namespace Renci.SshNet.Common
99
{
1010
/// <summary>
1111
/// Collection of different extension method specific for .NET 3.5
1212
/// </summary>
13-
public static partial class Extensions
13+
internal static partial class Extensions
1414
{
1515
/// <summary>
1616
/// Disposes the specified socket.

src/Renci.SshNet.Tests/Classes/Channels/ChannelDirectTcpipTest_Close_SessionIsConnectedAndChannelIsOpen.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
using Microsoft.VisualStudio.TestTools.UnitTesting;
77
using Moq;
88
using Renci.SshNet.Channels;
9+
using Renci.SshNet.Common;
910
using Renci.SshNet.Messages.Connection;
1011
using Renci.SshNet.Tests.Common;
1112

src/Renci.SshNet.Tests/Common/AsyncSocketListener.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Net;
33
using System.Net.Sockets;
44
using System.Threading;
5+
using Renci.SshNet.Common;
56

67
namespace Renci.SshNet.Tests.Common
78
{

src/Renci.SshNet/ForwardedPortDynamic.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System;
22
using System.Threading;
3+
using Renci.SshNet.Common;
34

45
namespace Renci.SshNet
56
{

src/Renci.SshNet/NoneAuthenticationMethod.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System;
22
using System.Threading;
3+
using Renci.SshNet.Common;
34
using Renci.SshNet.Messages.Authentication;
45
using Renci.SshNet.Messages;
56

0 commit comments

Comments
 (0)