Skip to content

fix: clarify AC0019 message format (#168)#169

Merged
Arthurvdv merged 1 commit intorelease/v0.6.1from
ZeroEnumValueReservedForEmpty
Mar 30, 2026
Merged

fix: clarify AC0019 message format (#168)#169
Arthurvdv merged 1 commit intorelease/v0.6.1from
ZeroEnumValueReservedForEmpty

Conversation

@Arthurvdv
Copy link
Copy Markdown
Member

Change message from 'Enum "{0}" with value 0 must have an empty Name and Caption.' to 'Enum value "{0}" with ordinal 0 should have an empty Name and Caption.'

  • Enum → Enum value (clarifies it refers to the enum member, not type)
  • value 0 → ordinal 0 (avoids overloading 'value')
  • must → should (matches Info severity)

Closes #168

Change message from 'Enum "{0}" with value 0 must have an empty Name
and Caption.' to 'Enum value "{0}" with ordinal 0 should have an empty
Name and Caption.'

- Enum → Enum value (clarifies it refers to the enum member, not type)
- value 0 → ordinal 0 (avoids overloading 'value')
- must → should (matches Info severity)

Closes #168

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Arthurvdv Arthurvdv merged commit 2d7e70b into release/v0.6.1 Mar 30, 2026
53 checks passed
@Arthurvdv Arthurvdv deleted the ZeroEnumValueReservedForEmpty branch March 30, 2026 16:48
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