Home > Code Analysis > Code Issues – Unused setter

Code Issues – Unused setter

January 23rd, 2011


This code issue shows a dead code when there are unreferenced private property setters. Unused property setters of private properties can be safely removed, which will improve code readability.


CodeRush Unused Setter Sample

How to fix:

  • Apply the Remove Setter┬ácode fix:

CodeRush Remove Setter Fix

Products: CodeRush Pro
Versions: 12.1 and up
VS IDEs: any
Updated: Nov/12/2012
ID: C054

Similar Posts: