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