diff --git a/src/Workspaces/Core/Portable/Workspace/Solution/TextDocumentStates.cs b/src/Workspaces/Core/Portable/Workspace/Solution/TextDocumentStates.cs index 324fd4c211c5a..4dea1bb700f59 100644 --- a/src/Workspaces/Core/Portable/Workspace/Solution/TextDocumentStates.cs +++ b/src/Workspaces/Core/Portable/Workspace/Solution/TextDocumentStates.cs @@ -147,7 +147,6 @@ public async ValueTask> SelectAsArrayAsync( } public TextDocumentStates AddRange(ImmutableArray states) - // TODO: we could more efficiently generate the new filePathToDocumentIds here. => new(_ids.AddRange(states.Select(state => state.Id)), _map.AddRange(states.Select(state => KeyValuePairUtil.Create(state.Id, state))), filePathToDocumentIds: null); @@ -170,8 +169,6 @@ public TextDocumentStates RemoveRange(ImmutableArray ids) } IEnumerable enumerableIds = ids; - - // TODO: we could more efficiently generate the new filePathToDocumentIds here. return new(_ids.RemoveRange(enumerableIds), _map.RemoveRange(enumerableIds), filePathToDocumentIds: null); }