1 instantiation of Node
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Regex.Cache.cs (1)
280
var node = new
Node
(key, regex);
9 references to Node
System.Text.RegularExpressions (9)
System\Text\RegularExpressions\Regex.Cache.cs (9)
67
private static volatile
Node
? s_lastAccessed;
73
private static readonly ConcurrentDictionary<Key,
Node
> s_cacheDictionary = new ConcurrentDictionary<Key,
Node
>(concurrencyLevel: 1, capacity: 31);
75
private static readonly List<
Node
> s_cacheList = new List<
Node
>(DefaultMaxCacheSize);
178
if (s_lastAccessed is
Node
lastAccessed)
193
s_cacheDictionary.TryGetValue(key, out
Node
? node))
280
var
node = new Node(key, regex);
296
/// <summary>Used as a key for <see cref="
Node
"/>.</summary>