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