protected void RemoveDocument(HostProject hostProject, string filePath) { if (_currentDocuments.TryGetValue(filePath, out var hostDocument)) { _projectSnapshotManager.DocumentRemoved(hostProject, hostDocument); _currentDocuments.Remove(filePath); } }