applying CodeFix then save to disk

Topics: C# Language Design
Dec 29, 2015 at 1:04 AM
Hello,
I have a question.
Based on the info on this page ("https://msdn.microsoft.com/en-us/magazine/dn904670.aspx") 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 8:50 AM
These discussions have moved to https://stackoverflow.com/