14 references to AnalyzerSetting
Microsoft.CodeAnalysis.EditorFeatures (14)
EditorConfigSettings\Aggregator\SettingsAggregator.cs (3)
21
private readonly ISettingsProviderFactory<
AnalyzerSetting
> _analyzerProvider;
40
_analyzerProvider = GetOptionsProviderFactory<
AnalyzerSetting
>(currentSolution);
69
if (typeof(TData) == typeof(
AnalyzerSetting
))
EditorConfigSettings\DataProvider\Analyzer\AnalyzerSettingsProvider.cs (4)
18
internal sealed class AnalyzerSettingsProvider : SettingsProviderBase<
AnalyzerSetting
, AnalyzerSettingsUpdater,
AnalyzerSetting
, ReportDiagnostic>
39
private IEnumerable<
AnalyzerSetting
> GetSettings(AnalyzerReference analyzerReference, AnalyzerConfigOptions editorConfigOptions)
51
IEnumerable<
AnalyzerSetting
> ToAnalyzerSetting(IEnumerable<DiagnosticAnalyzer> analyzers,
EditorConfigSettings\DataProvider\Analyzer\AnalyzerSettingsProviderFactory.cs (2)
11
internal class AnalyzerSettingsProviderFactory(Workspace workspace, IDiagnosticAnalyzerService analyzerService) : IWorkspaceSettingsProviderFactory<
AnalyzerSetting
>
16
public ISettingsProvider<
AnalyzerSetting
> GetForFile(string filePath)
EditorConfigSettings\DataProvider\Analyzer\AnalyzerSettingsWorkspaceServiceFactory.cs (1)
14
[ExportWorkspaceServiceFactory(typeof(IWorkspaceSettingsProviderFactory<
AnalyzerSetting
>)), Shared]
EditorConfigSettings\Updater\AnalyzerSettingsUpdater.cs (2)
12
internal class AnalyzerSettingsUpdater(Workspace workspace, string editorconfigPath) : SettingsUpdaterBase<
AnalyzerSetting
, ReportDiagnostic>(workspace, editorconfigPath)
15
IReadOnlyList<(
AnalyzerSetting
option, ReportDiagnostic value)> settingsToUpdate,
EditorConfigSettings\Updater\SettingsUpdateHelper.cs (2)
26
IReadOnlyList<(
AnalyzerSetting
option, ReportDiagnostic value)> settingsToUpdate)
37
static (string option, string value, Language language) GetOptionValueAndLanguage(
AnalyzerSetting
diagnostic, ReportDiagnostic severity)