Skip to content

Lab2 fix smells and bugs#38

Open
slavik22 wants to merge 11 commits into
lenagrin:masterfrom
slavik22:lab2-smells
Open

Lab2 fix smells and bugs#38
slavik22 wants to merge 11 commits into
lenagrin:masterfrom
slavik22:lab2-smells

Conversation

@slavik22
Copy link
Copy Markdown

Screenshot 2026-05-24 at 12 30 39 Screenshot 2026-05-24 at 12 31 06

Коміт | Файл(и) | Що зробити
2 | NetSdrClient.cs, TcpClientWrapper.cs | git add тільки рядки readonly → commit fix: make private fields readonly (S2933)
3 | NetSdrClient.cs | видалення ; → commit fix: remove empty statement in StartIQAsync (S1116)
4 | NetSdrClient.cs | discards out _ → commit fix: replace unused out-params with discards (S1481)
5 | NetSdrClient.cs | nullable responseTaskSource → commit fix: declare responseTaskSource as nullable (CS8618)
6 | TcpClientWrapper.cs, UdpClientWrapper.cs | _cts nullable + _cts?.Dispose() → commit fix: dispose CancellationTokenSource to prevent resource leak (S2930)
7 | TcpClientWrapper.cs, UdpClientWrapper.cs | catch (... ex) → catch (...) → commit fix: remove unused exception variable in empty catch (S2486)
8 | IUdpClient.cs, UdpClientWrapper.cs | namespace wrap → commit fix: move IUdpClient and UdpClientWrapper into named namespace (S3903)
9 | NetSdrMessageHelper.cs | ArgumentOutOfRangeException з повідомленням → commit fix: provide message in ArgumentOutOfRangeException (S3928)
10 | UdpClientWrapper.cs | MD5.HashData → commit fix: use static MD5.HashData over ComputeHash (CA1850)

@slavik22 slavik22 changed the title Lab2 smells Lab2 fix smells and bugs May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant