1 instantiation of Section
Microsoft.Build (1)
BuildCheck\Infrastructure\EditorConfig\EditorConfigFile.cs (1)
129
var previousSection = new
Section
(activeSectionName, activeSectionProperties.ToImmutable());
11 references to Section
Microsoft.Build (9)
BuildCheck\Infrastructure\EditorConfig\EditorConfigFile.cs (7)
45
internal
Section
GlobalSection { get; }
47
internal ImmutableArray<
Section
> NamedSections { get; }
55
Section
globalSection,
56
ImmutableArray<
Section
> namedSections)
68
Section
? globalSection = null;
69
var namedSectionBuilder = ImmutableArray.CreateBuilder<
Section
>();
129
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)
79
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");