Repository navigation
Conversation
…ull-forgiving operator on _cts
…pression, replace O(n) Count() loop in GetSamples with index-based iteration
…er and double-connect guard
- Wrap independent asserts in Assert.Multiple across test files - Replace Has.Count / .Count() on IEnumerable with Has.Exactly(n).Items - Switch ReadAsync/WriteAsync to Memory-based overloads (S4583) - Make _cts readonly in TcpClientWrapper; fix null-forgiving operator - Split GetSamples into guard + private iterator (S3972) - Fix IDisposable pattern in UdpTimedSender with Dispose(bool) - Make _udpClient_MessageReceived static (S2325) - Remove TODO comment; fix empty while block in Program.cs - Add ErrorStream helper replacing Mock<Stream> for exception tests
…s; add coverlet.msbuild to EchoTcpServerTests
- Replace same-argument GetHashCode assertion with captured variable (NUnit2009)
- Use Is.EqualTo/Is.Not.EqualTo on objects directly instead of .Equals()+Is.True/False
- Replace Is.Not.EqualTo("string") with new object() to avoid NUnit2021 (incompatible types)
- Add coverlet.msbuild to EchoTcpServerTests.csproj so /p:CollectCoverage=true produces
an OpenCover report; without it EchoTcpServer coverage was silently absent from SonarCloud
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


No description provided.