27 references to Count
System.ServiceModel (27)
System\ServiceModel\Channels\TransmissionStrategy.cs (27)
126return (this.window.Count > 0 || this.waitQueue.Count > 0); 231sequenceNumber = this.windowStart + this.window.Count; 234if (this.requestAcks && (this.window.Count == this.windowSize - 1 || this.quotaRemaining == 1)) // can't add any more 240if (this.window.Count == 0) 273return (this.window.Count < this.windowSize && // Does the message fit in the transmission window? 307int count = Math.Min(this.windowSize, this.quotaRemaining) - this.window.Count; 354if (this.window.Count == 0) 372if (!this.closed && (this.window.Count > 0)) 463this.last = this.windowStart + this.window.Count - 1; 558if ((this.windowStart == 1) && (this.window.Count == 0)) 587Int64 lastMessageSent = this.windowStart + this.window.Count - 1; 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)); 697this.quotaRemaining = quotaRemaining - Math.Min(this.windowSize, this.window.Count); 715for (int i = 1; i < this.window.Count; i++) 736int inFlightAfterAck = Math.Min(this.windowSize, this.window.Count) - (int)slide; 772int sendEndIndex = Math.Min(this.windowSize, this.window.Count); 778for (int i = sendBeginIndex; i < this.windowSize && i < this.window.Count; i++) 790if (window.Count > 0) 831if (this.windowStart + this.window.Count + this.waitQueue.Count == Int64.MaxValue) 955if (this.Count == 0) 958return this.GetTransferredInRangeCount(0, this.Count - 1); 964if (this.Count >= (this.maxSize - 1)) 975if (index >= Count) 988this.Remove(Count); 1031if (endIndex >= this.Count) 1062if (count > this.Count)