1 write to NamedSections
Microsoft.CodeAnalysis (1)
CommandLine\AnalyzerConfigSet.cs (1)
651NamedSections = namedSections;
11 references to NamedSections
Microsoft.CodeAnalysis (2)
CommandLine\AnalyzerConfigSet.cs (2)
192foreach (var section in _globalConfig.NamedSections) 250foreach (var configSection in _globalConfig.NamedSections)
Microsoft.CodeAnalysis.UnitTests (9)
Analyzers\AnalyzerConfigTests.cs (9)
1645Assert.Empty(globalConfig.NamedSections); 1723var file1Section = globalConfig.NamedSections[0]; 1724var file2Section = globalConfig.NamedSections[1]; 1725var file3Section = globalConfig.NamedSections[2]; 1945Assert.Equal(2, globalConfig.NamedSections.Length); 2455Assert.Single(globalConfig.NamedSections); 2456Assert.Equal("/path", globalConfig.NamedSections[0].Name); 2457Assert.Single(globalConfig.NamedSections[0].Properties.Keys, "option1"); 2458Assert.Single(globalConfig.NamedSections[0].Properties.Values, "value2");