9 references to Node
System.Text.RegularExpressions (9)
System\Text\RegularExpressions\Regex.Cache.cs (9)
47
private static volatile
Node
? s_lastAccessed;
53
private static readonly ConcurrentDictionary<Key,
Node
> s_cacheDictionary = new ConcurrentDictionary<Key,
Node
>(concurrencyLevel: 1, capacity: 31);
55
private static readonly List<
Node
> s_cacheList = new List<
Node
>(DefaultMaxCacheSize);
158
if (s_lastAccessed is
Node
lastAccessed)
173
s_cacheDictionary.TryGetValue(key, out
Node
? node))
260
var
node = new Node(key, regex);
276
/// <summary>Used as a key for <see cref="
Node
"/>.</summary>