Home > Code Analysis > Code Issues – Abstract member cannot be private

Code Issues – Abstract member cannot be private

January 21st, 2011

This code issue shows an error when an abstract member with the private visibility keyword is found. Abstract members are incomplete, and must be implemented in a derived class. That’s why abstract members can not be private – they must be visible in a derived class.

CodeRush Code Issues - Abstract member cannot be private

—–
Products: CodeRush Pro
Versions: 10.2 and up
VS IDEs: any
Updated: Feb/12/2011
ID: C049

Similar Posts: