1 instantiation of AnalyzerConfigSet
Microsoft.CodeAnalysis (1)
CommandLine\AnalyzerConfigSet.cs (1)
133
return 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)
121
public static
AnalyzerConfigSet
Create<TList>(TList analyzerConfigs) where TList : IReadOnlyCollection<AnalyzerConfig>
126
public 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)
345
analyzerConfigSet =
AnalyzerConfigSet
.Create(configs, out var setDiagnostics);
917
AnalyzerConfigSet
? analyzerConfigSet = null;
1057
AnalyzerConfigSet
? analyzerConfigSet,
1100
AnalyzerConfigSet
? analyzerConfigSet,
DiagnosticAnalyzer\AnalyzerOptionsExtensions.cs (2)
67
AnalyzerConfigSet
.TryParseSeverity(value, out severity))
79
AnalyzerConfigSet
.TryParseSeverity(value, out severity))
Microsoft.CodeAnalysis.UnitTests (37)
Analyzers\AnalyzerConfigTests.cs (37)
110
var
set =
AnalyzerConfigSet
.Create(ImmutableArray.Create(config));
132
var
set =
AnalyzerConfigSet
.Create(ImmutableArray.Create(config));
1227
var
set =
AnalyzerConfigSet
.Create(configs);
1627
var globalConfig =
AnalyzerConfigSet
.MergeGlobalConfigs(configs, out _);
1641
var globalConfig =
AnalyzerConfigSet
.MergeGlobalConfigs(configs, out _);
1660
var globalConfig =
AnalyzerConfigSet
.MergeGlobalConfigs(configs, out var diagnostics);
1682
var globalConfig =
AnalyzerConfigSet
.MergeGlobalConfigs(configs, out var diagnostics);
1716
var globalConfig =
AnalyzerConfigSet
.MergeGlobalConfigs(configs, out var diagnostics);
1753
var globalConfig =
AnalyzerConfigSet
.MergeGlobalConfigs(configs, out var diagnostics);
1774
var globalConfig =
AnalyzerConfigSet
.MergeGlobalConfigs(configs, out var diagnostics);
1791
var globalConfig =
AnalyzerConfigSet
.MergeGlobalConfigs(configs, out var diagnostics);
1809
var globalConfig =
AnalyzerConfigSet
.MergeGlobalConfigs(configs, out var diagnostics);
1943
var globalConfig =
AnalyzerConfigSet
.MergeGlobalConfigs(configs, out var diagnostics);
1964
var globalConfig =
AnalyzerConfigSet
.MergeGlobalConfigs(configs, out var diagnostics);
1983
var globalConfig =
AnalyzerConfigSet
.MergeGlobalConfigs(configs, out var diagnostics);
2030
var
set =
AnalyzerConfigSet
.Create(configs);
2072
var
set =
AnalyzerConfigSet
.Create(configs);
2232
var
set =
AnalyzerConfigSet
.Create(ImmutableArray<AnalyzerConfig>.Empty);
2283
_ =
AnalyzerConfigSet
.Create(configs, out var diagnostics);
2372
var
set =
AnalyzerConfigSet
.Create(ImmutableArray.Create(config));
2387
var
set =
AnalyzerConfigSet
.Create(ImmutableArray.Create(config));
2422
var globalConfig =
AnalyzerConfigSet
.MergeGlobalConfigs(configs, out var diagnostics);
2453
var globalConfig =
AnalyzerConfigSet
.MergeGlobalConfigs(configs, out var diagnostics);
2492
var globalConfig =
AnalyzerConfigSet
.MergeGlobalConfigs(configs, out var diagnostics);
2541
var globalConfig =
AnalyzerConfigSet
.MergeGlobalConfigs(configs, out var diagnostics);
2603
var
configSet =
AnalyzerConfigSet
.Create(configs, out var diagnostics);
2631
var
configSet =
AnalyzerConfigSet
.Create(configs, out var diagnostics);
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\Solution\ProjectState.AnalyzerConfigOptionsCache.cs (3)
24
public readonly struct Value(
AnalyzerConfigSet
configSet, StructuredAnalyzerConfigOptions fallbackOptions)
46
return new Value(
AnalyzerConfigSet
.Create(analyzerConfigs), fallbackOptions);
52
return new Value(
AnalyzerConfigSet
.Create(analyzerConfigs), fallbackOptions);