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)
86underlyingSourceGeneratedDocuments.TryGetState(_replacedGeneratedDocumentState.Id, out var existingState); 90var newSyntaxTree = await _replacedGeneratedDocumentState.GetSyntaxTreeAsync(cancellationToken).ConfigureAwait(false); 134await _replacedGeneratedDocumentState.GetChecksumAsync(cancellationToken).ConfigureAwait(false)); 152if (underlyingGeneratedDocumentStates.Contains(_replacedGeneratedDocumentState.Id)) 156return underlyingGeneratedDocumentStates.SetState(_replacedGeneratedDocumentState.Id, _replacedGeneratedDocumentState); 164return underlyingGeneratedDocumentStates.AddRange(ImmutableArray.Create(_replacedGeneratedDocumentState)); 181if (documentId == _replacedGeneratedDocumentState.Id) 183return _replacedGeneratedDocumentState;