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