1 write to _nextNodes
Microsoft.TemplateEngine.Core (1)
Matching\Trie.cs (1)
32
return Interlocked.CompareExchange(ref
_nextNodes
, nextNodes, null) ?? nextNodes;
6 references to _nextNodes
Microsoft.TemplateEngine.Core (6)
Matching\Trie.cs (6)
21
if (
_nextNodes
is { } nextNodes)
74
if (
_nextNodes
!= null)
76
return
_nextNodes
.TryGetValue(match, out next!);
92
if (
_nextNodes
!= null)
94
if (!
_nextNodes
.TryGetValue(match, out next!))
96
_nextNodes
.Add(match, next = new TrieNode<T>(match));