1 write to Name
Microsoft.Build (1)
BuildCheck\Infrastructure\EditorConfig\EditorConfigFile.cs (1)
163
Name
= name;
11 references to Name
Microsoft.Build (2)
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)
81
SectionNameMatcher? sectionNameMatcher = TryCreateSectionNameMatcher(section.
Name
);
Microsoft.Build.BuildCheck.UnitTests (9)
EditorConfig_Tests.cs (5)
779
Assert.Equal("", config.GlobalSection.
Name
);
788
Assert.Equal("*.cs", namedSections[0].
Name
);
814
Assert.Equal("c:/\\{f\\*i\\?le1\\}.cs", namedSections[0].
Name
);
819
Assert.Equal("c:/f\\,ile\\#2.cs", namedSections[1].
Name
);
824
Assert.Equal("c:/f\\;i\\!le\\[3\\].cs", namedSections[2].
Name
);
EditorConfigParser_Tests.cs (4)
88
listOfEditorConfigFile[0].NamedSections[0].
Name
.ShouldBe("*.csproj");
117
listOfEditorConfigFile[0].NamedSections[0].
Name
.ShouldBe("*.csproj");
135
var csSection = result.NamedSections.FirstOrDefault(s => s.
Name
== "*.cs");
141
var mdSection = result.NamedSections.FirstOrDefault(s => s.
Name
== "*.md");