10 references to IsRed
System.Collections (10)
System\Collections\Generic\SortedSet.cs (10)
368if (parent.IsRed) 419if (sibling.IsRed) 671Debug.Assert((successor.Right == null && successor.IsRed) || (successor.Right!.IsRed && successor.IsBlack)); 1604public static bool IsNonNullRed(Node? node) => node != null && node.IsRed; 1709Debug.Assert(removeRed.IsRed); 1714Debug.Assert(removeRed.IsRed); 1718Debug.Assert(Right!.Left!.IsRed); 1721Debug.Assert(Left!.Right!.IsRed); 1786Debug.Assert(IsRed);