Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore obsolete usages in the enum extensions #111

Merged
merged 1 commit into from
Oct 20, 2024
Merged

Ignore obsolete usages in the enum extensions #111

merged 1 commit into from
Oct 20, 2024

Conversation

andrewlock
Copy link
Owner

Ignore CS0618 and CS0612

By necessity, the extension methods reference all the members of an enum, so we end up triggering obsolete warnings. In general, these warnings won't be useful, so explicitly ignore them

Fixes #97

Copy link

github-actions bot commented Oct 20, 2024

Test Results

    254 files  ±  0      254 suites  ±0   12m 40s ⏱️ + 2m 13s
  4 005 tests + 10    3 993 ✅ + 10   12 💤 ±0  0 ❌ ±0 
114 360 runs  +130  114 132 ✅ +130  228 💤 ±0  0 ❌ ±0 

Results for commit c35215f. ± Comparison against base commit dd27676.

♻️ This comment has been updated with latest results.

@andrewlock andrewlock merged commit 95dd7ee into main Oct 20, 2024
5 checks passed
@andrewlock andrewlock deleted the issue-97 branch October 20, 2024 19:43
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.

CS0618 - Enum members with obsolete attribute generates warnings
1 participant