提交 f3a71f06 编写于 作者: J Jason Malinowski
上级 a27f86e3
......@@ -599,6 +599,8 @@ public TextDocument AddAnalyzerConfigDocument(string name, SourceText text, IEnu
/// </summary>
public Project RemoveDocument(DocumentId documentId)
{
// NOTE: the method isn't checking if documentId belongs to the project. This probably should be done, but may be a compat change.
// https://github.com/dotnet/roslyn/issues/41211 tracks this investigation.
return this.Solution.RemoveDocument(documentId).GetProject(this.Id)!;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册