Fixed 'Bug 11948 - Extract method incorrectly extracts code that contains yield return'