You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Bump the dependencies group with 5 updates
Signed-off-by: dependabot[bot] <support@github.com>
* seal types not publicly instantiable (ma0053)
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Hague <rob.hague00@gmail.com>
Copy file name to clipboardExpand all lines: src/Renci.SshNet/Session.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ namespace Renci.SshNet
30
30
/// <summary>
31
31
/// Provides functionality to connect and interact with SSH server.
32
32
/// </summary>
33
-
publicclassSession:ISession
33
+
publicsealedclassSession:ISession
34
34
{
35
35
internalconstbyteCarriageReturn=0x0d;
36
36
internalconstbyteLineFeed=0x0a;
@@ -2186,7 +2186,7 @@ public void Dispose()
2186
2186
/// Releases unmanaged and - optionally - managed resources.
2187
2187
/// </summary>
2188
2188
/// <param name="disposing"><see langword="true"/> to release both managed and unmanaged resources; <see langword="false"/> to release only unmanaged resources.</param>
Copy file name to clipboardExpand all lines: src/Renci.SshNet/Sftp/SftpFileStream.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ namespace Renci.SshNet.Sftp
16
16
#pragma warning disable IDE0079// We intentionally want to suppress the below warning.
17
17
[SuppressMessage("Performance","CA1844: Provide memory-based overrides of async methods when subclassing 'Stream'",Justification="TODO: This should be addressed in the future.")]
18
18
#pragma warning restore IDE0079
19
-
publicclassSftpFileStream:Stream
19
+
publicsealedclassSftpFileStream:Stream
20
20
{
21
21
privatereadonlyLock_lock=newLock();
22
22
privatereadonlyint_readBufferSize;
@@ -162,7 +162,7 @@ public override long Position
162
162
/// <value>
163
163
/// The operating system file handle for the file that the current <see cref="SftpFileStream"/> encapsulates.
Copy file name to clipboardExpand all lines: src/Renci.SshNet/Shell.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ namespace Renci.SshNet
12
12
/// <summary>
13
13
/// Represents instance of the SSH shell object.
14
14
/// </summary>
15
-
publicclassShell:IDisposable
15
+
publicsealedclassShell:IDisposable
16
16
{
17
17
privateconstintDefaultBufferSize=1024;
18
18
@@ -315,7 +315,7 @@ public void Dispose()
315
315
/// Releases unmanaged and - optionally - managed resources.
316
316
/// </summary>
317
317
/// <param name="disposing"><see langword="true"/> to release both managed and unmanaged resources; <see langword="false"/> to release only unmanaged resources.</param>
Copy file name to clipboardExpand all lines: src/Renci.SshNet/SshCommand.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ namespace Renci.SshNet
16
16
/// <summary>
17
17
/// Represents an SSH command that can be executed.
18
18
/// </summary>
19
-
publicclassSshCommand:IDisposable
19
+
publicsealedclassSshCommand:IDisposable
20
20
{
21
21
privatereadonlyISession_session;
22
22
privatereadonlyEncoding_encoding;
@@ -630,7 +630,7 @@ public void Dispose()
630
630
/// Releases unmanaged and - optionally - managed resources.
631
631
/// </summary>
632
632
/// <param name="disposing"><see langword="true"/> to release both managed and unmanaged resources; <see langword="false"/> to release only unmanaged resources.</param>
0 commit comments