1 write to Documents
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionState.CompilationTracker.CompilationTrackerState.cs (1)
64Documents = documents;
13 references to Documents
Microsoft.CodeAnalysis.Workspaces (13)
Workspace\Solution\SolutionState.CompilationTracker.CompilationTrackerState.cs (6)
36/// Whether the generated documents in <see cref="Documents"/> are final and should not be regenerated. 83return new(Documents, Driver, documentsAreFinal); 88return DocumentsAreFinalAndFrozen ? this : new(Documents, Driver, documentsAreFinal: true, documentsAreFinalAndFrozen: true); 92=> Driver == driver ? this : new(Documents, driver, DocumentsAreFinal, DocumentsAreFinalAndFrozen); 145foreach (var generatedDocument in generatorInfo.Documents.States.Values) 276if (this.GeneratorInfo.Documents.IsEmpty)
Workspace\Solution\SolutionState.CompilationTracker.cs (7)
288compilationWithoutGeneratedDocuments.AddSyntaxTrees(generatorInfo.Documents.States.Values.Select(state => state.GetSyntaxTree(cancellationToken)))); 325compilationWithoutGeneratedDocuments.AddSyntaxTrees(generatorInfo.Documents.States.Values.Select(state => state.GetSyntaxTree(cancellationToken)))); 788await generatorInfo.Documents.States.Values.SelectAsArrayAsync(state => state.GetSyntaxTreeAsync(cancellationToken)).ConfigureAwait(false)); 869if (generatorInfo.Documents.Count != generatedTreeCount) 887generatorInfo.Documents, 1057return compilationInfo.GeneratorInfo.Documents; 1095return state is FinalState finalState ? finalState.GeneratorInfo.Documents.GetState(documentId) : null;