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