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