Skip to content

Comments

Build cleanup: reduce warnings, add unit tests, modernize project#21

Merged
Noggog merged 1 commit intodevfrom
vk/e87c-warning-research
Feb 24, 2026
Merged

Build cleanup: reduce warnings, add unit tests, modernize project#21
Noggog merged 1 commit intodevfrom
vk/e87c-warning-research

Conversation

@Noggog
Copy link
Owner

@Noggog Noggog commented Feb 23, 2026

Summary

A collection of build hygiene improvements that reduce compiler warnings from 126 to 94 and modernize the project infrastructure.

Changes

Build warning reduction (126 → 94)

  • Removed unnecessary System.Threading.Tasks package reference that NuGet flagged as redundant (NU1510)
  • Removed unused catch exception variables in ShouldlyExt.cs and DependencyObjectExt.cs (CS0168)
  • Suppressed intentional self-comparison warnings in PercentTests.cs operator tests (CS1718)
  • Suppressed interface-required but unused Error event in MockFileSystemWatcher (CS0067)
  • Replaced obsolete Subscribe call with SubscribeAsyncConcat in WorkConsumer (CS0618)

Unit tests

  • Added comprehensive BinaryReadStream unit tests covering read operations, position tracking, edge cases, and error handling

Project infrastructure

  • Migrated from .sln to .slnx format
  • Prevented nightly CI publish from running on forks
  • NuGet package dependency cleanup

- Remove unnecessary System.Threading.Tasks package reference (NU1510)
- Remove unused catch exception variables (CS0168)
- Suppress intentional self-comparison warnings in operator tests (CS1718)
- Suppress interface-required but unused Error event in mock (CS0067)
- Replace obsolete Subscribe call with SubscribeAsyncConcat (CS0618)
@Noggog Noggog changed the title Warning reduction Build cleanup: reduce warnings, add unit tests, modernize project Feb 23, 2026
@Noggog Noggog merged commit 73d338e into dev Feb 24, 2026
17 checks passed
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