1 write to NamedSections
Microsoft.CodeAnalysis (1)
CommandLine\AnalyzerConfigSet.cs (1)
662NamedSections = namedSections;
11 references to NamedSections
Microsoft.CodeAnalysis (2)
CommandLine\AnalyzerConfigSet.cs (2)
203foreach (var section in _globalConfig.NamedSections) 261foreach (var configSection in _globalConfig.NamedSections)
Microsoft.CodeAnalysis.UnitTests (9)
Analyzers\AnalyzerConfigTests.cs (9)
1562Assert.Empty(globalConfig.NamedSections); 1640var file1Section = globalConfig.NamedSections[0]; 1641var file2Section = globalConfig.NamedSections[1]; 1642var file3Section = globalConfig.NamedSections[2]; 1862Assert.Equal(2, globalConfig.NamedSections.Length); 2372Assert.Single(globalConfig.NamedSections); 2373Assert.Equal("/path", globalConfig.NamedSections[0].Name); 2374Assert.Single(globalConfig.NamedSections[0].Properties.Keys, "option1"); 2375Assert.Single(globalConfig.NamedSections[0].Properties.Values, "value2");