resharper-unity
resharper-unity copied to clipboard
Redundant 'HideInInspector' attribute is incorrect with auto properties
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.
Possibly related to RIDER-77782