18 references to Abs
mscorlib (1)
system\runtime\remoting\soapinteroptypes.cs (1)
285long timea = Math.Abs(timeSpan.Ticks % TimeSpan.TicksPerDay);
PresentationCore (2)
Core\CSharp\MS\Internal\AnimatedTypeHelpers.cs (1)
416return Math.Abs(to - from);
Core\CSharp\System\Windows\Media\Animation\Clock.cs (1)
4199Debug.Assert(Math.Abs(optimizedInputTime - inputTime) <= error,
System (1)
net\System\Net\mail\SmtpDateTime.cs (1)
418if (Math.Abs(sanitizedTimeSpan.Ticks) > timeSpanMaxTicks)
System.Data (1)
fx\src\data\System\Data\Filter\FunctionNode.cs (1)
262return(Math.Abs((Int64)argumentValues[0]));
System.Management (1)
ManagementDatetime.cs (1)
267 if(Math.Abs(OffsetMins) > MAXSIZE_UTC_DMTF)
System.ServiceModel (1)
System\ServiceModel\Channels\TransmissionStrategy.cs (1)
840this.serrRtt = Math.Min(this.serrRtt + ((Math.Abs(error) - this.serrRtt) >> Constants.Gain), Constants.MaxSerrRtt);
System.ServiceModel.Channels (3)
System\ServiceModel\Channels\UdpRetransmissionSettings.cs (3)
267long diff = Math.Abs(ts1.Ticks - ts2.Ticks); 268long max = Math.Max(Math.Abs(ts1.Ticks), Math.Abs(ts2.Ticks));
System.Windows.Forms (6)
winforms\Managed\System\WinForms\ToolTip.cs (6)
1819locationWeights[i] += Math.Abs((long)intersection.Width * intersection.Height); // Intersection is a weight 1830locationClippedAreas[i] = (Math.Abs((long)possibleLocations[i].Width) - Math.Abs((long)locationAreaWithinScreen.Width)) 1831* (Math.Abs((long)possibleLocations[i].Height) - Math.Abs((long)locationAreaWithinScreen.Height)); 1842locationWithinTopControlAreas[i] = Math.Abs((long)locationWithinTopControlRectangle.Height * locationWithinTopControlRectangle.Width);
WindowsBase (2)
Base\MS\Internal\IO\Zip\ZipIOExtraField.cs (2)
173Debug.Assert(Math.Abs(size) <= 100); 176if (Math.Abs(size) > UInt16.MaxValue)