1 write to GlobalSection
Microsoft.CodeAnalysis (1)
CommandLine\AnalyzerConfigSet.cs (1)
661
GlobalSection
= globalSection;
11 references to GlobalSection
Microsoft.CodeAnalysis (1)
CommandLine\AnalyzerConfigSet.cs (1)
386
ParseSectionOptions(_globalConfig.
GlobalSection
,
Microsoft.CodeAnalysis.UnitTests (10)
Analyzers\AnalyzerConfigTests.cs (10)
1561
Assert.Empty(globalConfig.
GlobalSection
.Properties);
1581
Assert.Equal("value1", globalConfig.
GlobalSection
.Properties["option1"]);
1603
Assert.Equal("value1", globalConfig.
GlobalSection
.Properties["option1"]);
1604
Assert.Equal("value2", globalConfig.
GlobalSection
.Properties["option2"]);
1637
Assert.Equal("value1", globalConfig.
GlobalSection
.Properties["option1"]);
1638
Assert.Equal("value2", globalConfig.
GlobalSection
.Properties["option2"]);
2341
Assert.Single(globalConfig.
GlobalSection
.Properties.Keys, "option1");
2344
Assert.Single(globalConfig.
GlobalSection
.Properties.Values, expectedValue);
2411
Assert.Single(globalConfig.
GlobalSection
.Properties.Keys, "option1");
2412
Assert.Single(globalConfig.
GlobalSection
.Properties.Values, expectedValue);