Skip to content
New issue

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

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

Already on GitHub? # to your account

Redundant 'HideInInspector' attribute is incorrect with auto properties #2341

Closed
johnrossporter opened this issue Jul 31, 2022 · 1 comment
Closed
Assignees
Milestone

Comments

@johnrossporter
Copy link

The following code will mark the HideInInspector attribute as redundant.
[field: SerializeField, HideInInspector] public int TestValue { get; set; }

This is incorrect behavior, as the attribute will do exactly as it describes, and would be shown in the inspector without it.

@johnrossporter johnrossporter closed this as not planned Won't fix, can't repro, duplicate, stale Jul 31, 2022
@johnrossporter
Copy link
Author

Possibly related to RIDER-77782

@johnrossporter johnrossporter changed the title Redundant 'HideInInspector' attribute is incorrect Redundant 'HideInInspector' attribute is incorrect with auto properties Jul 31, 2022
@citizenmatt citizenmatt self-assigned this Feb 3, 2023
@citizenmatt citizenmatt added this to the Rider 2023.1 milestone Feb 3, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants