20 references to OptionKind
Roslyn.Diagnostics.Analyzers (20)
src\RoslynAnalyzers\Utilities\Compiler\Options\AbstractCategorizedAnalyzerConfigOptions.cs (9)
31
public T GetOptionValue<T>(string optionName, SyntaxTree? tree, DiagnosticDescriptor? rule, TryParseValue<T> tryParseValue, T defaultValue,
OptionKind
kind =
OptionKind
.DotnetCodeQuality)
48
public T GetOptionValue<T, TArg>(string optionName, SyntaxTree? tree, DiagnosticDescriptor? rule, TryParseValue<T, TArg> tryParseValue, TArg arg, T defaultValue,
OptionKind
kind =
OptionKind
.DotnetCodeQuality)
58
private static string MapOptionKindToKeyPrefix(
OptionKind
optionKind)
61
OptionKind
.DotnetCodeQuality => DotnetCodeQualityKeyPrefix,
62
OptionKind
.BuildProperty => BuildPropertyKeyPrefix,
67
public bool TryGetOptionValue<T, TArg>(string optionName,
OptionKind
kind, DiagnosticDescriptor? rule, TryParseValue<T, TArg> tryParseValue, TArg arg, T defaultValue, out T value)
93
private (bool found, object? value) ComputeOptionValue<T, TArg>(string optionName,
OptionKind
kind, DiagnosticDescriptor? rule, TryParseValue<T, TArg> tryParseValue, TArg arg)
src\RoslynAnalyzers\Utilities\Compiler\Options\AggregateCategorizedAnalyzerConfigOptions.cs (5)
84
public T GetOptionValue<T>(string optionName, SyntaxTree? tree, DiagnosticDescriptor? rule, TryParseValue<T> tryParseValue, T defaultValue,
OptionKind
kind =
OptionKind
.DotnetCodeQuality)
102
public T GetOptionValue<T, TArg>(string optionName, SyntaxTree? tree, DiagnosticDescriptor? rule, TryParseValue<T, TArg> tryParseValue, TArg arg, T defaultValue,
OptionKind
kind =
OptionKind
.DotnetCodeQuality)
112
private bool TryGetOptionValue<T, TArg>(string optionName,
OptionKind
kind, SyntaxTree? tree, DiagnosticDescriptor? rule, TryParseValue<T, TArg> tryParseValue, TArg arg, T defaultValue, [MaybeNullWhen(false)] out T value)
src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerOptionsExtensions.cs (2)
539
defaultValue: null,
OptionKind
.BuildProperty);
564
defaultValue: null,
OptionKind
.BuildProperty);
src\RoslynAnalyzers\Utilities\Compiler\Options\ICategorizedAnalyzerConfigOptions.cs (4)
51
T GetOptionValue<T>(string optionName, SyntaxTree? tree, DiagnosticDescriptor? rule, TryParseValue<T> tryParseValue, T defaultValue,
OptionKind
kind =
OptionKind
.DotnetCodeQuality);
53
T GetOptionValue<T, TArg>(string optionName, SyntaxTree? tree, DiagnosticDescriptor? rule, TryParseValue<T, TArg> tryParseValue, TArg arg, T defaultValue,
OptionKind
kind =
OptionKind
.DotnetCodeQuality);