29 references to TranslationAction
Microsoft.CodeAnalysis.Workspaces (29)
Workspace\Solution\SolutionCompilationState.CompilationTracker.CompilationTrackerState.cs (4)
71/// them by apply the <see cref="TranslationAction" />; this is not a 81public ImmutableList<TranslationAction> PendingTranslationActions { get; } 90ImmutableList<TranslationAction> pendingTranslationActions) 115ImmutableList<TranslationAction> pendingTranslationActions)
Workspace\Solution\SolutionCompilationState.cs (9)
146Func<StateChange, TranslationAction?>? translate, 159Func<StateChange, TArg, TranslationAction?> translate, 171/// Same as <see cref="ForkProject{TArg}(StateChange, Func{StateChange, TArg, TranslationAction?}, bool, TArg)"/> 176TranslationAction? translate, 410static (stateChange, assemblyName) => new TranslationAction.ProjectAssemblyNameAction( 461static stateChange => new TranslationAction.ReplaceAllSyntaxTreesAction( 492static stateChange => new TranslationAction.ProjectCompilationOptionsAction(stateChange.OldProjectState, stateChange.NewProjectState), 515static stateChange => new TranslationAction.ReplaceAllSyntaxTreesAction( 557static stateChange => new TranslationAction.ReplaceAllSyntaxTreesAction(
Workspace\Solution\SolutionCompilationState.ICompilationTracker.cs (1)
38ICompilationTracker Fork(ProjectState newProject, TranslationAction? translate);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (7)
126TranslationAction? translate) 162ImmutableList<TranslationAction> GetPendingTranslationActions(CompilationTrackerState state) 178var mergedTranslation = translate.TryMergeWithPrior(priorAction); 320var translationActionsBuilder = ImmutableList.CreateBuilder<TranslationAction>(); 323foreach (var chunk in this.ProjectState.DocumentStates.GetStatesInCompilationOrder().Chunk(TranslationAction.AddDocumentsAction.AddDocumentsBatchSize)) 327translationActionsBuilder.Add(new TranslationAction.AddDocumentsAction( 404var translationAction = inProgressState.PendingTranslationActions[0];
Workspace\Solution\SolutionCompilationState.TranslationAction.cs (3)
55/// <returns>A non-null <see cref="TranslationAction" /> if we could create a merged one, null otherwise.</returns> 56public virtual TranslationAction? TryMergeWithPrior(TranslationAction priorAction)
Workspace\Solution\SolutionCompilationState.TranslationAction_Actions.cs (4)
55public override TranslationAction? TryMergeWithPrior(TranslationAction priorAction) 87public override TranslationAction? TryMergeWithPrior(TranslationAction priorAction)
Workspace\Solution\SolutionCompilationState.WithFrozenSourceGeneratedDocumentsCompilationTracker.cs (1)
76public ICompilationTracker Fork(ProjectState newProject, TranslationAction? translate)