共用方式為


GeneratorRunResult.GeneratedSources 屬性

定義

產生期間所 Generator 新增的來源會代表此結果。

public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.GeneratedSourceResult> GeneratedSources { get; }
member this.GeneratedSources : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.GeneratedSourceResult>
Public ReadOnly Property GeneratedSources As ImmutableArray(Of GeneratedSourceResult)

屬性值

適用於