After Adding Items to the CodeReview Nameset, they are still flagged as unknown

0 Likes

Problem:

After Adding Items to the CodeReview Nameset, they are still flagged as unknown. For example, variable type is MainMenu and I want all variables of this type to be prefixed with mm.  I have the following varialbe name, m_mmMain, but CodeReview will still flag this as unknown?

Resolution:

This occurs because the variable/object type is not labeled correctly. In the above example, the variable type is actually System.Windows.Forms.MainMenu not MainMenu. If you add this to the naming set CodeReview will offer suggestions if the variable was not properly prefixed with mm.

CodeReview needs the full qualifying path to be able to determine which naming set MainMenu is defined in. In theory MainMenu could also exist in System.Window.WebForms.MainMenu and could be prefixed with wmm.

Old KB# 12360
Comment List
Anonymous
Related Discussions
Recommended