resharper-unity icon indicating copy to clipboard operation
resharper-unity copied to clipboard

Redundant 'HideInInspector' attribute is incorrect with auto properties

Open johnrossporter opened this issue 2 years ago • 1 comments

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 avatar Jul 31 '22 23:07 johnrossporter

Possibly related to RIDER-77782

johnrossporter avatar Jul 31 '22 23:07 johnrossporter