Ported 'ConvertToStaticTypeIssue'.
Ported 'InvokeAsExtensionMethodIssue'.
Fixed coding style.
Merge pull request #408 from TheCommieDuck/convert-to-static

Ported 'ConvertToStaticIssue' and 'InvokeAsExtensionMethodIssue'.