I have a base class like this:
public class BaseModalCommand
{
protected object m_commandArgument;
protected int m_commandID;
protected int m_
Basically, FxCop recommends that you should do
private object m_commandArgument;
protected object CommandArgument
{
get { return m_commandArgument; }
set { m_commandArgument =value}
}
This is based on OO encapsulation rule- (One of three OO rules). You may want to check the value before assigning, and you want to ensure this is not directly manipulated by the derived class.