10 references to IsOdd
PresentationCore (10)
MS\Internal\TextFormatting\Bidi.cs (10)
337
return Helper.
IsOdd
(level) ? (byte) (level + 1) : (byte) (level + 2);
342
return Helper.
IsOdd
(level) ? (byte) (level + 2) : (byte) (level + 1);
704
resolutionType = Helper.
IsOdd
(runLevel) ? DirectionClass.Right : DirectionClass.Left;
1687
(byte)((ImplictPush[Helper.
IsOdd
(levels[counter+index]) ? 1 : 0,
1911
(Helper.
IsOdd
(baseLevel) ?
1961
if (Helper.
IsOdd
(baseLevel))
2405
sor = Helper.
IsOdd
(Math.Max(baseLevel, levels[runStart])) ?
2410
sor = Helper.
IsOdd
(Math.Max(lastRunLevel, levels[runStart])) ?
2420
eor = Helper.
IsOdd
(Math.Max(levels[runStart], baseLevel)) ?
2435
eor = Helper.
IsOdd
(Math.Max(levels[runStart], levels[runLimits[runNumber-1] + 1])) ?