0

Is there a way to find the number of methods in the assembly which do not have any xml comment on them.

public int Sum(int i, int j)
{   
    ....
}
gunr2171
  • 16,104
  • 25
  • 61
  • 88
AsitK
  • 651
  • 1
  • 4
  • 14

1 Answers1

0

No

In my point of view, compiler will eliminate the comment code when it compiles the code. If you can use the ildasm.exe tool ship with .net framework to analyze the .exe file (actually it's portable execute file executing after you compile the code) you'll see no information about the comment code.

cat916
  • 1,363
  • 10
  • 18
  • An assembly could be compiled with the option to generate the XML comments in a separate file. Then you could do an intersection of the XML with the assembly. – xanatos Jul 18 '12 at 10:15
  • This if the OP really meant "Assembly" and not "Project". – xanatos Jul 18 '12 at 10:16
  • Yeap, exactly but there is no tag in XML file which can help you to refer comment code. I think MSDN have a link cref attribute to help developers specify the inner text of XML tag http://msdn.microsoft.com/en-us/library/cc837134.aspx – cat916 Jul 18 '12 at 10:21