Parsing method body
I am trying to parse a method body in a custom rule for FXCOP and filter some words.
e.g.
void SomeMethod()
{
statement1;
statement2;
statement3;
}
Themethod.Body.Statements
Is there any other method to get the result?
Thanks
Michael Fanning
VSTS Development: Code Analysis
Michael