2 implementations of GetOptionValue
Text.Analyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\Options\AbstractCategorizedAnalyzerConfigOptions.cs (1)
31
public T
GetOptionValue
<T>(string optionName, SyntaxTree? tree, DiagnosticDescriptor? rule, TryParseValue<T> tryParseValue, T defaultValue, OptionKind kind = OptionKind.DotnetCodeQuality)
src\RoslynAnalyzers\Utilities\Compiler\Options\AggregateCategorizedAnalyzerConfigOptions.cs (1)
84
public T
GetOptionValue
<T>(string optionName, SyntaxTree? tree, DiagnosticDescriptor? rule, TryParseValue<T> tryParseValue, T defaultValue, OptionKind kind = OptionKind.DotnetCodeQuality)
7 references to GetOptionValue
Text.Analyzers (7)
src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerOptionsExtensions.cs (7)
142
return analyzerConfigOptions.
GetOptionValue
(
158
return analyzerConfigOptions.
GetOptionValue
(optionName, tree, rule, TryParseValue, defaultValue);
205
return analyzerConfigOptions.
GetOptionValue
(optionName, tree, rule, bool.TryParse, defaultValue);
217
return analyzerConfigOptions.
GetOptionValue
(optionName, tree, rule, uint.TryParse, defaultValue);
228
return analyzerConfigOptions.
GetOptionValue
(optionName, tree, rule, TryParseValue, string.Empty);
533
return analyzerConfigOptions.
GetOptionValue
(optionName, tree, rule: null,
558
var propertyValue = analyzerConfigOptions.
GetOptionValue
(propertyOptionName, tree, rule: null,