SourceGeneratorContext.AdditionalFiles 属性

定义

一组可由生成器使用的其他非代码文本文件。

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

属性值

适用于