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)
610nextTickNeeded = TimeSpan.FromTicks(Math.Max(nextTickNeeded.Ticks, minimumDelay.Ticks));
PresentationFramework (1)
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (1)
1734tableWidth = Math.Max(tableWidth, lastCellX);
System (5)
sys\system\configuration\ClientSettingsStore.cs (5)
402EnsureQuota(Math.Max(oldLen, newLen)); 436EnsureQuota(Math.Max(oldLen, newLen)); 448EnsureQuota(Math.Max(oldLen, newLen)); 459EnsureQuota(Math.Max(oldLen, newLen)); 483EnsureQuota(Math.Max(oldLen, newLen));
System.Data (5)
fx\src\data\System\Data\Common\AdapterUtil.cs (1)
2460lval = Math.Max((long)Int32.MinValue, lval);
fx\src\data\System\Data\Common\Int64Storage.cs (1)
115max=Math.Max(values[record], max);
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (1)
2005row[columnSize] = unchecked((int)Math.Min(Math.Max(Int32.MinValue, metadata[i].size.ToInt64()), Int32.MaxValue));
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (1)
1101delay = (uint)Math.Max(ADP.TimerRemainingMilliseconds(next.DueTime), 0);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
1528nextTimeoutInterval = Math.Max(ADP.MinimumTimeoutForTnirMs, nextTimeoutInterval);
System.ServiceModel (4)
System\ServiceModel\Channels\SocketConnection.cs (1)
1512long delta = Math.Max(oldTimeout.Ticks, newTimeout.Ticks) - Math.Min(oldTimeout.Ticks, newTimeout.Ticks);
System\ServiceModel\Channels\TransmissionStrategy.cs (3)
107this.timeout = Math.Max(((200 << Constants.TimeMultiplier) * 2) + this.meanRtt, this.meanRtt + (this.serrRtt << Constants.ChebychevFactor)); 837now = Math.Max(now, lastAttemptTime); 842this.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)
268long max = Math.Max(Math.Abs(ts1.Ticks), Math.Abs(ts2.Ticks));
System.ServiceModel.Internals (1)
System\Runtime\BackoffTimeoutHelper.cs (1)
103return 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)
314long 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)
395overlapBlockOffset = Math.Max(block1Offset, block2Offset);