8 references to AwayFromZero
mscorlib (3)
system\decimal.cs (1)
790
if (mode < MidpointRounding.ToEven || mode > MidpointRounding.
AwayFromZero
) {
system\math.cs (2)
90
if (mode == MidpointRounding.
AwayFromZero
) {
148
if (mode < MidpointRounding.ToEven || mode > MidpointRounding.
AwayFromZero
) {
PresentationCore (1)
Core\CSharp\MS\Internal\TextFormatting\TextFormatterImp.cs (1)
720
return RoundDipForDisplayMode(value, pixelsPerDip, MidpointRounding.
AwayFromZero
);
System.Data.Linq (1)
SqlClient\Query\SqlMethodCallConverter.cs (1)
2095
if ((MidpointRounding)this.Eval(roundingMethod) == MidpointRounding.
AwayFromZero
) {
System.Windows.Forms (3)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (3)
1006
dataGridViewColumn.DesiredFillWidth = (int)Math.Round(desiredFillWidth, MidpointRounding.
AwayFromZero
);
1152
mostDeservingDataGridViewColumn.DesiredFillWidth = Math.Min(oldDesiredWidth, (int)Math.Round(floatDesiredWidth, MidpointRounding.
AwayFromZero
));
1220
mostDeservingDataGridViewColumn.DesiredFillWidth = Math.Max(mostDeservingDataGridViewColumn.MinimumWidth, (int)Math.Round(floatDesiredWidth, MidpointRounding.
AwayFromZero
));