24 references to Max
PresentationCore (2)
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (1)
960
_length = (int)(Math.
Max
(_offset + _length, b._offset + b._length) - _offset);
Core\CSharp\System\Windows\Media\MediaContext.cs (1)
610
nextTickNeeded = TimeSpan.FromTicks(Math.
Max
(nextTickNeeded.Ticks, minimumDelay.Ticks));
PresentationFramework (1)
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (1)
1734
tableWidth = Math.
Max
(tableWidth, lastCellX);
System (5)
sys\system\configuration\ClientSettingsStore.cs (5)
402
EnsureQuota(Math.
Max
(oldLen, newLen));
436
EnsureQuota(Math.
Max
(oldLen, newLen));
448
EnsureQuota(Math.
Max
(oldLen, newLen));
459
EnsureQuota(Math.
Max
(oldLen, newLen));
483
EnsureQuota(Math.
Max
(oldLen, newLen));
System.Data (5)
fx\src\data\System\Data\Common\AdapterUtil.cs (1)
2460
lval = Math.
Max
((long)Int32.MinValue, lval);
fx\src\data\System\Data\Common\Int64Storage.cs (1)
115
max=Math.
Max
(values[record], max);
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (1)
2005
row[columnSize] = unchecked((int)Math.Min(Math.
Max
(Int32.MinValue, metadata[i].size.ToInt64()), Int32.MaxValue));
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (1)
1101
delay = (uint)Math.
Max
(ADP.TimerRemainingMilliseconds(next.DueTime), 0);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
1528
nextTimeoutInterval = Math.
Max
(ADP.MinimumTimeoutForTnirMs, nextTimeoutInterval);
System.ServiceModel (4)
System\ServiceModel\Channels\SocketConnection.cs (1)
1512
long delta = Math.
Max
(oldTimeout.Ticks, newTimeout.Ticks) - Math.Min(oldTimeout.Ticks, newTimeout.Ticks);
System\ServiceModel\Channels\TransmissionStrategy.cs (3)
107
this.timeout = Math.
Max
(((200 << Constants.TimeMultiplier) * 2) + this.meanRtt, this.meanRtt + (this.serrRtt << Constants.ChebychevFactor));
837
now = Math.
Max
(now, lastAttemptTime);
842
this.timeout = Math.
Max
(((200 << Constants.TimeMultiplier) * 2) + this.meanRtt, this.meanRtt + (this.serrRtt << Constants.ChebychevFactor));
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpRetransmissionSettings.cs (1)
268
long max = Math.
Max
(Math.Abs(ts1.Ticks), Math.Abs(ts2.Ticks));
System.ServiceModel.Internals (1)
System\Runtime\BackoffTimeoutHelper.cs (1)
103
return Ticks.ToTimeSpan(Math.
Max
(
System.Web (1)
Management\AppDomainResourcePerfCounters.cs (1)
112
_MemUsageLastReported = (int) Math.Min(Int32.MaxValue, Math.
Max
(0, memInKB)); // Make sure its within 0 and Int32.MaxValue
WindowsBase (4)
Base\MS\Internal\IO\Packaging\SparseMemoryStream.cs (1)
292
_currentStreamLength = Math.
Max
(_currentStreamLength, _currentStreamPosition);
Base\MS\Internal\IO\Zip\ZipIOEndOfCentralDirectoryBlock.cs (1)
314
long beginPos = Math.
Max
(0, endPos -_scanBlockSize);
Base\MS\Internal\IO\Zip\ZipIOFileItemStream.cs (1)
321
_currentStreamLength = Math.
Max
(_currentStreamLength, _currentStreamPosition);
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (1)
395
overlapBlockOffset = Math.
Max
(block1Offset, block2Offset);