2 implementations of GetOptionValue
Test.Utilities (2)
AbstractCategorizedAnalyzerConfigOptions.cs (1)
29
public T
GetOptionValue
<T>(string optionName, SyntaxTree? tree, DiagnosticDescriptor? rule, TryParseValue<T> tryParseValue, T defaultValue, OptionKind kind = OptionKind.DotnetCodeQuality)
AggregateCategorizedAnalyzerConfigOptions.cs (1)
82
public T
GetOptionValue
<T>(string optionName, SyntaxTree? tree, DiagnosticDescriptor? rule, TryParseValue<T> tryParseValue, T defaultValue, OptionKind kind = OptionKind.DotnetCodeQuality)
7 references to GetOptionValue
Test.Utilities (7)
AnalyzerOptionsExtensions.cs (7)
140
return analyzerConfigOptions.
GetOptionValue
(
156
return analyzerConfigOptions.
GetOptionValue
(optionName, tree, rule, TryParseValue, defaultValue);
203
return analyzerConfigOptions.
GetOptionValue
(optionName, tree, rule, bool.TryParse, defaultValue);
215
return analyzerConfigOptions.
GetOptionValue
(optionName, tree, rule, uint.TryParse, defaultValue);
226
return analyzerConfigOptions.
GetOptionValue
(optionName, tree, rule, TryParseValue, string.Empty);
531
return analyzerConfigOptions.
GetOptionValue
(optionName, tree, rule: null,
556
var propertyValue = analyzerConfigOptions.
GetOptionValue
(propertyOptionName, tree, rule: null,