/// <summary> /// Create a new solution instance without the project specified. /// </summary> public Solution RemoveProject(ProjectId projectId) { var newState = _state.RemoveProject(projectId); if (newState == _state) { return(this); } return(new Solution(newState)); }