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