286 implementations of Insert
aspire (1)
src\Shared\CircularBuffer.cs (1)
70public void Insert(int index, T item)
Aspire.Dashboard (1)
src\Shared\CircularBuffer.cs (1)
70public void Insert(int index, T item)
Aspire.Hosting (2)
ApplicationModel\ResourceCollection.cs (1)
28public void Insert(int index, IResource item) => _resources.Insert(index, item);
src\Shared\CircularBuffer.cs (1)
70public void Insert(int index, T item)
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedCollection.cs (1)
142public void Insert(int index, T item)
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
158void IList<T>.Insert(int index, T value)
Shared\Options\ListValue.cs (1)
29public void Insert(int index, TValue value)
GenerateDocumentationAndConfigFiles (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
Metrics (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
Metrics.Legacy (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
Microsoft.AspNetCore.Http.Abstractions (10)
EndpointFilterInvocationContextOfT.Generated.cs (10)
113public void Insert(int index, object? item) 242public void Insert(int index, object? item) 378public void Insert(int index, object? item) 521public void Insert(int index, object? item) 671public void Insert(int index, object? item) 828public void Insert(int index, object? item) 992public void Insert(int index, object? item) 1163public void Insert(int index, object? item) 1341public void Insert(int index, object? item) 1526public void Insert(int index, object? item)
Microsoft.AspNetCore.HttpOverrides (2)
DualIPNetworkList.cs (2)
96void IList<IPNetwork>.Insert(int index, IPNetwork item) 102void IList<AspNetIPNetwork>.Insert(int index, AspNetIPNetwork item)
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\CopyOnWriteList.cs (1)
99public void Insert(int index, T item)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
CollectionModelBinderIntegrationTest.cs (2)
1356void IList<string>.Insert(int index, string item) 1496void IList<T>.Insert(int index, T item)
Microsoft.AspNetCore.Razor (1)
TagHelpers\TagHelperAttributeList.cs (1)
144public void Insert(int index, TagHelperAttribute attribute)
Microsoft.CodeAnalysis (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
Microsoft.CodeAnalysis.Analyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
Microsoft.CodeAnalysis.AnalyzerUtilities (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
Microsoft.CodeAnalysis.BannedApiAnalyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
Microsoft.CodeAnalysis.CodeStyle (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
Microsoft.CodeAnalysis.Collections.Package (7)
Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
Microsoft.CodeAnalysis.Extensions.Package (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
Microsoft.CodeAnalysis.InteractiveHost (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
Microsoft.CodeAnalysis.PublicApiAnalyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
Microsoft.CodeAnalysis.ResxSourceGenerator (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
Microsoft.CodeAnalysis.Scripting (1)
Hosting\SynchronizedList.cs (1)
100public void Insert(int index, T item)
Microsoft.CodeAnalysis.Threading.Package (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
Microsoft.CodeAnalysis.Workspaces (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
Microsoft.Extensions.AI.Abstractions (1)
Embeddings\GeneratedEmbeddings.cs (1)
87public void Insert(int index, TEmbedding item) => _embeddings.Insert(index, item);
Microsoft.Extensions.Configuration (1)
ConfigurationManager.cs (1)
239public void Insert(int index, IConfigurationSource source)
Microsoft.Extensions.DependencyInjection.Abstractions (1)
ServiceCollection.cs (1)
91public void Insert(int index, ServiceDescriptor item)
Microsoft.Extensions.Http (1)
DependencyInjection\DefaultHttpClientBuilderServiceCollection.cs (1)
71public void Insert(int index, ServiceDescriptor item) => _services.Insert(index, item);
Microsoft.Extensions.Primitives (1)
StringValues.cs (1)
390void IList<string?>.Insert(int index, string? item) => throw new NotSupportedException();
Microsoft.Maui (3)
Hosting\Internal\FontCollection.cs (1)
40 public void Insert(int index, FontDescriptor item) => _descriptors.Insert(index, item);
Hosting\Internal\MauiServiceCollection.cs (1)
61 public void Insert(int index, ServiceDescriptor item)
Primitives\LockableObservableListWrapper.cs (1)
103 public void Insert(int index, string item)
Microsoft.Maui.Controls (24)
DefinitionCollection.cs (1)
76 public void Insert(int index, T item)
Element\Element.cs (1)
1104 void IList<Element>.Insert(int index, Element item) => throw new NotSupportedException();
Interactivity\TriggerBase.cs (1)
206 public void Insert(int index, T item)
Items\SelectionList.cs (1)
76 public void Insert(int index, object item)
Layout\Layout.cs (2)
221 public void InsertInsert(int index, IView child)
LegacyLayouts\LayoutOfT.cs (1)
41 void IList<IView>.Insert(int index, IView child)
Menu\MenuBar.cs (1)
88 public void Insert(int index, IMenuBarItem item)
Menu\MenuBarItem.cs (1)
94 public void Insert(int index, IMenuElement item)
Menu\MenuFlyout.cs (1)
76 public void Insert(int index, IMenuElement item)
Menu\MenuFlyoutSubItem.cs (1)
63 public void Insert(int index, IMenuElement item)
NavigationStepRequest.cs (1)
67 public void Insert(int index, NavigationStepRequest item)
ObservableWrapper.cs (1)
130 public void Insert(int index, TRestrict item)
OrderedDictionary.cs (2)
255 void IList<KeyValuePair<TKey, TValue>>.Insert(int index, KeyValuePair<TKey, TValue> item) 435 public void Insert(int index, TValue item)
ReadOnlyCastingList.cs (1)
112 public void Insert(int index, T item) =>
Shell\MenuItemCollection.cs (1)
51 public void Insert(int index, MenuItem item) => _inner.Insert(index, item);
Shell\ShellElementCollection.cs (2)
135 public virtual void Insert(int index, BaseShellItem item) => Inner.Insert(index, item); 317 public virtual void Insert(int index, TBaseShellItem item) => Inner.Insert(index, item);
SwipeView\SwipeItems.cs (1)
112 public void Insert(int index, ISwipeItem item)
SynchronizedList.cs (1)
91 public void Insert(int index, T item)
TableView\TableSection.cs (1)
100 public void Insert(int index, T item)
VisualStateManager.cs (2)
302 public void Insert(int index, VisualStateGroup item) 781 public void Insert(int index, T item)
Microsoft.Maui.Controls.Maps (2)
HandlerImpl\Polygon.Impl.cs (1)
108 public void Insert(int index, Location item)
HandlerImpl\Polyline.Impl.cs (1)
106 public void Insert(int index, Location item)
PresentationCore (32)
MS\Internal\PartialArray.cs (1)
79public void Insert(int index, T item)
MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
223public void Insert(int index, double item)
MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (1)
167public void Insert(int index, Point item)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CharacterBuffer.cs (1)
72public void Insert(int index, char item)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PartialList.cs (1)
50public void Insert(int index, T item)
System\Windows\FreezableCollection.cs (1)
189public void Insert(int index, T value)
System\Windows\Generated\TextDecorationCollection.cs (1)
115public void Insert(int index, TextDecoration value)
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
114public void Insert(int index, Timeline value)
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
117public void Insert(int index, BitmapEffect value)
System\Windows\Media\FamilyMapCollection.cs (1)
163public void Insert(int index, FontFamilyMap item)
System\Windows\Media\FamilyTypefaceCollection.cs (1)
150public void Insert(int index, FamilyTypeface item)
System\Windows\Media\Generated\DoubleCollection.cs (1)
118public void Insert(int index, double value)
System\Windows\Media\Generated\DrawingCollection.cs (1)
136public void Insert(int index, Drawing value)
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
124public void Insert(int index, GeneralTransform value)
System\Windows\Media\Generated\GeometryCollection.cs (1)
136public void Insert(int index, Geometry value)
System\Windows\Media\Generated\GradientStopCollection.cs (1)
124public void Insert(int index, GradientStop value)
System\Windows\Media\Generated\Int32Collection.cs (1)
118public void Insert(int index, int value)
System\Windows\Media\Generated\PathFigureCollection.cs (1)
125public void Insert(int index, PathFigure value)
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
124public void Insert(int index, PathSegment value)
System\Windows\Media\Generated\PointCollection.cs (1)
118public void Insert(int index, Point value)
System\Windows\Media\Generated\TextEffectCollection.cs (1)
124public void Insert(int index, TextEffect value)
System\Windows\Media\Generated\TransformCollection.cs (1)
136public void Insert(int index, Transform value)
System\Windows\Media\Generated\VectorCollection.cs (1)
118public void Insert(int index, Vector value)
System\Windows\Media\GlyphRun.cs (2)
2096public void Insert(int index, bool item) 2198public void Insert(int index, ushort item)
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
122public void Insert(int index, GeneralTransform3D value)
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
134public void Insert(int index, Material value)
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
134public void Insert(int index, Model3D value)
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
116public void Insert(int index, Point3D value)
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
134public void Insert(int index, Transform3D value)
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
116public void Insert(int index, Vector3D value)
System\Windows\Media3D\Visual3DCollection.cs (1)
65public void Insert(int index, Visual3D value)
PresentationFramework (12)
MS\Internal\Data\RBTree.cs (1)
486public void Insert(int index, T item)
MS\Internal\Documents\ContentElementCollection.cs (1)
218public abstract void Insert(int index, TItem item);
MS\Internal\ListOfObject.cs (1)
28void IList<object>.Insert(int index, object item)
System\Windows\Controls\ColumnDefinition.cs (1)
237public void Insert(int index, ColumnDefinition value) // void IList<T>.Insert(int index, T item)
System\Windows\Controls\CustomDictionarySources.cs (1)
88void IList<Uri>.Insert(int index, Uri item)
System\Windows\Controls\RowDefinition.cs (1)
232public void Insert(int index, RowDefinition value) // void IList<T>.Insert(int index, T item)
System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
329public void Insert(int index, DataGridCellInfo cell)
System\Windows\Documents\TableCellCollection.cs (1)
178public void Insert(int index, TableCell item)
System\Windows\Documents\TableColumnCollection.cs (1)
178public void Insert(int index, TableColumn item)
System\Windows\Documents\TableRowCollection.cs (1)
178public void Insert(int index, TableRow item)
System\Windows\Documents\TableRowGroupCollection.cs (1)
178public void Insert(int index, TableRowGroup item)
System\Windows\TriggerActionCollection.cs (1)
136public void Insert(int index, TriggerAction value)
Roslyn.Diagnostics.Analyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
System.Collections (5)
System\Collections\Generic\OrderedDictionary.cs (3)
1188void IList<KeyValuePair<TKey, TValue>>.Insert(int index, KeyValuePair<TKey, TValue> item) => Insert(index, item.Key, item.Value); 1607void IList<TKey>.Insert(int index, TKey item) => throw new NotSupportedException(); 1768void IList<TValue>.Insert(int index, TValue item) => throw new NotSupportedException();
System\Collections\Generic\SortedList.cs (2)
1068public void Insert(int index, TKey value) 1182public void Insert(int index, TValue value)
System.Collections.Immutable (5)
System\Collections\Immutable\ImmutableArray_1.Builder.cs (1)
253public void Insert(int index, T item)
System\Collections\Immutable\ImmutableArray_1.cs (1)
1043void IList<T>.Insert(int index, T item)
System\Collections\Immutable\ImmutableList_1.Builder.cs (1)
161public void Insert(int index, T item)
System\Collections\Immutable\ImmutableList_1.cs (1)
926void IList<T>.Insert(int index, T item) => throw new NotSupportedException();
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
761void IList<T>.Insert(int index, T item)
System.Data.Common (1)
System\Data\Common\DbBatchCommandCollection.cs (1)
31public abstract void Insert(int index, DbBatchCommand item);
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\TagList.netcore.cs (1)
176public void Insert(int index, KeyValuePair<string, object?> item)
System.DirectoryServices.AccountManagement (1)
artifacts\obj\System.DirectoryServices.AccountManagement\Debug\net11.0\System.DirectoryServices.AccountManagement.notsupported.cs (1)
374public void Insert(int index, T value) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); }
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.cs (1)
746public void Insert(int index, string item)
System.Linq (4)
System\Linq\Grouping.cs (1)
416void IList<TElement>.Insert(int index, TElement item) => ThrowHelper.ThrowNotSupportedException();
System\Linq\Range.SpeedOpt.cs (1)
106void IList<T>.Insert(int index, T item) => ThrowHelper.ThrowNotSupportedException();
System\Linq\Repeat.SpeedOpt.cs (1)
113void IList<TResult>.Insert(int index, TResult item) => ThrowHelper.ThrowNotSupportedException();
System\Linq\SkipTake.SpeedOpt.cs (1)
212void IList<TSource>.Insert(int index, TSource item) => ThrowHelper.ThrowNotSupportedException();
System.Linq.AsyncEnumerable (2)
System\Linq\GroupBy.cs (1)
454void IList<TElement>.Insert(int index, TElement item) => throw new NotSupportedException();
System\Linq\ToLookupAsync.cs (1)
259public void Insert(int index, IGrouping<TKey, TElement> item) => throw new NotSupportedException();
System.Linq.Expressions (3)
System\Dynamic\Utils\ListArgumentProvider.cs (1)
41public void Insert(int index, T item)
System\Linq\Expressions\BlockExpression.cs (1)
711public void Insert(int index, Expression item)
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
125public void Insert(int index, T item)
System.Linq.Parallel (1)
System\Linq\Parallel\QueryOperators\QueryResults.cs (1)
92void IList<T>.Insert(int index, T item)
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (1)
209void IList<T>.Insert(int index, T item) => ThrowHelper.ThrowNotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
770public void Insert(int index, T item)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
96public void Insert(int index, T item)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
76void IList<T>.Insert(int index, T value)
System.Private.Xml (4)
System\Xml\Xsl\ListBase.cs (1)
73public virtual void Insert(int index, T value)
System\Xml\Xsl\QIL\QilNode.cs (1)
125public virtual void Insert(int index, QilNode node)
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (2)
342void IList<T>.Insert(int index, T value) 745void IList<XPathItem>.Insert(int index, XPathItem value)
System.ServiceModel.Primitives (2)
System\ServiceModel\SynchronizedCollection.cs (1)
140public void Insert(int index, T item)
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
155void IList<T>.Insert(int index, T value)
System.Text.Json (3)
System\Text\Json\Nodes\JsonArray.IList.cs (1)
77public void Insert(int index, JsonNode? item)
System\Text\Json\Nodes\JsonObject.IList.cs (1)
96void IList<KeyValuePair<string, JsonNode?>>.Insert(int index, KeyValuePair<string, JsonNode?> item) => Insert(index, item.Key, item.Value);
System\Text\Json\Serialization\ConfigurationList.cs (1)
85public void Insert(int index, TItem item)
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\CaptureCollection.cs (1)
127void IList<Capture>.Insert(int index, Capture item) =>
System\Text\RegularExpressions\GroupCollection.cs (1)
141void IList<Group>.Insert(int index, Group item) =>
System\Text\RegularExpressions\MatchCollection.cs (1)
137void IList<Match>.Insert(int index, Match item) =>
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ListAdapter.cs (1)
36void IList<T>.Insert(int index, T item) => _list.Insert(index, item.OrThrowIfNull());
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
52public void Insert(int index, T item)
System.Windows.Forms.Tests (1)
System\Windows\Forms\ListBindingHelperTests.cs (1)
595public void Insert(int index, int item) => throw new NotImplementedException();
System.Xaml (1)
System\Xaml\XamlSchemaContext.cs (1)
1422void IList<T>.Insert(int index, T item)
Test.Utilities (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
Text.Analyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
645void IList<T>.Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
161public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
211public void Insert(int index, T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
274void IList<T>.Insert(int index, T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
855public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
36public void Insert(int index, T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
93public void Insert(int index, T item)
97 references to Insert
Aspire.Hosting (3)
Ats\CollectionExports.cs (1)
194list.Insert(index, item);
Dashboard\DashboardEventHandlers.cs (2)
75@event.Model.Resources.Insert(0, dashboardResource); 357model.Resources.Insert(0, dashboardResource);
Aspire.Hosting.Azure.Tests (2)
AzureContainerAppsTests.cs (1)
813builder.Services.Configure<AzureProvisioningOptions>(options => options.ProvisioningBuildOptions.InfrastructureResolvers.Insert(0, new MyResourceNamePropertyResolver()));
AzureResourceOptionsTests.cs (1)
30options.ProvisioningBuildOptions.InfrastructureResolvers.Insert(0, new AspireV8ResourceNamePropertyResolver());
Aspire.Hosting.Tests (1)
ApplicationModel\Docker\DockerfileStageTests.cs (1)
550stage.Statements.Insert(0, new DockerfileCommentStatement("Generated Dockerfile for Node.js application"));
FormatterWebSite (2)
Startup.cs (1)
19.AddNewtonsoftJson(options => options.SerializerSettings.Converters.Insert(0, new IModelConverter()))
StartupWithComplexParentValidation.cs (1)
12.AddNewtonsoftJson(options => options.SerializerSettings.Converters.Insert(0, new IModelConverter()));
Microsoft.AspNetCore.Authentication.BearerToken (1)
BearerTokenConfigureJsonOptions.cs (1)
14options.SerializerOptions.TypeInfoResolverChain.Insert(0, BearerTokenJsonSerializerContext.Default);
Microsoft.AspNetCore.Authentication.Test (2)
JwtBearerTests.cs (1)
195o.SecurityTokenValidators.Insert(0, new InvalidTokenValidator());
JwtBearerTests_Handler.cs (1)
184o.TokenHandlers.Insert(0, new InvalidTokenValidator());
Microsoft.AspNetCore.Http.Extensions (1)
ProblemDetailsJsonOptionsSetup.cs (1)
24options.SerializerOptions.TypeInfoResolverChain.Insert(0, new ProblemDetailsJsonContext());
Microsoft.AspNetCore.Http.Microbenchmarks (1)
ValidatableTypesBenchmark.cs (1)
38options.Resolvers.Insert(0, mockResolver);
Microsoft.AspNetCore.HttpOverrides.Tests (2)
DualIPNetworkListTests.cs (2)
165options.KnownIPNetworks.Insert(0, System.Net.IPNetwork.Parse("10.0.0.0/8")); 177options.KnownNetworks.Insert(0, new AspNetIPNetwork(IPAddress.Parse("10.0.0.0"), 8));
Microsoft.AspNetCore.Identity (1)
IdentityEndpointsJsonOptionsSetup.cs (1)
15options.SerializerOptions.TypeInfoResolverChain.Insert(0, IdentityEndpointsJsonSerializerContext.Default);
Microsoft.AspNetCore.Localization (1)
RequestLocalizationOptionsExtensions.cs (1)
27requestLocalizationOptions.RequestCultureProviders.Insert(0, requestCultureProvider);
Microsoft.AspNetCore.Localization.Tests (8)
CookieRequestCultureProviderTest.cs (5)
45options.RequestCultureProviders.Insert(0, provider); 98options.RequestCultureProviders.Insert(0, provider); 147options.RequestCultureProviders.Insert(0, provider); 198options.RequestCultureProviders.Insert(0, provider); 258options.RequestCultureProviders.Insert(0, provider);
CustomRequestCultureProviderTest.cs (1)
38options.RequestCultureProviders.Insert(0, new CustomRequestCultureProvider(context =>
QueryStringRequestCultureProviderTest.cs (2)
282options.RequestCultureProviders.Insert(0, provider); 330options.RequestCultureProviders.Insert(0, provider);
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\ActionAttributeRouteModel.cs (1)
138selector.EndpointMetadata.Insert(i, controllerMetadata[i]);
Builder\MvcApplicationBuilderExtensions.cs (1)
86routes.Routes.Insert(0, AttributeRouting.CreateAttributeMegaRoute(app.ApplicationServices));
Microsoft.AspNetCore.Mvc.Core.Test (10)
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (9)
608options.ModelBinderProviders.Insert(0, propertyBinder); 673options.ModelBinderProviders.Insert(0, propertyBinder); 712options.ModelBinderProviders.Insert(0, propertyBinder); 744options.ModelBinderProviders.Insert(0, propertyBinder); 767options.ModelBinderProviders.Insert(0, propertyBinder); 792options.ModelBinderProviders.Insert(0, propertyBinder); 817options.ModelBinderProviders.Insert(0, propertyBinder); 845options.ModelBinderProviders.Insert(0, new TestModelBinderProvider(firstNameProperty, ModelBindingResult.Success("John"))); 848options.ModelBinderProviders.Insert(0, new TestModelBinderProvider(lastNameProperty, ModelBindingResult.Success("Doe")));
ModelBinding\ModelBinderFactoryTest.cs (1)
370options.Value.ModelBinderProviders.Insert(0, modelBinderProvider);
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
DataAnnotationsModelValidatorProvider.cs (1)
82context.Results.Insert(0, validatorItem);
Microsoft.AspNetCore.Mvc.IntegrationTests (9)
BindingSourceMetadataProviderIntegrationTest.cs (2)
22options.ModelBinderProviders.Insert(0, new CancellationTokenModelBinderProvider()); 76options.ModelBinderProviders.Insert(0, new FormFileModelBinderProvider());
DictionaryModelBinderIntegrationTest.cs (4)
586options => options.ValueProviderFactories.Insert(0, new JQueryQueryStringValueProviderFactory())); 656options => options.ValueProviderFactories.Insert(0, new JQueryQueryStringValueProviderFactory())); 979options => options.ValueProviderFactories.Insert(0, new JQueryQueryStringValueProviderFactory())); 1057options => options.ValueProviderFactories.Insert(0, new JQueryQueryStringValueProviderFactory()));
ExcludeBindingMetadataProviderIntegrationTest.cs (2)
23options.ModelBinderProviders.Insert(0, modelBinderProvider); 68options.ModelBinderProviders.Insert(0, modelBinderProvider);
ModelBindingTestHelper.cs (1)
94options.Value.ModelBinderProviders.Insert(0, binderProvider);
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\DefaultPageLoader.cs (1)
83b.Metadata.Insert(0, endpointMetadata[i]);
Microsoft.AspNetCore.OpenApi (1)
Schemas\OpenApiSchemaJsonOptions.cs (1)
14options.SerializerOptions.TypeInfoResolverChain.Insert(0, OpenApiJsonSchemaContext.Default);
Microsoft.AspNetCore.Razor (1)
TagHelpers\TagHelperAttributeList.cs (1)
148Items.Insert(index, attribute);
Microsoft.AspNetCore.Routing (1)
RouteEndpointDataSource.cs (1)
249builder.FilterFactories.Insert(0, ValidationEndpointFilterFactory.Create);
Microsoft.AspNetCore.SignalR.Tests (1)
NativeAotTests.cs (1)
449o.PayloadSerializerOptions.TypeInfoResolverChain.Insert(0, Default);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationHelpers.cs (1)
185availableIndices?.Insert(index, true);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationHelpers.cs (1)
185availableIndices?.Insert(index, true);
Microsoft.CodeAnalysis.EditorFeatures (1)
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (1)
266_committedSessions.Insert(index, TrackingSession);
Microsoft.CodeAnalysis.UnitTests (15)
Collections\ImmutableSegmentedListTest.cs (1)
763Assert.Throws<NotSupportedException>(() => list.Insert(0, 1));
Collections\List\IList.Generic.Tests.cs (13)
60casted.Insert(0, CreateT(12)); 406Assert.Throws<ArgumentOutOfRangeException>(() => list.Insert(-1, validAdd)); 407Assert.Throws<ArgumentOutOfRangeException>(() => list.Insert(int.MinValue, validAdd)); 420list.Insert(count, validAdd); 433Assert.Throws<NotSupportedException>(() => list.Insert(count / 2, CreateT(321432))); 446list.Insert(0, value); 460list.Insert(0, value); 475list.Insert(lastIndex, value); 490list.Insert(lastIndex, value); 506Assert.Throws<NotSupportedException>(() => list.Insert(0, value)); 510list.Insert(0, value); 511list.Insert(1, value); 528Assert.Throws<ArgumentException>(() => list.Insert(count / 2, value));
Collections\SegmentedArrayTests.cs (1)
80Assert.Throws<NotSupportedException>(() => ((IList<IntPtr>)data).Insert(0, IntPtr.Zero));
Microsoft.Extensions.Http (4)
DependencyInjection\DefaultHttpClientBuilderServiceCollection.cs (2)
41_services.Insert(index, item); 71public void Insert(int index, ServiceDescriptor item) => _services.Insert(index, item);
DependencyInjection\HttpClientBuilderExtensions.Logging.cs (1)
60b.AdditionalHandlers.Insert(0, handler);
Logging\LoggingHttpMessageHandlerBuilderFilter.cs (1)
54builder.AdditionalHandlers.Insert(0, new LoggingScopeHttpMessageHandler(outerLogger, options));
Microsoft.JSInterop.WebAssembly (1)
WebAssemblyJSRuntime.cs (1)
22JsonSerializerOptions.Converters.Insert(0, new WebAssemblyJSObjectReferenceJsonConverter(this));
Microsoft.Maui.Controls (11)
BindableLayout\BindableLayout.cs (1)
168 mauiLayout.Insert(index, view);
Element\Element.cs (1)
207 LogicalChildrenInternalBackingStore.Insert(index, element);
Interactivity\TriggerBase.cs (1)
210 _actual.Insert(index, item);
Internals\NotifyCollectionChangedEventArgsExtensions.cs (1)
16 self.Apply((o, i, b) => to.Insert(i, o), (o, i) => to.RemoveAt(i), () =>
Items\SelectionList.cs (2)
79 _internal.Insert(index, item); 83 _shadow.Insert(index, item);
ObservableList.cs (2)
39 Items.Insert(index++, item); 64 Items.Insert(index + i, items[i]);
ReadOnlyCastingList.cs (1)
113 _list.Insert(index, item as TFrom);
Shell\ShellElementCollection.cs (1)
317 public virtual void Insert(int index, TBaseShellItem item) => Inner.Insert(index, item);
VisualStateManager.cs (1)
310 _internalList.Insert(index, item);
Microsoft.Maui.Controls.Maps (2)
HandlerImpl\Polygon.Impl.cs (1)
110 Geopath.Insert(index, item);
HandlerImpl\Polyline.Impl.cs (1)
108 Geopath.Insert(index, item);
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyphViewModel.cs (1)
60inlines.Insert(0, new Run(prefixString));
MinimalValidationSample (1)
artifacts\obj\MinimalValidationSample\Release\net11.0\generated\Microsoft.Extensions.Validation.ValidationsGenerator\Microsoft.Extensions.Validation.ValidationsGenerator\ValidatableInfoResolver.g.cs (1)
175options.Resolvers.Insert(0, new GeneratedValidatableInfoResolver());
PresentationCore (1)
System\Windows\Input\Stylus\Common\StylusDeviceCollection.cs (1)
40base.Items.Insert(index, stylusDevice.StylusDevice); // add it to our list.
PresentationFramework (3)
MS\Internal\Data\XmlDataCollection.cs (2)
111Items.Insert(i, nodes[i]); 139Items.Insert(i, nodes[i]);
System\Windows\Controls\CustomDictionarySources.cs (1)
226((IList<Uri>)this).Insert(index, (Uri)value);
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationHelpers.cs (1)
185availableIndices?.Insert(index, true);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
146items.Insert(index, item);
System.Private.Xml (1)
System\Xml\Xsl\Xslt\QilGenerator.cs (1)
2537args.Insert(pos, varPar);