Implemented interface member:
method
Insert
System.Collections.Generic.IList<T>.Insert(System.Int32, T)
169 references to Insert
mscorlib (6)
system\collections\generic\list.cs (3)
689Insert(index, (T) item); 738Insert(index++, en.Current); 1128_list.Insert(index, item);
system\diagnostics\eventing\eventsource.cs (1)
6610cultures.Insert(0, CultureInfo.CurrentUICulture);
system\io\filesystemenumerable.cs (1)
568searchStack.Insert(incr++, searchDataSubDir);
system\threading\Tasks\Task.cs (1)
4776list.Insert(0, tc);
PresentationCore (29)
Core\CSharp\MS\Internal\Ink\CuspData.cs (2)
72_points.Insert(index, cdp); 73_nodes.Insert(index, _nodes[index - 1] + (XY(index) - XY(index - 1)).Length);
Core\CSharp\MS\Internal\Ink\ErasingStroke.cs (1)
205eraseAt.Insert(i, fragment);
Core\CSharp\System\Windows\FreezableCollection.cs (1)
238_collection.Insert(index, value);
Core\CSharp\System\Windows\Ink\IncrementalHitTester.cs (1)
189_strokeInfos.Insert(firstIndex, new StrokeInfo(added[i]));
Core\CSharp\System\Windows\Input\Command\CommandBindingCollection.cs (1)
239_innerCBList.Insert(index, commandBinding);
Core\CSharp\System\Windows\Input\Command\InputBindingCollection.cs (1)
312_innerBindingList.Insert(index, inputBinding);
Core\CSharp\System\Windows\Input\Command\InputGestureCollection.cs (1)
333_innerGestureList.Insert(index, inputGesture);
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
PresentationFramework (42)
src\Framework\MS\Internal\Annotations\Component\AdornerPresentationContext.cs (1)
458adorners.Insert(index, adorner);
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (5)
425_segments.Insert(ind++, temp); 435_segments.Insert(ind++, new HighlightSegment(rangeSegment.Start, rangeSegment.End, highlightRange)); 448_segments.Insert(ind++, new HighlightSegment(rangeSegment.Start, rangeSegment.End, highlightRange)); 454_segments.Insert(ind++, new HighlightSegment(rangeEnumerator.Current.Start, rangeEnumerator.Current.End, highlightRange)); 695_owners.Insert(i, owner);
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (1)
1056_components.Insert(i, component);
src\Framework\MS\Internal\Annotations\TextAnchor.cs (3)
347anchor._segments.Insert(currentIndex + 1, CreateNormalizedSegment(otherSegment.End, current.End)); 441anchor._segments.Insert(current + 1, CreateNormalizedSegment(otherSegment.End, currentSegment.End)); 652_segments.Insert(i, newSegment);
src\Framework\MS\Internal\Documents\TextBoxView.cs (2)
2584_lineMetrics.Insert(lineIndex, record); 2774_viewportLineVisuals.Insert(lineIndex - _viewportLineVisualsIndex, null);
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (4)
455ancestorsStart.Insert(0, element); 456positionsStart.Insert(0, position.CreatePointer(LogicalDirection.Forward)); 471ancestorsEnd.Insert(0, element); 472positionsEnd.Insert(0, position.CreatePointer(LogicalDirection.Backward));
src\Framework\MS\Internal\Globalization\BamlTreeNode.cs (1)
515_children.Insert(lastProperty, child);
src\Framework\System\Windows\Annotations\LocatorPartList.cs (1)
408results.Insert(0, this);
src\Framework\System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (1)
85children.Insert(0, peer);
src\Framework\System\Windows\Automation\Peers\DataGridAutomationPeer.cs (1)
62children.Insert(0, columnsHeaderPresenterPeer);
src\Framework\System\Windows\Automation\Peers\GridViewAutomationPeer.cs (1)
87children.Insert(0, peer);
src\Framework\System\Windows\Automation\Peers\GridViewHeaderRowPresenterAutomationPeer.cs (1)
66newList.Insert(0, peer);
src\Framework\System\Windows\Controls\CustomDictionarySources.cs (1)
106_uriList.Insert(index, item);
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (2)
756_realizedChildren.Insert(childIndex, container); 1018realizedColumnDisplayIndices.Insert(displayIndexListIterator, displayIndex);
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (2)
370DisplayIndexMap.Insert(newDisplayIndex, columnIndex); 674DisplayIndexMap.Insert(newDisplayIndex, columnIndex);
src\Framework\System\Windows\Controls\GridViewColumnCollection.cs (1)
367_actualIndices.Insert(index, count);
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (2)
423_generatedItemsCollection.Insert(pos.Index + 1 + i, e); 518_generatedItemsCollection.Insert(toIndex + i, elements[i]);
src\Framework\System\Windows\Controls\TextBlock.cs (1)
1965textSegmentsList.Insert(0, textSegment);
src\Framework\System\Windows\Controls\ToolBarTray.cs (2)
915_bands.Insert(i, CreateBand(toolBarIndex)); 949band.Insert(i, toolBar);
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
8688_realizedChildren.Insert(childIndex, container);
src\Framework\System\Windows\Data\BindingExpressionBase.cs (1)
308list.Insert(0, BaseValidationError);
src\Framework\System\Windows\Documents\FixedFlowMap.cs (1)
374_flowOrder.Insert(newFlow.Fp, newFlow);
src\Framework\System\Windows\Documents\FixedSOMContainer.cs (1)
168_semanticBoxes.Insert(i+1, box);
src\Framework\System\Windows\Documents\FixedSOMLineCollection.cs (1)
98ranges.Insert(i, range);
src\Framework\System\Windows\Documents\FixedSOMLineRanges.cs (2)
36Start.Insert(i, start); 37End.Insert(i, end);
src\Framework\System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (1)
383_keyFrames.Insert(index, keyFrame);
src\Framework\System\Windows\TriggerActionCollection.cs (1)
142_rawList.Insert(index, value);
System.Activities (2)
System\Activities\Statements\ExecutionTracker.cs (1)
38this.executionOrderedList.Insert(0, compensationToken);
System\Activities\Statements\TimerTable.cs (1)
313this.list.Insert(~index, timerData);
System.Activities.Core.Presentation (1)
System\ServiceModel\Activities\Presentation\ContentCorrelationTypeExpander.xaml.cs (1)
200members.Insert(0, member);
System.Activities.Presentation (18)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\UserInterface\FocusScopeManager.cs (1)
421this.scopes.Insert(index, new WeakReference(scope));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (5)
154_values.Insert(index, indexer); 374_values.Insert(currentIndex, newIndexer); 375_values.Insert(newIndex, currentIndexer); 379_values.Insert(newIndex, currentIndexer); 380_values.Insert(currentIndex, newIndexer);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (3)
183this.editPoints.Insert(0, new EditPoint(EditPoint.EditPointTypes.ConnectionEditPoint, editedConnector.Points[0])); 204this.editPoints.Insert(this.editPoints.Count - 1, new EditPoint(EditPoint.EditPointTypes.MultiSegmentEditPoint, segments[i])); 301this.editPoints.Insert(i + 1, new EditPoint(EditPoint.EditPointTypes.MultiSegmentEditPoint, location));
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (1)
569this.modelItems.Insert(index, item);
System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
240this.UniqueNamespaces.Insert(index, ns);
System.Activities.Presentation\System\Activities\Presentation\UndoEngine.cs (1)
317this.containerUndoUnit.RedoList.Insert(0, unitToUndo);
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (1)
289selectedModelItems.Insert(0, view.ModelItem);
System.Activities.Presentation\System\Activities\Presentation\View\Selection.cs (3)
201list.Insert(0, itemToSelect); 284list.Insert(0, itemToToggle); 320list.Insert(0, itemToAdd);
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (2)
963scope1List.Insert(0, scope1); 967scope2List.Insert(0, scope2);
System.Configuration (1)
System\Configuration\SectionRecord.cs (1)
267inputs.Insert(0, sectionInput);
System.Data (22)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\UserInterface\FocusScopeManager.cs (1)
421this.scopes.Insert(index, new WeakReference(scope));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (5)
154_values.Insert(index, indexer); 374_values.Insert(currentIndex, newIndexer); 375_values.Insert(newIndex, currentIndexer); 379_values.Insert(newIndex, currentIndexer); 380_values.Insert(currentIndex, newIndexer);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (3)
183this.editPoints.Insert(0, new EditPoint(EditPoint.EditPointTypes.ConnectionEditPoint, editedConnector.Points[0])); 204this.editPoints.Insert(this.editPoints.Count - 1, new EditPoint(EditPoint.EditPointTypes.MultiSegmentEditPoint, segments[i])); 301this.editPoints.Insert(i + 1, new EditPoint(EditPoint.EditPointTypes.MultiSegmentEditPoint, location));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (1)
569this.modelItems.Insert(index, item);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
240this.UniqueNamespaces.Insert(index, ns);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\UndoEngine.cs (1)
317this.containerUndoUnit.RedoList.Insert(0, unitToUndo);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (1)
289selectedModelItems.Insert(0, view.ModelItem);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\Selection.cs (3)
201list.Insert(0, itemToSelect); 284list.Insert(0, itemToToggle); 320list.Insert(0, itemToAdd);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (2)
963scope1List.Insert(0, scope1); 967scope2List.Insert(0, scope2);
fx\src\data\System\Data\Common\DataColumnMappingCollection.cs (1)
265ArrayList().Insert(index, value);
fx\src\data\System\Data\Common\DataTableMappingCollection.cs (1)
268ArrayList().Insert(index, value);
fx\src\Data\System\Data\ProviderBase\DbParameterCollectionHelper.cs (1)
185InnerList.Insert(index, (PARAMETEROBJECTNAME)value);
fx\src\data\System\Data\SqlClient\SqlDependency.cs (1)
987_serverList.Insert(index, server);
System.Data.Entity (10)
System\Data\Common\Utils\ThreadSafeList.cs (1)
116_list.Insert(index, item);
System\Data\EntityClient\DbParameterCollectionHelper.cs (1)
187InnerList.Insert(index, (EntityParameter)value);
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (1)
179m_children.Insert(index, child);
System\Data\Objects\Internal\ObjectSpanRewriter.cs (1)
295tracking.ColumnDefinitions.Insert(
System\Data\Query\PlanCompiler\CTreeGenerator.cs (2)
101_propertyChain.Insert(0, propName); 130vInf.PropertyPath.Insert(0, propName);
System\Data\Query\PlanCompiler\NestPullup.cs (2)
538newNestChildren.Insert(0, newJoinApplyNode); 1162collectionNodes.Insert(0, projectNode);
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (2)
2311inputFieldValues.Insert(0, CreateNullSentinelConstant()); 2466inputFieldValues.Insert(0, m_command.CreateNode(m_command.CreateInternalConstantOp(md.Helper.GetModelTypeUsage(outputTypeInfo.EntitySetIdProperty), entitySetId)));
System.Data.Services.Client (1)
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
1423propertyPath.Insert(0, pi.Name);
System.Data.SqlXml (3)
System\Xml\Xsl\Runtime\DodSequenceMerge.cs (2)
117this.sequencesToMerge.Insert(i + 1, sequence); 132this.sequencesToMerge.Insert(0, sequence);
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
1612content.Insert(0, f.CopyOf(select, input.XslVersion));
System.ServiceModel (1)
System\ServiceModel\SynchronizedCollection.cs (1)
202this.items.Insert(index, item);
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (1)
5228this.Waiters.Insert(0, token);
System.Web (2)
UI\WebControls\MenuItemCollection.cs (1)
89_list.Insert(index, child);
UI\WebControls\TreeNodeCollection.cs (1)
95_list.Insert(index, child);
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceDataSelection.cs (1)
215_entityTypeFilters.Insert(0, s_entityTypeFilterNoneItem);
System.Web.Extensions (1)
UI\ScriptManager.cs (1)
1011scripts.Insert(scriptIndex, frameworkScriptBase);
System.Windows.Forms (8)
winforms\Managed\System\Resources\ResXDataNode.cs (1)
1020assemblyList.Insert(0, names[i]);
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (6)
1670this.rowStates.Insert(rowIndex, dataGridViewRow.State); 1751this.rowStates.Insert(indexDestination + i, rowTemplateState); 1770this.rowStates.Insert(indexDestination, rowTemplateState); 1795this.rowStates.Insert(indexDestination + i, rowTemplateState); 1860this.rowStates.Insert(indexDestination, rowState); 1944this.rowStates.Insert(rowIndexInserted, dataGridViewRow.State);
winforms\Managed\System\WinForms\NumericUpDownAccelerationCollection.cs (1)
49this.items.Insert(index, acceleration);
System.Workflow.Activities (4)
EventHandlers.cs (1)
176activity.ActivityState.Insert(activity.EnabledActivities.IndexOf(addedActivity), eventActivitySubscriber);
Listen.cs (1)
143listen.ActivityState.Insert(listen.EnabledActivities.IndexOf(addedActivity), eventActivitySubscriber);
Task.cs (2)
866Insert(index, value); 878Insert(indexOfInsert, value);
System.Workflow.ComponentModel (8)
AuthoringOM\ActivitiesCollection.cs (1)
78base.Insert(index, item);
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (1)
119properties.Insert(0, nameProperty);
AuthoringOM\Design\Connector.cs (4)
1252this.editPoints.Insert(0, new EditPoint(this, Source)); 1267this.editPoints.Insert(i + 1, new EditPoint(this, EditPoint.EditPointTypes.MidSegmentEditPoint, midPoint)); 1399this.editPoints.Insert(i + 1, new EditPoint(this, EditPoint.EditPointTypes.MultiSegmentEditPoint, location)); 1822excludedRectangles.Insert(0, enclosingRectangle);
AuthoringOM\Design\WorkflowView.cs (1)
764this.customMessageFilters.Insert(0, designerMessageFilter);
AuthoringOM\ItemList.cs (1)
146base.Insert(index, item);
System.Workflow.Runtime (3)
Tracking.cs (2)
1678list.Insert(pos, item); 1688list.Insert(pos, item);
Tracking\SqlTrackingService.cs (1)
1871ids.Insert(i, (long)command.Parameters["@TrackingDataItemId" + index].Value);
System.WorkflowServices (1)
System\Workflow\Activities\OperationParameterInfoCollection.cs (1)
294base.Insert(index, item);
System.Xml (1)
System\Xml\XPath\Internal\Query.cs (1)
135buffer.Insert(l, nav.Clone());
WindowsBase (3)
Base\MS\Internal\IO\Packaging\SparseMemoryStream.cs (2)
568_memoryStreamList.Insert(index, prevMemStreamBlock); 632_memoryStreamList.Insert(index, memStreamBlock);
Base\System\Windows\Threading\Dispatcher.cs (1)
2789list.Insert(100, "... entries removed to conserve memory ...");