Skip to content
This repository was archived by the owner on Nov 10, 2026. It is now read-only.

refactor: suppress CS0618 for obsolete fixture members with messages - #314

Merged
vbreuss merged 1 commit into
mainfrom
fix/suppress-cs0618-obsolete-tests
Jun 4, 2026
Merged

vbreuss merged 1 commit into
mainfrom
fix/suppress-cs0618-obsolete-tests

Conversation

@vbreuss

@vbreuss vbreuss commented Jun 4, 2026

Copy link
Copy Markdown
Member

Adding messages to the ObsoleteAttribute on the test fixtures changed the diagnostic from CS0612 to CS0618 at the reference sites. The existing pragmas only suppressed CS0612, so the new CS0618 warnings surfaced as Sonar code smells. Extend each pragma to cover both ids.

Adding messages to the ObsoleteAttribute on the test fixtures changed
the diagnostic from CS0612 to CS0618 at the reference sites. The
existing pragmas only suppressed CS0612, so the new CS0618 warnings
surfaced as Sonar code smells. Extend each pragma to cover both ids.
@vbreuss vbreuss self-assigned this Jun 4, 2026
@vbreuss
vbreuss enabled auto-merge (squash) June 4, 2026 14:15
@sonarqubecloud

sonarqubecloud Bot commented Jun 4, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

Test Results

    13 files  ±0      13 suites  ±0   9m 12s ⏱️ -39s
 6 085 tests ±0   6 082 ✅ ±0   3 💤 ±0  0 ❌ ±0 
36 355 runs  ±0  36 342 ✅ ±0  13 💤 ±0  0 ❌ ±0 

Results for commit a2b84da. ± Comparison against base commit b45d1fd.

@vbreuss
vbreuss merged commit 375eb6b into main Jun 4, 2026
11 checks passed
@vbreuss
vbreuss deleted the fix/suppress-cs0618-obsolete-tests branch June 4, 2026 14:20
@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

🚀 Benchmark Results

Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 2.69GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.300
[Host] : .NET 10.0.8 (10.0.8, 10.0.826.23019), X64 RyuJIT x86-64-v3
DefaultJob : .NET 10.0.8 (10.0.8, 10.0.826.23019), X64 RyuJIT x86-64-v3

Method Mean Error StdDev Gen0 Allocated
TypeIsNotStatic_aweXpect 214.3 ns 0.98 ns 0.87 ns 0.0386 648 B

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

👽 Mutation Results

Mutation testing badge

aweXpect.Reflection

Details
File Score Killed Survived Timeout No Coverage Ignored Compile Errors Total Detected Total Undetected Total Mutants

The final mutation score is NaN%

Coverage Thresholds: high:80 low:60 break:0

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

This is addressed in release v2.0.0.

@github-actions github-actions Bot added the state: released The issue is released label Jun 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

state: released The issue is released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant