1 write to GlobalSection
Microsoft.CodeAnalysis (1)
CommandLine\AnalyzerConfigSet.cs (1)
650
GlobalSection
= globalSection;
11 references to GlobalSection
Microsoft.CodeAnalysis (1)
CommandLine\AnalyzerConfigSet.cs (1)
375
ParseSectionOptions(_globalConfig.
GlobalSection
,
Microsoft.CodeAnalysis.UnitTests (10)
Analyzers\AnalyzerConfigTests.cs (10)
1644
Assert.Empty(globalConfig.
GlobalSection
.Properties);
1664
Assert.Equal("value1", globalConfig.
GlobalSection
.Properties["option1"]);
1686
Assert.Equal("value1", globalConfig.
GlobalSection
.Properties["option1"]);
1687
Assert.Equal("value2", globalConfig.
GlobalSection
.Properties["option2"]);
1720
Assert.Equal("value1", globalConfig.
GlobalSection
.Properties["option1"]);
1721
Assert.Equal("value2", globalConfig.
GlobalSection
.Properties["option2"]);
2424
Assert.Single(globalConfig.
GlobalSection
.Properties.Keys, "option1");
2427
Assert.Single(globalConfig.
GlobalSection
.Properties.Values, expectedValue);
2494
Assert.Single(globalConfig.
GlobalSection
.Properties.Keys, "option1");
2495
Assert.Single(globalConfig.
GlobalSection
.Properties.Values, expectedValue);