Allow CodeFixes to edit closed AdditionalDocuments under global undo transactions
Fixes #3967 Update RoslynVisualStudioWorkspace.OpenInvisibleEditor to remove the assumption that Solution.GetDocument(DocumentId) will always work for a given IVisualStudioHostDocument's ID. GetDocument returns null on all AdditionalDocuments, causing the eventual reported NullReferenceException.
Showing
想要评论请 注册 或 登录