9 instantiations of SequenceRange
System.ServiceModel (9)
System\ServiceModel\Channels\SequenceRangeCollection.cs (7)
77
lowerBound = Array.BinarySearch(sortedRanges, new
SequenceRange
(range.Lower), upperComparer);
118
upperBound = Array.BinarySearch(sortedRanges, new
SequenceRange
(range.Upper), lowerComparer);
154
returnedRanges[lowerBound] = new
SequenceRange
(newLower, newUpper);
250
SequenceRange searchFor = new
SequenceRange
(number);
270
return MergeWith(new
SequenceRange
(number));
290
this.range = new
SequenceRange
(lower, upper);
324
return MergeWith(new
SequenceRange
(number));
System\ServiceModel\Channels\TransmissionStrategy.cs (1)
655
return ProcessTransferred(new
SequenceRange
(transferred), quotaRemaining);
System\ServiceModel\Channels\WsrmMessageInfo.cs (1)
1489
rangeCollection = rangeCollection.MergeWith(new
SequenceRange
(lower, upper));
41 references to SequenceRange
System.ServiceModel (41)
System\ServiceModel\Channels\SequenceRange.cs (7)
48
public static bool operator ==(
SequenceRange
a,
SequenceRange
b)
53
public static bool operator !=(
SequenceRange
a,
SequenceRange
b)
63
public bool Contains(
SequenceRange
range)
74
else if (obj is
SequenceRange
)
76
return this == (
SequenceRange
)obj;
System\ServiceModel\Channels\SequenceRangeCollection.cs (30)
18
public abstract
SequenceRange
this[int index] { get; }
32
public abstract SequenceRangeCollection MergeWith(
SequenceRange
range);
34
static SequenceRangeCollection GeneralCreate(
SequenceRange
[] sortedRanges)
50
static SequenceRangeCollection GeneralMerge(
SequenceRange
[] sortedRanges,
SequenceRange
range)
91
SequenceRange
[] returnedRanges = new
SequenceRange
[sortedRanges.Length + 1];
134
SequenceRange
[] returnedRanges = new
SequenceRange
[sortedRanges.Length + 1];
152
SequenceRange
[] returnedRanges = new
SequenceRange
[rangesRemaining];
165
SequenceRange
range = this[i];
179
public override
SequenceRange
this[int index]
205
public override SequenceRangeCollection MergeWith(
SequenceRange
range)
213
SequenceRange
[] ranges;
215
public MultiItemRangeCollection(
SequenceRange
[] sortedRanges)
220
public override
SequenceRange
this[int index]
250
SequenceRange
searchFor = new SequenceRange(number);
273
public override SequenceRangeCollection MergeWith(
SequenceRange
newRange)
281
SequenceRange
range;
283
public SingleItemRangeCollection(
SequenceRange
range)
293
public override
SequenceRange
this[int index]
328
public override SequenceRangeCollection MergeWith(
SequenceRange
newRange)
348
return GeneralMerge(new
SequenceRange
[] { this.range }, newRange);
353
class LowerComparer : IComparer<
SequenceRange
>
355
public int Compare(
SequenceRange
x,
SequenceRange
y)
372
class UpperComparer : IComparer<
SequenceRange
>
374
public int Compare(
SequenceRange
x,
SequenceRange
y)
System\ServiceModel\Channels\TransmissionStrategy.cs (2)
593
SequenceRange
range = ranges[i];
692
bool ProcessTransferred(
SequenceRange
range, int quotaRemaining)
System\ServiceModel\Diagnostics\WsrmTraceRecord.cs (2)
95
IList<
SequenceRange
> ranges;
97
internal AcknowledgementTraceRecord(UniqueId id, IList<
SequenceRange
> ranges, int bufferRemaining)