Ported 'ConvertToStaticIssue' and 'InvokeAsExtensionMethodIssue'.