1 instantiation of AnalyzerConfigSet
Microsoft.CodeAnalysis (1)
CommandLine\AnalyzerConfigSet.cs (1)
133return new AnalyzerConfigSet(sortedAnalyzerConfigs.ToImmutableAndFree(), globalConfig);
51 references to AnalyzerConfigSet
Microsoft.CodeAnalysis (11)
CommandLine\AnalyzerConfigOptionsResult.cs (1)
13/// Holds results from <see cref="AnalyzerConfigSet.GetOptionsForSourcePath(string)"/>.
CommandLine\AnalyzerConfigSet.cs (3)
121public static AnalyzerConfigSet Create<TList>(TList analyzerConfigs) where TList : IReadOnlyCollection<AnalyzerConfig> 126public static AnalyzerConfigSet Create<TList>(TList analyzerConfigs, out ImmutableArray<Diagnostic> diagnostics) where TList : IReadOnlyCollection<AnalyzerConfig> 638/// However, when viewing the configs as an <see cref="AnalyzerConfigSet"/> if multiple files have the
CommandLine\CommonCompiler.cs (5)
299[NotNullWhen(true)] out AnalyzerConfigSet? analyzerConfigSet) 345analyzerConfigSet = AnalyzerConfigSet.Create(configs, out var setDiagnostics); 917AnalyzerConfigSet? analyzerConfigSet = null; 1057AnalyzerConfigSet? analyzerConfigSet, 1100AnalyzerConfigSet? analyzerConfigSet,
DiagnosticAnalyzer\AnalyzerOptionsExtensions.cs (2)
67AnalyzerConfigSet.TryParseSeverity(value, out severity)) 79AnalyzerConfigSet.TryParseSeverity(value, out severity))
Microsoft.CodeAnalysis.UnitTests (37)
Analyzers\AnalyzerConfigTests.cs (37)
110var set = AnalyzerConfigSet.Create(ImmutableArray.Create(config)); 132var set = AnalyzerConfigSet.Create(ImmutableArray.Create(config)); 1227var set = AnalyzerConfigSet.Create(configs); 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); 2030var set = AnalyzerConfigSet.Create(configs); 2072var set = AnalyzerConfigSet.Create(configs); 2232var set = AnalyzerConfigSet.Create(ImmutableArray<AnalyzerConfig>.Empty); 2283_ = AnalyzerConfigSet.Create(configs, out var diagnostics); 2372var set = AnalyzerConfigSet.Create(ImmutableArray.Create(config)); 2387var set = AnalyzerConfigSet.Create(ImmutableArray.Create(config)); 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); 2603var configSet = AnalyzerConfigSet.Create(configs, out var diagnostics); 2631var configSet = AnalyzerConfigSet.Create(configs, out var diagnostics);
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\Solution\ProjectState.AnalyzerConfigOptionsCache.cs (3)
24public readonly struct Value(AnalyzerConfigSet configSet, StructuredAnalyzerConfigOptions fallbackOptions) 46return new Value(AnalyzerConfigSet.Create(analyzerConfigs), fallbackOptions); 52return new Value(AnalyzerConfigSet.Create(analyzerConfigs), fallbackOptions);