70 references to ProjectUpdateState
Microsoft.CodeAnalysis.Workspaces (70)
Workspace\ProjectSystem\ProjectSystemProject.cs (11)
76private readonly List<Func<SolutionChangeAccumulator, ProjectUpdateState, ProjectUpdateState>> _projectPropertyModificationsInBatch = []; 248Func<SolutionChangeAccumulator, ProjectUpdateState, T, ProjectUpdateState> updateSolution, 662static ProjectUpdateState UpdateMetadataReferences( 665ProjectUpdateState projectUpdateState, 745static ProjectUpdateState UpdateAnalyzerReferences( 748ProjectUpdateState projectUpdateState, 765public static (Solution newSolution, ProjectUpdateState newProjectUpdateState) UpdateProjectAnalyzerReferences( 768ProjectUpdateState projectUpdateState, 808var newProjectUpdateState = projectUpdateState
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (48)
40private ProjectUpdateState _projectUpdateState = ProjectUpdateState.Empty; 254public void ApplyChangeToWorkspaceWithProjectUpdateState(Func<Workspace, ProjectUpdateState, ProjectUpdateState> action) 258var projectUpdateState = action(Workspace, _projectUpdateState); 277/// <inheritdoc cref="ApplyBatchChangeToWorkspaceAsync(Func{SolutionChangeAccumulator, ProjectUpdateState, ProjectUpdateState}, Action{ProjectUpdateState}?)"/> 278public void ApplyBatchChangeToWorkspace(Func<SolutionChangeAccumulator, ProjectUpdateState, ProjectUpdateState> mutation, Action<ProjectUpdateState>? onAfterUpdateAlways) 283/// <inheritdoc cref="ApplyBatchChangeToWorkspaceAsync(Func{SolutionChangeAccumulator, ProjectUpdateState, ProjectUpdateState}, Action{ProjectUpdateState}?)"/> 284public Task ApplyBatchChangeToWorkspaceAsync(Func<SolutionChangeAccumulator, ProjectUpdateState, ProjectUpdateState> mutation, Action<ProjectUpdateState>? onAfterUpdateAlways) 289/// <inheritdoc cref="ApplyBatchChangeToWorkspaceAsync(Func{SolutionChangeAccumulator, ProjectUpdateState, ProjectUpdateState}, Action{ProjectUpdateState}?)"/> 290public async Task ApplyBatchChangeToWorkspaceMaybeAsync(bool useAsync, Func<SolutionChangeAccumulator, ProjectUpdateState, ProjectUpdateState> mutation, Action<ProjectUpdateState>? onAfterUpdateAlways) 306public async Task ApplyBatchChangeToWorkspaceMaybe_NoLockAsync(bool useAsync, Func<SolutionChangeAccumulator, ProjectUpdateState, ProjectUpdateState> mutation, Action<ProjectUpdateState>? onAfterUpdateAlways) 316ProjectUpdateState projectUpdateState = null!; 353Func<SolutionChangeAccumulator, ProjectUpdateState, ProjectUpdateState> mutation, Action<ProjectUpdateState>? onAfterUpdateAlways) 360private static ProjectUpdateState GetReferenceInformation(ProjectId projectId, ProjectUpdateState projectUpdateState, out ProjectReferenceInformation projectReference) 420internal void ApplyProjectUpdateState(ProjectUpdateState projectUpdateState) 490public static ProjectUpdateState AddProjectOutputPath_NoLock( 494ProjectUpdateState projectUpdateState, 546private static ProjectUpdateState ConvertMetadataReferencesToProjectReferences_NoLock( 550ProjectUpdateState projectUpdateState) 638private static ProjectUpdateState ConvertProjectReferencesToMetadataReferences_NoLock( 642ProjectUpdateState projectUpdateState, 692public static ProjectUpdateState TryCreateConvertedProjectReference_NoLock( 696ProjectUpdateState projectUpdateState, 731public static ProjectUpdateState TryRemoveConvertedProjectReference_NoLock( 735ProjectUpdateState projectUpdateState, 758public static ProjectUpdateState RemoveProjectOutputPath_NoLock( 762ProjectUpdateState projectUpdateState, 830var newProjectUpdateState = projectUpdateState 867Func<Solution, ProjectId, ProjectUpdateState, TReference, TReference, (Solution newSolution, ProjectUpdateState newProjectUpdateState)> update,
Workspace\ProjectSystem\ProjectSystemProjectFactory.ProjectUpdateState.cs (11)
60public static ProjectUpdateState Empty = new( 64public ProjectUpdateState WithProjectReferenceInfo(ProjectId projectId, ProjectReferenceInformation projectReferenceInformation) 72public ProjectUpdateState WithProjectOutputPath(string projectOutputPath, ProjectId projectId) 92public ProjectUpdateState RemoveProjectOutputPath(string projectOutputPath, ProjectId projectId) 118public ProjectUpdateState WithIncrementalMetadataReferenceRemoved(PortableExecutableReference reference) 121public ProjectUpdateState WithIncrementalMetadataReferenceAdded(PortableExecutableReference reference) 124public ProjectUpdateState WithIncrementalAnalyzerReferenceRemoved(string reference) 127public ProjectUpdateState WithIncrementalAnalyzerReferencesRemoved(List<string> references) 130public ProjectUpdateState WithIncrementalAnalyzerReferenceAdded(string reference) 133public ProjectUpdateState WithIncrementalAnalyzerReferencesAdded(List<string> references) 139public ProjectUpdateState ClearIncrementalState()