Provide a way for code actions to supress diagnostics in their previews.
This is useful for code actions that will make changes that can't be represented in the Roslyn snapshot model. Because of this, the preview may end up showing errors that teh code fix doesn't want to be shown (because after the code fix actually applies, no error will occur).
Showing
想要评论请 注册 或 登录