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
81
public ImmutableList<
TranslationAction
> PendingTranslationActions { get; }
90
ImmutableList<
TranslationAction
> pendingTranslationActions)
115
ImmutableList<
TranslationAction
> pendingTranslationActions)
Workspace\Solution\SolutionCompilationState.cs (9)
146
Func<StateChange,
TranslationAction
?>? translate,
159
Func<StateChange, TArg,
TranslationAction
?> translate,
171
/// Same as <see cref="ForkProject{TArg}(StateChange, Func{StateChange, TArg,
TranslationAction
?}, bool, TArg)"/>
176
TranslationAction
? translate,
410
static (stateChange, assemblyName) => new
TranslationAction
.ProjectAssemblyNameAction(
461
static stateChange => new
TranslationAction
.ReplaceAllSyntaxTreesAction(
492
static stateChange => new
TranslationAction
.ProjectCompilationOptionsAction(stateChange.OldProjectState, stateChange.NewProjectState),
515
static stateChange => new
TranslationAction
.ReplaceAllSyntaxTreesAction(
557
static stateChange => new
TranslationAction
.ReplaceAllSyntaxTreesAction(
Workspace\Solution\SolutionCompilationState.ICompilationTracker.cs (1)
38
ICompilationTracker Fork(ProjectState newProject,
TranslationAction
? translate);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (7)
126
TranslationAction
? translate)
162
ImmutableList<
TranslationAction
> GetPendingTranslationActions(CompilationTrackerState state)
178
var
mergedTranslation = translate.TryMergeWithPrior(priorAction);
320
var translationActionsBuilder = ImmutableList.CreateBuilder<
TranslationAction
>();
323
foreach (var chunk in this.ProjectState.DocumentStates.GetStatesInCompilationOrder().Chunk(
TranslationAction
.AddDocumentsAction.AddDocumentsBatchSize))
327
translationActionsBuilder.Add(new
TranslationAction
.AddDocumentsAction(
404
var
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>
56
public virtual
TranslationAction
? TryMergeWithPrior(
TranslationAction
priorAction)
Workspace\Solution\SolutionCompilationState.TranslationAction_Actions.cs (4)
55
public override
TranslationAction
? TryMergeWithPrior(
TranslationAction
priorAction)
87
public override
TranslationAction
? TryMergeWithPrior(
TranslationAction
priorAction)
Workspace\Solution\SolutionCompilationState.WithFrozenSourceGeneratedDocumentsCompilationTracker.cs (1)
76
public ICompilationTracker Fork(ProjectState newProject,
TranslationAction
? translate)