AnalyzerConfig.Section Class

Definition

Represents a named section of the editorconfig file, which consists of a name followed by a set of key-value pairs.

public sealed class AnalyzerConfig.Section
type AnalyzerConfig.Section = class
Public NotInheritable Class AnalyzerConfig.Section
Inheritance
AnalyzerConfig.Section

Constructors

AnalyzerConfig.Section(String, ImmutableDictionary<String,String>)

Properties

Name

The name as present directly in the section specification of the editorconfig file.

NameComparer

Used to compare Names of sections. Specified by editorconfig to be a case-sensitive comparison.

Properties

Keys and values for this section. All keys are lower-cased according to the EditorConfig specification and keys are compared case-insensitively. Values are lower-cased if the value appears in ReservedValues or if the corresponding key is in ReservedKeys. Otherwise, the values are the literal values present in the source.

PropertiesKeyComparer

Used to compare keys in Properties. The editorconfig spec defines property keys as being compared case-insensitively according to Unicode lower-case rules.

Applies to