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