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
* Fixed warnings in tests.
* Fixed warnings in main project.
* Fix public key.
* Further warning cleanup.
* Muted remaining warnings.
* Final cleanup.
* Fix warning.
* Fix test classes.
* Fix more internals.
* Revert "internal" in test projects
* Revert more internals.
* Revert all non-analyzer changes.
---------
Co-authored-by: Rob Hague <[email protected]>
#pragma warning disable CA1844// Provide memory-based overrides of async methods when subclassing 'Stream'
16
+
#pragma warning disable IDE0079// We intentionally want to suppress the below warning.
17
+
[SuppressMessage("Performance","CA1844: Provide memory-based overrides of async methods when subclassing 'Stream'",Justification="TODO: This should be addressed in the future.")]
18
+
#pragma warning restore IDE0079
17
19
publicclassSftpFileStream:Stream
18
-
#pragma warning restore CA1844// Provide memory-based overrides of async methods when subclassing 'Stream'
19
20
{
20
21
privatereadonlyobject_lock=newobject();
21
22
privatereadonlyint_readBufferSize;
@@ -88,7 +89,6 @@ public override bool CanTimeout
88
89
/// <exception cref="NotSupportedException">A class derived from Stream does not support seeking. </exception>
89
90
/// <exception cref="ObjectDisposedException">Methods were called after the stream was closed. </exception>
[SuppressMessage("Microsoft.Design","CA1065:DoNotRaiseExceptionsInUnexpectedLocations",Justification="Be design this is the exception that stream need to throw.")]
0 commit comments