5 references to IsBlack
System.Collections (5)
System\Collections\Generic\SortedSet.cs (5)
424
Debug.Assert(parent.
IsBlack
);
671
Debug.Assert((successor.Right == null && successor.IsRed) || (successor.Right!.IsRed && successor.
IsBlack
));
1602
public static bool IsNonNullBlack(Node? node) => node != null && node.
IsBlack
;
1606
public static bool IsNullOrBlack(Node? node) => node == null || node.
IsBlack
;
1620
public bool Is2Node =>
IsBlack
&& IsNullOrBlack(Left) && IsNullOrBlack(Right);