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