Mattias is correct. We only do analysis on the end product (the binary/assembly), so things that are represented only in the source code, such as multiple declarations on a single line, can not be analyzed.
I don't think FxCop can help you here, you need a C# source code anayzer instead. Whether or not you have a single variable declaration per line is not visible in the compiled code FxCop works on.
Rule
samreedha
Mattias is correct. We only do analysis on the end product (the binary/assembly), so things that are represented only in the source code, such as multiple declarations on a single line, can not be analyzed.
Regards
David
RookieDBA
I don't think FxCop can help you here, you need a C# source code anayzer instead. Whether or not you have a single variable declaration per line is not visible in the compiled code FxCop works on.