The Remove Unused Private Member quick fix is available once Telerik® JustCode™ has detected a private member that is not used. Telerik® JustCode™ underlines the member and suggests you remove it.
Note |
---|
Language Support Supported: C# Not Supported: VB.NET Not relevant: ASP.NET, JavaScript, XAML, HTML |
To remove unused private member
- Position the caret over the underlined member.
Press Alt+Enter. From the pop-up menu, select Remove 'a'
To remove only assigned to private member
- Position the caret over the underlined member.
Press Alt+Enter. From the pop-up menu, select Remove 'a' and All Assignments
To remove only assigned to private member and keep side-effects
- Position the caret over the underlined member.
Press Alt+Enter. From the pop-up menu, select Remove 'a' and Keep Side-Effect Assignmets
See Also