1 write to _replacedGeneratedDocumentState
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionState.GeneratedFileReplacingCompilationTracker.cs (1)
42
_replacedGeneratedDocumentState
= replacementDocumentState;
9 references to _replacedGeneratedDocumentState
Microsoft.CodeAnalysis.Workspaces (9)
Workspace\Solution\SolutionState.GeneratedFileReplacingCompilationTracker.cs (9)
86
underlyingSourceGeneratedDocuments.TryGetState(
_replacedGeneratedDocumentState
.Id, out var existingState);
90
var newSyntaxTree = await
_replacedGeneratedDocumentState
.GetSyntaxTreeAsync(cancellationToken).ConfigureAwait(false);
134
await
_replacedGeneratedDocumentState
.GetChecksumAsync(cancellationToken).ConfigureAwait(false));
152
if (underlyingGeneratedDocumentStates.Contains(
_replacedGeneratedDocumentState
.Id))
156
return underlyingGeneratedDocumentStates.SetState(
_replacedGeneratedDocumentState
.Id,
_replacedGeneratedDocumentState
);
164
return underlyingGeneratedDocumentStates.AddRange(ImmutableArray.Create(
_replacedGeneratedDocumentState
));
181
if (documentId ==
_replacedGeneratedDocumentState
.Id)
183
return
_replacedGeneratedDocumentState
;