5 references to TryParseValue
Roslyn.Diagnostics.Analyzers (5)
src\RoslynAnalyzers\Utilities\Compiler\Options\AbstractCategorizedAnalyzerConfigOptions.cs (2)
31
public T GetOptionValue<T>(string optionName, SyntaxTree? tree, DiagnosticDescriptor? rule,
TryParseValue
<T> tryParseValue, T defaultValue, OptionKind kind = OptionKind.DotnetCodeQuality)
37
static (string s,
TryParseValue
<T> tryParseValue, [MaybeNullWhen(returnValue: false)] out T parsedValue) => tryParseValue(s, out parsedValue),
src\RoslynAnalyzers\Utilities\Compiler\Options\AggregateCategorizedAnalyzerConfigOptions.cs (2)
84
public T GetOptionValue<T>(string optionName, SyntaxTree? tree, DiagnosticDescriptor? rule,
TryParseValue
<T> tryParseValue, T defaultValue, OptionKind kind = OptionKind.DotnetCodeQuality)
91
static (string s,
TryParseValue
<T> tryParseValue, [MaybeNullWhen(returnValue: false)] out T parsedValue) => tryParseValue(s, out parsedValue),
src\RoslynAnalyzers\Utilities\Compiler\Options\ICategorizedAnalyzerConfigOptions.cs (1)
51
T GetOptionValue<T>(string optionName, SyntaxTree? tree, DiagnosticDescriptor? rule,
TryParseValue
<T> tryParseValue, T defaultValue, OptionKind kind = OptionKind.DotnetCodeQuality);