Skip to content

fix: restore partial modifier on compression ExtensionTests classes#1059

Merged
vbreuss merged 1 commit into
mainfrom
fix/restore-partial-extension-tests
Jul 12, 2026
Merged

fix: restore partial modifier on compression ExtensionTests classes#1059
vbreuss merged 1 commit into
mainfrom
fix/restore-partial-extension-tests

Conversation

@vbreuss

@vbreuss vbreuss commented Jul 12, 2026

Copy link
Copy Markdown
Member

PR #1058 removed the partial modifier from the two compression ExtensionTests classes as an analyzer code smell, but both classes have a second partial declaration in ExtensionTests.Async.cs that is only compiled when FEATURE_COMPRESSION_ASYNC is defined (net10.0 and higher). This broke the net10.0 build on main with CS0260.

The analyzer finding is a false positive caused by the conditional compilation of the companion file.

PR #1058 removed the partial modifier from the two compression
ExtensionTests classes as an analyzer code smell, but both classes have
a second partial declaration in ExtensionTests.Async.cs that is only
compiled when FEATURE_COMPRESSION_ASYNC is defined (net10.0 and higher).
This broke the net10.0 build on main with CS0260.

The analyzer finding is a false positive caused by the conditional
compilation of the companion file.
@vbreuss vbreuss self-assigned this Jul 12, 2026
@vbreuss vbreuss added the bug Something isn't working label Jul 12, 2026
@vbreuss vbreuss merged commit 9b967ee into main Jul 12, 2026
8 of 10 checks passed
@vbreuss vbreuss deleted the fix/restore-partial-extension-tests branch July 12, 2026 09:09
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

This is addressed in release v7.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working state: released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant