The most common mistakes when extracting a method are:
You can use the Edit > Expand Selection To actions to expand an selection to a valid expression or set of statements.
On the problems pages, you can press F1 to link to a detailed description of errors.