applying CodeFix then save to disk

Topics: C# Language Design
Dec 29, 2015 at 12:04 AM
I have a question.
Based on the info on this page ("") I created a code fix and I don't want to apply the code fix inside VS API, but I want to apply code fix then save to disk automatically in the code.
The problem is that there is no possiblity to create an instance of FileStream class in RegisterCodeFixesAsync(CodeFixContext context) method to save the changes back to the disk.
I'd be glad if you can help me.
Dec 29, 2015 at 7:50 AM
These discussions have moved to