3 instantiations of CompilerAnalyzerConfigOptionsProvider
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\CompilerAnalyzerConfigOptionsProvider.cs (3)
14
= new
CompilerAnalyzerConfigOptionsProvider
(
35
=> new
CompilerAnalyzerConfigOptionsProvider
(_treeDict.AddRange(treeDict), GlobalOptions);
38
=> new
CompilerAnalyzerConfigOptionsProvider
(_treeDict, globalOptions);
12 references to CompilerAnalyzerConfigOptionsProvider
Microsoft.CodeAnalysis (11)
CommandLine\CommonCompiler.cs (7)
1015
private static
CompilerAnalyzerConfigOptionsProvider
UpdateAnalyzerConfigOptionsProvider(
1016
CompilerAnalyzerConfigOptionsProvider
existing,
1056
private
CompilerAnalyzerConfigOptionsProvider
GetCompilerAnalyzerConfigOptionsProvider(
1063
var
analyzerConfigProvider =
CompilerAnalyzerConfigOptionsProvider
.Empty;
1128
var
analyzerConfigProvider = GetCompilerAnalyzerConfigOptionsProvider(analyzerConfigSet, additionalTextFiles, diagnostics, compilation, sourceFileAnalyzerConfigOptions);
1141
var
analyzerConfigProvider =
DiagnosticAnalyzer\AnalyzerOptions.cs (1)
50
: this(additionalFiles,
CompilerAnalyzerConfigOptionsProvider
.Empty)
DiagnosticAnalyzer\CompilerAnalyzerConfigOptionsProvider.cs (3)
13
public static
CompilerAnalyzerConfigOptionsProvider
Empty { get; }
34
internal
CompilerAnalyzerConfigOptionsProvider
WithAdditionalTreeOptions(ImmutableDictionary<object, AnalyzerConfigOptions> treeDict)
37
internal
CompilerAnalyzerConfigOptionsProvider
WithGlobalOptions(AnalyzerConfigOptions globalOptions)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
SourceGeneration\GeneratorDriverTests.cs (1)
2667
var
newOptionsProvider = optionsProvider.WithGlobalOptions(new DictionaryAnalyzerConfigOptions(builder.ToImmutable()));