1 type derived from AvlNode
Microsoft.CodeAnalysis (1)
Collections\SmallDictionary.cs (1)
145
private sealed class AvlNodeHead :
AvlNode
3 instantiations of AvlNode
Microsoft.CodeAnalysis (3)
Collections\SmallDictionary.cs (3)
258
_root = new
AvlNode
(hashCode, key, value);
287
currentNode = new
AvlNode
(hashCode, key, value);
300
currentNode = new
AvlNode
(hashCode, key, value);
48 references to AvlNode
Microsoft.CodeAnalysis (48)
Collections\SmallDictionary.cs (48)
38
private
AvlNode
? _root;
116
AvlNode
.AssertBalanced(_root);
175
public
AvlNode
? Left;
176
public
AvlNode
? Right;
183
public static int AssertBalanced(
AvlNode
? V)
204
AvlNode
? b = _root;
254
AvlNode
? currentNode = _root;
262
AvlNode
? currentNodeParent = null;
263
AvlNode
unbalanced = currentNode;
264
AvlNode
? unbalancedParent = null;
286
var
previousNode = currentNode;
299
var
previousNode = currentNode;
318
var
n = unbalanced;
337
AvlNode
rotated;
371
private static
AvlNode
LeftSimple(
AvlNode
unbalanced)
374
var
right = unbalanced.Right;
383
private static
AvlNode
RightSimple(
AvlNode
unbalanced)
386
var
left = unbalanced.Left;
395
private static
AvlNode
LeftComplex(
AvlNode
unbalanced)
399
var
right = unbalanced.Right;
400
var
rightLeft = right.Left;
423
private static
AvlNode
RightComplex(
AvlNode
unbalanced)
427
var
left = unbalanced.Left;
428
var
leftRight = left.Right;
451
private void HandleInsert(
AvlNode
node,
AvlNode
? parent, K key, V value, bool add)
473
private void AddNode(
AvlNode
node,
AvlNode
? parent, K key, V value)
517
private readonly Stack<
AvlNode
>? _stack;
524
var
root = dict._root;
534
_stack = new Stack<
AvlNode
>(dict.HeightApprox());
556
var
curr = _stack.Pop();
566
private void PushIfNotNull(
AvlNode
? child)
632
private readonly Stack<
AvlNode
>? _stack;
639
var
root = dict._root;
652
_stack = new Stack<
AvlNode
>(dict.HeightApprox());
673
var
curr = _stack.Pop();
683
private void PushIfNotNull(
AvlNode
? child)
738
private readonly Stack<
AvlNode
>? _stack;
745
var
root = dict._root;
758
_stack = new Stack<
AvlNode
>(dict.HeightApprox());
779
var
curr = _stack.Pop();
789
private void PushIfNotNull(
AvlNode
? child)
845
var
cur = _root;