Hi All Can any 1 help me. I want to write a rule to check the number of elseif conditions in a if statement. Can any one write to me if it possible to write this type of rule and if it is possible then how to go ahead with this.
FxCop can (currently) only scan compiled assemblies (DLLs and EXEs). All source-level branching commands (if, elseif, etc) turn into general-purpose CIL commands (brfalse, blt, etc)... the same CIL instructions can be generated a variety of ways, so you can never really be sure what was originally there.
-Ryan / Kardax
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.