43 references to Upper
System.ServiceModel (43)
System\ServiceModel\Channels\ReliableInputConnection.cs (4)
29&& this.ranges[0].Upper == this.last) 113return sequenceNumber > this.ranges[this.ranges.Count - 1].Upper; 163validLast = last >= this.ranges[this.ranges.Count - 1].Upper; 203Int64 lastReceived = (rangeCount > 0) ? this.ranges[rangeCount - 1].Upper : 0;
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (1)
3575if ((finalRanges.Count == 1) && (finalRanges[0].Lower == 1) && (finalRanges[0].Upper == last))
System\ServiceModel\Channels\SequenceRange.cs (1)
65return (range.Lower >= this.lower && range.Upper <= this.upper);
System\ServiceModel\Channels\SequenceRangeCollection.cs (23)
62if (range.Lower == sortedRanges[0].Upper) 66else if (range.Lower < sortedRanges[0].Upper) 84if ((lowerBound > 0) && (sortedRanges[lowerBound - 1].Upper == range.Lower - 1)) 103if (range.Upper == sortedRanges[0].Lower) 107else if (range.Upper < sortedRanges[0].Lower) 118upperBound = Array.BinarySearch(sortedRanges, new SequenceRange(range.Upper), lowerComparer); 127if ((upperBound == sortedRanges.Length) || (sortedRanges[upperBound].Lower != range.Upper + 1)) 132else if (sortedRanges[0].Lower > range.Upper + 1) 142Int64 newUpper = (range.Upper > sortedRanges[upperBound].Upper) ? range.Upper : sortedRanges[upperBound].Upper; 172builder.Append(range.Upper); 265return (this.ranges[searchValue - 1].Upper >= number); 318if (number == this.range.Upper + 1) 330if (newRange.Lower == this.range.Upper + 1) 332return new SingleItemRangeCollection(range.Lower, newRange.Upper); 342else if (newRange.Upper == this.range.Lower - 1) 344return new SingleItemRangeCollection(newRange.Lower, this.range.Upper); 376if (x.Upper < y.Upper) 380else if (x.Upper > y.Upper)
System\ServiceModel\Channels\TransmissionStrategy.cs (12)
569return ranges[0].Upper >= (this.windowStart - 1); 596if (range.Upper > lastMessageSent) 602if (((range.Lower > 1) && (range.Lower <= lastMessageAcked)) || (range.Upper < lastMessageAcked)) 607if (range.Upper >= this.windowStart) 617int endIndex = (int)((range.Upper > lastMessageSent) ? (this.window.Count - 1) : (range.Upper - this.windowStart)); 625int endIndex = (int)((range.Upper > lastMessageSent) ? (this.window.Count - 1) : (range.Upper - this.windowStart)); 694if (range.Upper < this.windowStart) 696if (range.Upper == this.windowStart - 1 && (quotaRemaining != -1) && quotaRemaining > this.quotaRemaining) 707Int64 slide = range.Upper - this.windowStart + 1; 799for (Int64 i = range.Lower; i <= range.Upper; i++)
System\ServiceModel\Channels\WsrmMessageInfo.cs (1)
1710writer.WriteValue(ranges[index].Upper);
System\ServiceModel\Diagnostics\WsrmTraceRecord.cs (1)
112writer.WriteAttributeString("Upper", this.ranges[i].Upper.ToString(CultureInfo.InvariantCulture));