AnalyzerConfigSet Class

Definition

Represents a set of AnalyzerConfig, and can compute the effective analyzer options for a given source file. This is used to collect all the AnalyzerConfig files for that would apply to a compilation.

public sealed class AnalyzerConfigSet
type AnalyzerConfigSet = class
Public NotInheritable Class AnalyzerConfigSet
Inheritance
AnalyzerConfigSet

Properties

GlobalConfigOptions

Gets an AnalyzerConfigOptionsResult that contain the options that apply globally

Methods

Create<TList>(TList, ImmutableArray<Diagnostic>)
Create<TList>(TList)
GetOptionsForSourcePath(String)

Returns a AnalyzerConfigOptionsResult for a source file. This computes which AnalyzerConfig rules applies to this file, and correctly applies precedence rules if there are multiple rules for the same file.

Applies to