Open lsoft opened 9 months ago
We need to remove this list filtering:
//RoslynDocumentHelper.GetDocumentByDocumentIdAsync document = (await project.GetSourceGeneratedDocumentsAsync(CancellationToken.None)) .First(d => d.Id.Equals(documentId));
and just use project.GetSourceGeneratedDocumentAsync.
project.GetSourceGeneratedDocumentAsync
Tracking issue: https://github.com/dotnet/roslyn/issues/71581
We need to remove this list filtering:
and just use
project.GetSourceGeneratedDocumentAsync
.Tracking issue: https://github.com/dotnet/roslyn/issues/71581