4 instantiations of DictionaryAnalyzerConfigOptions
Microsoft.CodeAnalysis (4)
CommandLine\CommonCompiler.cs (3)
1033
builder.Add(syntaxTree, new
DictionaryAnalyzerConfigOptions
(options));
1048
builder.Add(additionalFiles[i], new
DictionaryAnalyzerConfigOptions
(options));
1067
analyzerConfigProvider = analyzerConfigProvider.WithGlobalOptions(new
DictionaryAnalyzerConfigOptions
(analyzerConfigSet.GetOptionsForSourcePath(string.Empty).AnalyzerOptions));
DiagnosticAnalyzer\DictionaryAnalyzerConfigOptions.cs (1)
15
public static DictionaryAnalyzerConfigOptions Empty { get; } = new
DictionaryAnalyzerConfigOptions
(EmptyDictionary);
7 references to DictionaryAnalyzerConfigOptions
Microsoft.CodeAnalysis (7)
CommandLine\AnalyzerConfigSet.cs (1)
299
analyzerOptionsBuilder.Count > 0 ? analyzerOptionsBuilder.ToImmutable() :
DictionaryAnalyzerConfigOptions
.EmptyDictionary,
CommandLine\CommonCompiler.cs (2)
1032
Debug.Assert(existing.GetOptions(syntaxTree) ==
DictionaryAnalyzerConfigOptions
.Empty);
1047
Debug.Assert(existing.GetOptions(additionalFiles[i]) ==
DictionaryAnalyzerConfigOptions
.Empty);
DiagnosticAnalyzer\CompilerAnalyzerConfigOptionsProvider.cs (3)
16
DictionaryAnalyzerConfigOptions
.Empty);
29
=> _treeDict.TryGetValue(tree, out var options) ? options :
DictionaryAnalyzerConfigOptions
.Empty;
32
=> _treeDict.TryGetValue(textFile, out var options) ? options :
DictionaryAnalyzerConfigOptions
.Empty;
DiagnosticAnalyzer\DictionaryAnalyzerConfigOptions.cs (1)
15
public static
DictionaryAnalyzerConfigOptions
Empty { get; } = new DictionaryAnalyzerConfigOptions(EmptyDictionary);