1 instantiation of Section
Microsoft.Build (1)
BuildCheck\Infrastructure\EditorConfig\EditorConfigFile.cs (1)
122
var previousSection = new
Section
(activeSectionName, activeSectionProperties.ToImmutable());
11 references to Section
Microsoft.Build (9)
BuildCheck\Infrastructure\EditorConfig\EditorConfigFile.cs (7)
38
internal
Section
GlobalSection { get; }
40
internal ImmutableArray<
Section
> NamedSections { get; }
48
Section
globalSection,
49
ImmutableArray<
Section
> namedSections)
61
Section
? globalSection = null;
62
var namedSectionBuilder = ImmutableArray.CreateBuilder<
Section
>();
122
var
previousSection = new Section(activeSectionName, activeSectionProperties.ToImmutable());
BuildCheck\Infrastructure\EditorConfig\EditorConfigGlobsMatcher.cs (1)
68
/// Takes a <see cref="EditorConfigFile.
Section
.Name"/> and creates a matcher that
BuildCheck\Infrastructure\EditorConfig\EditorConfigParser.cs (1)
84
foreach (
var
section in editorConfigFiles[i].NamedSections)
Microsoft.Build.BuildCheck.UnitTests (2)
EditorConfigParser_Tests.cs (2)
135
var
csSection = result.NamedSections.FirstOrDefault(s => s.Name == "*.cs");
141
var
mdSection = result.NamedSections.FirstOrDefault(s => s.Name == "*.md");