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