Skip to content

Conversation

@webwarrior-ws
Copy link
Contributor

Don't apply rule to types with [<Struct>] annotation, because such types cannot have auto-properties.

Also added a test for such case.

Fixes #755

Added test for type with `[<Struct>]` annotation. Such types
cannot have auto-properties, so the rule should not apply.
Don't apply rule to types with `[<Struct>]` annotation, because
such types cannot have auto-properties.

Fixes fsprojects#755
@knocte knocte merged commit 0be8228 into fsprojects:master Aug 7, 2025
6 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.

SuggestUseAutoProperty incorrectly suggests using auto-property on types with Struct attribute.

2 participants