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