共用方式為


AnalyzerOptions.WithAdditionalFiles Method

Definition

Returns analyzer options with the given additionalFiles.

public:
 Microsoft::CodeAnalysis::Diagnostics::AnalyzerOptions ^ WithAdditionalFiles(System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::AdditionalText ^> additionalFiles);
public Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions WithAdditionalFiles (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> additionalFiles);
member this.WithAdditionalFiles : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> -> Microsoft.CodeAnalysis.Diagnostics.AnalyzerOptions
Public Function WithAdditionalFiles (additionalFiles As ImmutableArray(Of AdditionalText)) As AnalyzerOptions

Parameters

additionalFiles
ImmutableArray<AdditionalText>

Returns

Applies to