43 references to RemoveRange
mscorlib (1)
System\Diagnostics\Eventing\TraceLogging\TraceLoggingTypeInfo_T.cs (1)
147recursionCheck.RemoveRange(recursionCheckCount, recursionCheck.Count - recursionCheckCount);
PresentationCore (3)
Core\CSharp\MS\Internal\Ink\Lasso.cs (1)
734points.RemoveRange(0, i /*count*/); // Remove points[0] to points[i-1]
Core\CSharp\MS\Internal\Ink\StrokeRenderer.cs (1)
176connectingQuadPoints.RemoveRange((cbEndIndex - countToRemove) + 1, countToRemove);
Core\CSharp\System\Windows\Media\Animation\WeakRefEnumerator.cs (1)
111_list.RemoveRange(_writeIndex, _readIndex - _writeIndex);
PresentationFramework (21)
src\Framework\MS\Internal\Annotations\TextAnchor.cs (1)
459anchor._segments.RemoveRange(current, anchor._segments.Count - current);
src\Framework\MS\Internal\Documents\PageCache.cs (1)
437_cache.RemoveRange(pageCount, _cache.Count - pageCount);
src\Framework\MS\Internal\Documents\RowCache.cs (1)
1197_rowCache.RemoveRange( rowIndex, removeCount);
src\Framework\MS\Internal\Documents\TextBoxView.cs (4)
1975_visualChildren.RemoveRange(j + 1, _visualChildren.Count - j - 1); 2509_lineMetrics.RemoveRange(lineIndex, lastLineIndex - lineIndex + 1); 2634_lineMetrics.RemoveRange(lineIndex, count); 2823_viewportLineVisuals.RemoveRange(start, count);
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (2)
1591objectsCached.RemoveRange(start, end - start); 1698objectsCached.RemoveRange(first, last - first);
src\Framework\System\Windows\Annotations\AnnotationService.cs (1)
859annotations.RemoveRange(_maxAnnotationsBatch, annotations.Count - _maxAnnotationsBatch);
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (2)
1159_realizedChildren.RemoveRange(startIndex, count); 2112_realizedChildren.RemoveRange(pos, itemUICount);
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
2890_list.RemoveRange(j, n-j);
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (2)
463_generatedItemsCollection.RemoveRange(pos.Index, containerCount); 514_generatedItemsCollection.RemoveRange(fromPos.Index, containerCount);
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (4)
4490offsetList.RemoveRange(0, index); 8860_realizedChildren.RemoveRange(pos, uiCount); 9329_realizedChildren.RemoveRange(startIndex, count); 12477_traceList.RemoveRange(0, purgeCount);
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
3693_list.RemoveRange(destIndex, n - destIndex);
src\Framework\System\Windows\Navigation\Journal.cs (1)
355_journalEntryList.RemoveRange(_currentEntryIndex, _journalEntryList.Count - _currentEntryIndex);
System (5)
net\System\Net\_Connection.cs (1)
195returnResult.m_Context.RemoveRange(0,(i+1));
regex\system\text\regularexpressions\RegexCharClass.cs (1)
1141_rangelist.RemoveRange(j, _rangelist.Count - j);
regex\system\text\regularexpressions\RegexNode.cs (2)
438_children.RemoveRange(j, i - j); 524_children.RemoveRange(j, i - j);
regex\system\text\regularexpressions\RegexParser.cs (1)
221_optionsStack.RemoveRange(0, _optionsStack.Count - 1);
System.Data.Entity (2)
System\Data\Common\EntitySql\StaticContext.cs (1)
514_scopes.RemoveRange(scopeIndex + 1, CurrentScopeIndex - scopeIndex);
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
3231result.FromExtents.RemoveRange(fromSymbolStart, result.FromExtents.Count - fromSymbolStart);
System.Data.SqlXml (1)
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (1)
1314content.RemoveRange(split + 1, content.Count - split - 1);
System.ServiceModel (2)
System\ServiceModel\Channels\PnrpPeerResolver.cs (2)
428addressList.RemoveRange(MaxAddressEntries, addressList.Count - MaxAddressEntries); 1954infos.RemoveRange(PnrpPeerResolver.MaxAddressEntriesV1, registerQuery.CsAddrInfos.Length - PnrpPeerResolver.MaxAddressEntriesV1);
System.Web.DataVisualization (1)
WebForm\General\ChartHttpHandler.cs (1)
2114_messages.RemoveRange(0, _messages.Count - MessageLimit);
System.Xml (1)
System\Xml\Schema\ContentValidator.cs (1)
1730runningPositions.RemoveRange(0, k); //Delete entries from 0 to k-1
WindowsBase (6)
Base\MS\Internal\IO\Packaging\PieceDirectory.cs (2)
309_pieceStreamInfoList.RemoveRange(_indexOfLastPieceStreamInfoAccessed + 1, _pieceStreamInfoList.Count - (_indexOfLastPieceStreamInfoAccessed + 1)); 438_sortedPieceInfoList.RemoveRange(_lastPieceIndex + 1, _sortedPieceInfoList.Count - (_lastPieceIndex + 1));
Base\MS\Internal\IO\Packaging\SparseMemoryStream.cs (2)
136_memoryStreamList.RemoveRange(removeIndex, _memoryStreamList.Count - removeIndex); 584_memoryStreamList.RemoveRange(index, i - index);
Base\System\IO\Packaging\ZipPackage.cs (1)
1287pieces.RemoveRange(lastPieceNumber + 1, pieces.Count - lastPieceNumber - 1);
Base\System\Windows\Threading\Dispatcher.cs (1)
2787list.RemoveRange(100, list.Count-200);