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