MS\Internal\TextFormatting\Bidi.cs (66)
763int startOfNeutrals = PositionInvalid;
764int startOfDelayed = PositionInvalid;
855Debug.Assert(startOfNeutrals == PositionInvalid,
865if (startOfDelayed != PositionInvalid)
876startOfNeutrals = startOfDelayed = PositionInvalid;
900Debug.Assert(startOfDelayed != PositionInvalid,
905if (startOfNeutrals == PositionInvalid)
922startOfNeutrals = startOfDelayed = PositionInvalid;
945Debug.Assert(startOfNeutrals == PositionInvalid,
950Debug.Assert(startOfDelayed != PositionInvalid,
1016startOfNeutrals = startOfDelayed = PositionInvalid;
1050Debug.Assert(startOfNeutrals != PositionInvalid,
1067startOfNeutrals = startOfDelayed = PositionInvalid;
1089Debug.Assert(startOfNeutrals != PositionInvalid,
1116startOfNeutrals = startOfDelayed = PositionInvalid;
1122Debug.Assert(startOfNeutrals == PositionInvalid,
1127if (startOfDelayed != PositionInvalid)
1130startOfDelayed = PositionInvalid;
1140Debug.Assert(startOfNeutrals == PositionInvalid,
1145if (startOfDelayed == PositionInvalid)
1153Debug.Assert(startOfDelayed != PositionInvalid,
1158if (startOfNeutrals == PositionInvalid)
1162startOfDelayed = PositionInvalid;
1167Debug.Assert(startOfNeutrals == PositionInvalid,
1172Debug.Assert(startOfDelayed != PositionInvalid,
1178startOfDelayed = PositionInvalid;
1183Debug.Assert(startOfNeutrals != PositionInvalid,
1188startOfDelayed = PositionInvalid;
1192Debug.Assert(startOfNeutrals == PositionInvalid,
1197if (startOfDelayed != PositionInvalid)
1200startOfDelayed = PositionInvalid;
1210Debug.Assert(startOfDelayed != PositionInvalid,
1221Debug.Assert(startOfNeutrals == PositionInvalid,
1226Debug.Assert(startOfDelayed != PositionInvalid,
1237if (startOfDelayed == PositionInvalid)
1258startOfDelayed = PositionInvalid;
1275Debug.Assert(startOfNeutrals != PositionInvalid,
1280if (startOfDelayed == PositionInvalid)
1289Debug.Assert(startOfNeutrals == PositionInvalid,
1294Debug.Assert(startOfDelayed != PositionInvalid,
1321startOfDelayed = PositionInvalid;
1326Debug.Assert(startOfNeutrals == PositionInvalid,
1336if (startOfDelayed != PositionInvalid)
1347startOfNeutrals = startOfDelayed = PositionInvalid;
1353Debug.Assert(startOfNeutrals == PositionInvalid,
1371if (startOfDelayed != PositionInvalid)
1382startOfNeutrals = startOfDelayed = PositionInvalid;
1398Debug.Assert(startOfNeutrals == PositionInvalid,
1417if (startOfDelayed != PositionInvalid)
1428startOfNeutrals = startOfDelayed = PositionInvalid;
1434Debug.Assert(startOfDelayed != PositionInvalid,
1449if (startOfNeutrals == PositionInvalid)
1477if (startOfNeutrals != PositionInvalid)
1495if (startOfNeutrals != PositionInvalid)
1505startOfNeutrals = startOfDelayed = PositionInvalid;
1510if (startOfDelayed == PositionInvalid)
1557if (startOfDelayed != PositionInvalid)
1566startOfDelayed = PositionInvalid;
1576Debug.Assert(startOfNeutrals == PositionInvalid,
1581if (startOfDelayed != PositionInvalid)
1584startOfDelayed = PositionInvalid;
1597if (startOfNeutrals == PositionInvalid)
1599if (startOfDelayed != PositionInvalid)
1604startOfDelayed = PositionInvalid;
1613lengthResolved = Math.Max(startOfNeutrals, startOfDelayed) == PositionInvalid ?
1615((Math.Min(startOfNeutrals, startOfDelayed) == PositionInvalid) ?