Finding uncommented methods in a C# project
-
21-06-2021 - |
質問
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)
{
....
}
解決
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.
所属していません StackOverflow