hi
now im developing a rule using fxcop. i made 5 rules in one perticular .dll package.
My prooblem is whn i checked the rule the warning number line not apear corectly.. which is not work whn i used ProblemCollection check (TypeNode type) method. other methods ProblemCollection check (Member member) thats perfectly working.
is there any problem in my coding?
and another big problem is if i chk my rule package it also mak one crazy error. which is
:
Error 15 CA0001 : Rule=Microsoft.Usage#CA2241, Target=VirtusaCodeAnalysisRules.PropertNamingConvention.Check(Microsoft.Cci.TypeNode):Microsoft.FxCop.Sdk.Introspection.ProblemCollection : StartIndex cannot be less than zero.Parameter name: startIndex VirtusaCodeAnalysisRules
any one can explain why is this error cam or is that wrong to check .dll rule class.?
my Coding :
{
nodeOfTypeList.Add(type.Members[j]);
}
Regards...