AnalyzerOptions.WithAdditionalFiles Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>