18 references to color
System.Data.Common (18)
System\Data\RbTree.cs (18)
627
SetColor(newMainTreeNodeId,
color
(z_id));
745
while (
color
(Parent(x_id)) == NodeColor.red)
750
if (
color
(y_id) == NodeColor.red) // my right uncle is red
773
if (
color
(y_id) == NodeColor.red) // if (y.color == Color.red) // my right uncle is red
969
if (
color
(y_id) == NodeColor.black)
984
SetColor(satelliteRootId,
color
(mNode)); // Next of satelliteRootId is already NIL
1036
SetColor(y_id,
color
(z_id));
1104
while (((root_id == NIL ? root : root_id) != x_id) &&
color
(x_id) == NodeColor.black)
1119
if (
color
(w_id) == NodeColor.red)
1127
if (
color
(Left(w_id)) == NodeColor.black &&
color
(Right(w_id)) == NodeColor.black)
1135
if (
color
(Right(w_id)) == NodeColor.black)
1143
SetColor(w_id,
color
(px_id));
1155
if (
color
(w_id) == NodeColor.red)
1179
if (
color
(Right(w_id)) == NodeColor.black &&
color
(Left(w_id)) == NodeColor.black)
1187
if (
color
(Left(w_id)) == NodeColor.black)
1195
SetColor(w_id,
color
(px_id));