10 references to IsOdd
PresentationCore (10)
Core\CSharp\MS\Internal\TextFormatting\Bidi.cs (10)
356
return Helper.
IsOdd
(level) ? (byte) (level + 1) : (byte) (level + 2);
361
return Helper.
IsOdd
(level) ? (byte) (level + 2) : (byte) (level + 1);
724
resolutionType = Helper.
IsOdd
(runLevel) ? DirectionClass.Right : DirectionClass.Left;
1710
(byte)((ImplictPush[Helper.
IsOdd
(levels[counter+index]) ? 1 : 0,
1935
(Helper.
IsOdd
(baseLevel) ?
1985
if (Helper.
IsOdd
(baseLevel))
2430
sor = Helper.
IsOdd
(Math.Max(baseLevel, levels[runStart])) ?
2435
sor = Helper.
IsOdd
(Math.Max(lastRunLevel, levels[runStart])) ?
2445
eor = Helper.
IsOdd
(Math.Max(levels[runStart], baseLevel)) ?
2460
eor = Helper.
IsOdd
(Math.Max(levels[runStart], levels[runLimits[runNumber-1] + 1])) ?