4 instantiations of DictionaryAnalyzerConfigOptions
Microsoft.CodeAnalysis (4)
CommandLine\CommonCompiler.cs (3)
1049
builder.Add(syntaxTree, new
DictionaryAnalyzerConfigOptions
(options));
1064
builder.Add(additionalFiles[i], new
DictionaryAnalyzerConfigOptions
(options));
1083
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)
1048
Debug.Assert(existing.GetOptions(syntaxTree) ==
DictionaryAnalyzerConfigOptions
.Empty);
1063
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);