1 write to Properties
Microsoft.Build (1)
BuildCheck\Infrastructure\EditorConfig\EditorConfigFile.cs (1)
169Properties = properties;
26 references to Properties
Microsoft.Build (2)
BuildCheck\Infrastructure\EditorConfig\EditorConfigFile.cs (1)
57internal bool IsRoot => GlobalSection.Properties.TryGetValue("root", out string? val) && val?.ToLower() == "true";
BuildCheck\Infrastructure\EditorConfig\EditorConfigParser.cs (1)
91foreach (var property in section.Properties)
Microsoft.Build.BuildCheck.UnitTests (24)
EditorConfig_Tests.cs (18)
780var properties = config.GlobalSection.Properties; 791namedSections[0].Properties); 817namedSections[0].Properties); 822namedSections[1].Properties); 827namedSections[2].Properties); 859var properties = config.GlobalSection.Properties; 875var properties = config.GlobalSection.Properties; 886var properties = config.GlobalSection.Properties; 912var properties = config.GlobalSection.Properties; 924var properties = config.GlobalSection.Properties; 936var properties = config.GlobalSection.Properties; 951var properties = config.GlobalSection.Properties; 966var properties = config.GlobalSection.Properties; 979var properties = config.GlobalSection.Properties; 992var properties = config.GlobalSection.Properties; 1004var properties = config.GlobalSection.Properties; 1018var properties = config.GlobalSection.Properties; 1035var properties = config.GlobalSection.Properties;
EditorConfigParser_Tests.cs (6)
89listOfEditorConfigFile[0].NamedSections[0].Properties["test_key"].ShouldBe("test_value_updated"); 137csSection.Properties.Count.ShouldBe(2); 138csSection.Properties["indent_style"].ShouldBe("space"); 139csSection.Properties["indent_size"].ShouldBe("4"); 143mdSection.Properties.Count.ShouldBe(1); 144mdSection.Properties["trim_trailing_whitespace"].ShouldBe("true");