Refactoring from Thread-Threadpool to Task

I'm building a refactoring tool that automatically converts Thread-ThreadPool work items to corresponding Task work items. I applied my tool and then manually checked whether these changes are OK.