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