Gert Driesen
Gert Driesen
## Description The MSTest V2 test framework does not appear to correctly support overloaded data-driven test methods. Only tests for the first overload are actually found and executed. ## Steps...
### Description When a local variable is initialized in a for loop, then **S2589** reports a false positive if you check whether the local variable has a value. ### Repro...
Currently, the following exception classes have **internal** accessibility: * TransactionTimedOutException * TransactionNotActiveException * TransactionException * AuthenticationException This means that it's not possible to have a catch block in which you...
Right now when the value of a map is a primitive (not-nullable) type, the following code must be used to verify if there's a value for a given key and...
We should implement the following overloads on **SftpFileStream**: * [ReadAsync(Memory buffer, System.Threading.CancellationToken cancellationToken = default)](https://learn.microsoft.com/en-us/dotnet/api/system.io.stream.readasync?view=net-7.0#system-io-stream-readasync(system-memory((system-byte))-system-threading-cancellationtoken)) * [WriteAsync(ReadOnlyMemory buffer, System.Threading.CancellationToken cancellationToken = default)](https://learn.microsoft.com/en-us/dotnet/api/system.io.stream.writeasync?view=net-7.0#system-io-stream-writeasync(system-readonlymemory((system-byte))-system-threading-cancellationtoken)) When this is done, remove the [CA1844](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1844) suppression...
Similar to what we do for **AsyncResult**, we should only initialize the **WaitHandle** we need to wait for the operation to complete. We should add a `Wait(TimeSpan)` method to **Token**,...
Invoking `Read(Byte[], Int32, Int32)` on SshCommand*'s **OutputStream** or **ExtendedOutputStream** should blocking until either data is available, or the channel is closed (in which case zero should be returned). We should...
We have a few `CreateShell(...)` overloads on **SshClient** were we create the input stream that we pass to **Shell**. When the **Shell** instance is disposed, we should dispose that input...
Notice that we have a typo in the name of this class. @WojciechNagorski @Rob-Hague: Do we fix this?
**ForwardedPortDynamic** defines a public `Dispose()` method, but does not implement **IDisposable**. Its base class, **ForwardedPort**, defines a protected `Dispose(bool disposing)` method. We should update **ForwardedPort** to implement **IDisposable**.