4 references to GetTextDocument
Microsoft.CodeAnalysis.Workspaces (4)
Diagnostics\DiagnosticAnalysisResult.cs (1)
331var textDocument = project.GetTextDocument(documentId) ?? project.TryGetSourceGeneratedDocumentForAlreadyGeneratedId(documentId);
Diagnostics\DiagnosticData.cs (1)
271builder.AddIfNotNull(CreateLocation(document.Project.GetTextDocument(textDocumentId), location));
Diagnostics\Extensions.cs (1)
44var textDocument = project.GetTextDocument(dataLocation.DocumentId)
Shared\Extensions\ProjectExtensions.cs (1)
47=> project.GetTextDocument(documentId) ?? throw new InvalidOperationException(WorkspaceExtensionsResources.The_solution_does_not_contain_the_specified_document);