public void SetLocation(string newLocation) { lock (lockObj) { if (!disposed) { if (projectContent.Location == newLocation) { return; } projectContent = projectContent.SetLocation(newLocation); SD.ParserService.InvalidateCurrentSolutionSnapshot(); } } }