Ported 'InvokeAsExtensionMethodIssue'.