JetBrains / JetBrains/resharper-unity

Highlight [field: SerializeField] on a read only property

Open
#2,302 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.2k
Forks
142
PR merge metrics
No merged PRs in 30d

Description

Using `[field: SerializeField]` on a property without a setter is redundant - the field is not serialised because it is generated as `readonly`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.