Project.GetSourceGeneratedDocumentsAsync(CancellationToken) Method

Definition

Gets all source generated documents in this project.

public System.Threading.Tasks.ValueTask<System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SourceGeneratedDocument>> GetSourceGeneratedDocumentsAsync (System.Threading.CancellationToken cancellationToken = default);
member this.GetSourceGeneratedDocumentsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<seq<Microsoft.CodeAnalysis.SourceGeneratedDocument>>
Public Function GetSourceGeneratedDocumentsAsync (Optional cancellationToken As CancellationToken = Nothing) As ValueTask(Of IEnumerable(Of SourceGeneratedDocument))

Parameters

cancellationToken
CancellationToken

Returns

Applies to