2 instantiations of GlobalAnalyzerConfig
Microsoft.CodeAnalysis (2)
CommandLine\AnalyzerConfigSet.cs (2)
516return new GlobalAnalyzerConfig(new Section(GlobalSectionName, AnalyzerOptions.Empty), ImmutableArray<Section>.Empty); 547GlobalAnalyzerConfig globalConfig = new GlobalAnalyzerConfig(globalSection, namedSectionBuilder.ToImmutableAndFree());
24 references to GlobalAnalyzerConfig
Microsoft.CodeAnalysis (8)
CommandLine\AnalyzerConfigSet.cs (8)
36private readonly GlobalAnalyzerConfig _globalConfig; 132var globalConfig = MergeGlobalConfigs(sortedAnalyzerConfigs, out diagnostics); 136private AnalyzerConfigSet(ImmutableArray<AnalyzerConfig> analyzerConfigs, GlobalAnalyzerConfig globalConfig) 452/// <returns>A <see cref="GlobalAnalyzerConfig" /> that contains the merged partial configs, or <c>null</c> if there were no partial configs</returns> 453internal static GlobalAnalyzerConfig MergeGlobalConfigs(ArrayBuilder<AnalyzerConfig> analyzerConfigs, out ImmutableArray<Diagnostic> diagnostics) 467var globalConfig = globalAnalyzerConfigBuilder.Build(diagnosticBag); 512internal GlobalAnalyzerConfig Build(DiagnosticBag diagnostics) 547GlobalAnalyzerConfig globalConfig = new GlobalAnalyzerConfig(globalSection, namedSectionBuilder.ToImmutableAndFree());
Microsoft.CodeAnalysis.UnitTests (16)
Analyzers\AnalyzerConfigTests.cs (16)
1627var globalConfig = AnalyzerConfigSet.MergeGlobalConfigs(configs, out _); 1641var globalConfig = AnalyzerConfigSet.MergeGlobalConfigs(configs, out _); 1660var globalConfig = AnalyzerConfigSet.MergeGlobalConfigs(configs, out var diagnostics); 1682var globalConfig = AnalyzerConfigSet.MergeGlobalConfigs(configs, out var diagnostics); 1716var globalConfig = AnalyzerConfigSet.MergeGlobalConfigs(configs, out var diagnostics); 1753var globalConfig = AnalyzerConfigSet.MergeGlobalConfigs(configs, out var diagnostics); 1774var globalConfig = AnalyzerConfigSet.MergeGlobalConfigs(configs, out var diagnostics); 1791var globalConfig = AnalyzerConfigSet.MergeGlobalConfigs(configs, out var diagnostics); 1809var globalConfig = AnalyzerConfigSet.MergeGlobalConfigs(configs, out var diagnostics); 1943var globalConfig = AnalyzerConfigSet.MergeGlobalConfigs(configs, out var diagnostics); 1964var globalConfig = AnalyzerConfigSet.MergeGlobalConfigs(configs, out var diagnostics); 1983var globalConfig = AnalyzerConfigSet.MergeGlobalConfigs(configs, out var diagnostics); 2422var globalConfig = AnalyzerConfigSet.MergeGlobalConfigs(configs, out var diagnostics); 2453var globalConfig = AnalyzerConfigSet.MergeGlobalConfigs(configs, out var diagnostics); 2492var globalConfig = AnalyzerConfigSet.MergeGlobalConfigs(configs, out var diagnostics); 2541var globalConfig = AnalyzerConfigSet.MergeGlobalConfigs(configs, out var diagnostics);