New rule: MethodsShouldNotCopyClassName

Apr 8, 2011 at 10:05 PM
Edited Apr 8, 2011 at 10:10 PM

Do not use class name in method names:
class Item
{
	void CreateItem()
	{ }

	void GetItem()
	{ }

	int ItemStatus()
	{
		get;
	}
}
Apr 11, 2011 at 1:25 PM

Perhaps this rule should be: Method names should not include the class name.

Coordinator
Apr 12, 2011 at 4:32 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.