navigation

SuggestUseAutoProperty (FL0079)

Introduced in 0.21.7

Cause

Suggest usage of auto-property (member val Foo) when member self.Foo is unnecessary.

Rationale

Cleaner code.

How To Fix

Use auto-property (member val) for properties that only return immutable value.

Rule Settings

{
    "suggestUseAutoProperty": { "enabled": false }
}