1 instantiation of OptionKey
Test.Utilities (1)
OptionKey.cs (1)
28
static pair => new
OptionKey
(pair.ruleId is not null ? $"{pair.ruleId}.{pair.optionName}" : pair.optionName));
13 references to OptionKey
Test.Utilities (13)
AbstractCategorizedAnalyzerConfigOptions.cs (4)
19
private readonly ConcurrentDictionary<
OptionKey
, (bool found, object? value)> _computedOptionValuesMap;
23
_computedOptionValuesMap = new ConcurrentDictionary<
OptionKey
, (bool found, object? value)>();
73
var
key =
OptionKey
.GetOrCreate(rule?.Id, optionName);
OptionKey.cs (9)
9
internal readonly struct OptionKey : IEquatable<
OptionKey
>
11
private static readonly ConcurrentDictionary<(string ruleId, string optionName),
OptionKey
> s_keys = new();
24
public static
OptionKey
GetOrCreate(string? ruleId, string optionName)
31
public static bool operator ==(
OptionKey
left,
OptionKey
right)
36
public static bool operator !=(
OptionKey
left,
OptionKey
right)
43
return obj is
OptionKey
other
52
public bool Equals(
OptionKey
other)