1 write to Name
Microsoft.Build (1)
BuildCheck\Infrastructure\EditorConfig\EditorConfigFile.cs (1)
168Name = name;
11 references to Name
Microsoft.Build (2)
BuildCheck\Infrastructure\EditorConfig\EditorConfigGlobsMatcher.cs (1)
71/// Takes a <see cref="EditorConfigFile.Section.Name"/> and creates a matcher that
BuildCheck\Infrastructure\EditorConfig\EditorConfigParser.cs (1)
86SectionNameMatcher? sectionNameMatcher = TryCreateSectionNameMatcher(section.Name);
Microsoft.Build.BuildCheck.UnitTests (9)
EditorConfig_Tests.cs (5)
779Assert.Equal("", config.GlobalSection.Name); 788Assert.Equal("*.cs", namedSections[0].Name); 814Assert.Equal("c:/\\{f\\*i\\?le1\\}.cs", namedSections[0].Name); 819Assert.Equal("c:/f\\,ile\\#2.cs", namedSections[1].Name); 824Assert.Equal("c:/f\\;i\\!le\\[3\\].cs", namedSections[2].Name);
EditorConfigParser_Tests.cs (4)
88listOfEditorConfigFile[0].NamedSections[0].Name.ShouldBe("*.csproj"); 117listOfEditorConfigFile[0].NamedSections[0].Name.ShouldBe("*.csproj"); 135var csSection = result.NamedSections.FirstOrDefault(s => s.Name == "*.cs"); 141var mdSection = result.NamedSections.FirstOrDefault(s => s.Name == "*.md");