1 write to ranges
System.ServiceModel (1)
System\ServiceModel\Channels\SequenceRangeCollection.cs (1)
217
this.
ranges
= sortedRanges;
10 references to ranges
System.ServiceModel (10)
System\ServiceModel\Channels\SequenceRangeCollection.cs (10)
224
if (index < 0 || index >=
ranges
.Length)
226
SR.GetString(SR.ValueMustBeInRange, 0,
ranges
.Length - 1)));
227
return this.
ranges
[index];
235
return this.
ranges
.Length;
241
if (this.
ranges
.Length == 0)
245
else if (this.
ranges
.Length == 1)
247
return this.
ranges
[0].Contains(number);
251
int searchValue = Array.BinarySearch(this.
ranges
, searchFor, lowerComparer);
265
return (this.
ranges
[searchValue - 1].Upper >= number);
275
return GeneralMerge(this.
ranges
, newRange);