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));
1601
public static bool IsNonNullRed(Node? node) => node != null && node.
IsRed
;
1706
Debug.Assert(removeRed.
IsRed
);
1711
Debug.Assert(removeRed.
IsRed
);
1715
Debug.Assert(Right!.Left!.
IsRed
);
1718
Debug.Assert(Left!.Right!.
IsRed
);
1783
Debug.Assert(
IsRed
);