10 references to IsOdd
PresentationCore (10)
MS\Internal\TextFormatting\Bidi.cs (10)
345
return Helper.
IsOdd
(level) ? (byte) (level + 1) : (byte) (level + 2);
350
return Helper.
IsOdd
(level) ? (byte) (level + 2) : (byte) (level + 1);
712
resolutionType = Helper.
IsOdd
(runLevel) ? DirectionClass.Right : DirectionClass.Left;
1695
(byte)((ImplictPush[Helper.
IsOdd
(levels[counter+index]) ? 1 : 0,
1919
(Helper.
IsOdd
(baseLevel) ?
1969
if (Helper.
IsOdd
(baseLevel))
2413
sor = Helper.
IsOdd
(Math.Max(baseLevel, levels[runStart])) ?
2418
sor = Helper.
IsOdd
(Math.Max(lastRunLevel, levels[runStart])) ?
2428
eor = Helper.
IsOdd
(Math.Max(levels[runStart], baseLevel)) ?
2443
eor = Helper.
IsOdd
(Math.Max(levels[runStart], levels[runLimits[runNumber-1] + 1])) ?