286 implementations of Insert
aspire (1)
Aspire.Dashboard (1)
Aspire.Hosting (2)
dotnet-svcutil-lib (3)
GenerateDocumentationAndConfigFiles (7)
Metrics (7)
Metrics.Legacy (7)
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)
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
Microsoft.AspNetCore.Razor (1)
Microsoft.CodeAnalysis (7)
Microsoft.CodeAnalysis.Analyzers (7)
Microsoft.CodeAnalysis.AnalyzerUtilities (7)
Microsoft.CodeAnalysis.BannedApiAnalyzers (7)
Microsoft.CodeAnalysis.CodeStyle (7)
Microsoft.CodeAnalysis.Collections.Package (7)
Microsoft.CodeAnalysis.Extensions.Package (7)
Microsoft.CodeAnalysis.InteractiveHost (7)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (7)
Microsoft.CodeAnalysis.PublicApiAnalyzers (7)
Microsoft.CodeAnalysis.ResxSourceGenerator (7)
Microsoft.CodeAnalysis.Scripting (1)
Microsoft.CodeAnalysis.Threading.Package (7)
Microsoft.CodeAnalysis.Workspaces (7)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (7)
Microsoft.Extensions.AI.Abstractions (1)
Microsoft.Extensions.Configuration (1)
Microsoft.Extensions.DependencyInjection.Abstractions (1)
Microsoft.Extensions.Http (1)
Microsoft.Extensions.Primitives (1)
Microsoft.Maui (3)
Microsoft.Maui.Controls (24)
Microsoft.Maui.Controls.Maps (2)
PresentationCore (32)
PresentationFramework (12)
Roslyn.Diagnostics.Analyzers (7)
System.Collections (5)
System.Collections.Immutable (5)
System.Data.Common (1)
System.Diagnostics.DiagnosticSource (1)
System.DirectoryServices.AccountManagement (1)
System.IO.FileSystem.Watcher (1)
System.Linq (4)
System.Linq.AsyncEnumerable (2)
System.Linq.Expressions (3)
System.Linq.Parallel (1)
System.Private.CoreLib (4)
System.Private.Xml (4)
System.ServiceModel.Primitives (2)
System.Text.Json (3)
System.Text.RegularExpressions (3)
System.Windows.Forms.Design (1)
System.Windows.Forms.Primitives (1)
System.Windows.Forms.Tests (1)
System.Xaml (1)
Test.Utilities (7)
Text.Analyzers (7)
97 references to Insert
Aspire.Hosting (3)
Aspire.Hosting.Azure.Tests (2)
Aspire.Hosting.Tests (1)
FormatterWebSite (2)
Microsoft.AspNetCore.Authentication.BearerToken (1)
Microsoft.AspNetCore.Authentication.Test (2)
Microsoft.AspNetCore.Http.Extensions (1)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
Microsoft.AspNetCore.HttpOverrides.Tests (2)
Microsoft.AspNetCore.Identity (1)
Microsoft.AspNetCore.Localization (1)
Microsoft.AspNetCore.Localization.Tests (8)
Microsoft.AspNetCore.Mvc.Core (2)
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")));
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
Microsoft.AspNetCore.Mvc.IntegrationTests (9)
Microsoft.AspNetCore.Mvc.RazorPages (1)
Microsoft.AspNetCore.OpenApi (1)
Microsoft.AspNetCore.Razor (1)
Microsoft.AspNetCore.Routing (1)
Microsoft.AspNetCore.SignalR.Tests (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.UnitTests (15)
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));
Microsoft.Extensions.Http (4)
Microsoft.JSInterop.WebAssembly (1)
Microsoft.Maui.Controls (11)
Microsoft.Maui.Controls.Maps (2)
Microsoft.VisualStudio.LanguageServices (1)
MinimalValidationSample (1)
PresentationCore (1)
PresentationFramework (3)
Roslyn.Diagnostics.CSharp.Analyzers (1)
System.Private.CoreLib (1)
System.Private.Xml (1)