2 instantiations of SolutionChangeAccumulator
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (2)
229
var solutionChanges = new
SolutionChangeAccumulator
(Workspace.CurrentSolution);
280
var solutionChanges = new
SolutionChangeAccumulator
(Workspace.CurrentSolution);
15 references to SolutionChangeAccumulator
Microsoft.CodeAnalysis.Workspaces (15)
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (1)
532
SolutionChangeAccumulator
solutionChanges,
Workspace\ProjectSystem\ProjectSystemProject.cs (2)
62
private readonly List<Action<
SolutionChangeAccumulator
>> _projectPropertyModificationsInBatch = new();
220
private void ChangeProjectProperty<T>(ref T field, T newValue, Action<
SolutionChangeAccumulator
, T> updateSolution, bool logThrowAwayTelemetry = false)
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (12)
208
/// <inheritdoc cref="ApplyBatchChangeToWorkspaceMaybeAsync(bool, Action{
SolutionChangeAccumulator
})"/>
209
public void ApplyBatchChangeToWorkspace(Action<
SolutionChangeAccumulator
> mutation)
214
/// <inheritdoc cref="ApplyBatchChangeToWorkspaceMaybeAsync(bool, Action{
SolutionChangeAccumulator
})"/>
215
public Task ApplyBatchChangeToWorkspaceAsync(Action<
SolutionChangeAccumulator
> mutation)
225
public async Task ApplyBatchChangeToWorkspaceMaybeAsync(bool useAsync, Action<
SolutionChangeAccumulator
> mutation)
229
var
solutionChanges = new SolutionChangeAccumulator(Workspace.CurrentSolution);
236
private void ApplyBatchChangeToWorkspace_NoLock(
SolutionChangeAccumulator
solutionChanges)
280
var
solutionChanges = new SolutionChangeAccumulator(Workspace.CurrentSolution);
353
public void AddProjectOutputPath_NoLock(
SolutionChangeAccumulator
solutionChanges, ProjectId projectId, string outputPath)
399
private void ConvertMetadataReferencesToProjectReferences_NoLock(
SolutionChangeAccumulator
solutionChanges, ProjectId projectIdToReference, string outputPath)
483
private void ConvertProjectReferencesToMetadataReferences_NoLock(
SolutionChangeAccumulator
solutionChanges, ProjectId projectId, string outputPath)
575
public void RemoveProjectOutputPath_NoLock(
SolutionChangeAccumulator
solutionChanges, ProjectId projectId, string outputPath)