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