JetBrains / JetBrains/resharper-unity

"To property with serialized backing field" context action should only be allowed on serialisable types

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

Description

The context action to convert an auto property to a property with a serialised backing field should only be available on properties with types that can be serialised. E.g. should not be available on `Dictionary`

Contributor guide

Open the contributing guide

Research direction

Locate the context action that converts an auto property to a property with a serialized backing field, then inspect how the property's type is checked. Verify the action is unavailable for non-serializable types such as Dictionary while remaining available for serializable types.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.