471 implementations of Add
Aspire.Dashboard (1)
Aspire.Hosting (2)
dotnet-svcutil-lib (5)
InMemory.FunctionalTests (2)
Microsoft.AspNetCore.Components (1)
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Microsoft.AspNetCore.Connections.Abstractions (1)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Microsoft.AspNetCore.Hosting.Tests (1)
Microsoft.AspNetCore.Http (4)
Microsoft.AspNetCore.Http.Abstractions (11)
Microsoft.AspNetCore.Mvc.Abstractions (1)
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
Microsoft.AspNetCore.Mvc.Core (2)
Microsoft.AspNetCore.Mvc.IntegrationTests (8)
Microsoft.AspNetCore.Mvc.ViewFeatures (5)
Microsoft.AspNetCore.Owin (3)
Microsoft.AspNetCore.Razor (1)
Microsoft.AspNetCore.Razor.Runtime (1)
Microsoft.AspNetCore.Routing (1)
Microsoft.AspNetCore.Server.HttpSys (3)
Microsoft.AspNetCore.Server.IIS (2)
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Microsoft.AspNetCore.Shared.Tests (5)
Microsoft.Build (20)
Microsoft.Build.Framework (14)
Microsoft.Build.Tasks.Core (4)
Microsoft.Build.Utilities.Core (3)
Microsoft.CodeAnalysis (26)
Microsoft.CodeAnalysis.CodeStyle (24)
Microsoft.CodeAnalysis.Collections.Package (19)
Microsoft.CodeAnalysis.InteractiveHost (1)
Microsoft.CodeAnalysis.PooledObjects.Package (1)
Microsoft.CodeAnalysis.Scripting (1)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces (24)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (24)
Microsoft.Extensions.AI (2)
Microsoft.Extensions.AI.Abstractions (4)
Microsoft.Extensions.AI.AzureAIInference (2)
Microsoft.Extensions.AI.Ollama (2)
Microsoft.Extensions.AI.OpenAI (2)
Microsoft.Extensions.Configuration (2)
Microsoft.Extensions.DependencyInjection.Abstractions (1)
Microsoft.Extensions.Http (1)
Microsoft.Extensions.Http.Diagnostics (2)
Microsoft.Extensions.Primitives (1)
Microsoft.Gen.ComplianceReports.Unit.Tests (2)
Microsoft.Gen.ContextualOptions.Unit.Tests (2)
Microsoft.Gen.Logging.Unit.Tests (2)
Microsoft.Gen.MetadataExtractor.Unit.Tests (2)
Microsoft.Gen.Metrics.Unit.Tests (2)
Microsoft.Gen.MetricsReports.Unit.Tests (2)
Microsoft.Interop.SourceGeneration (1)
Microsoft.Maui (3)
Microsoft.Maui.Controls (26)
Microsoft.Maui.Controls.Maps (2)
Microsoft.ML.Core (1)
Microsoft.ML.SearchSpace (3)
Microsoft.ML.TorchSharp (1)
MSBuild (3)
MSBuildTaskHost (4)
PresentationCore (41)
PresentationFramework (19)
Shared (2)
Shared.Tests (1)
System.Collections (11)
System.Collections.Concurrent (1)
System.Collections.Immutable (15)
System.ComponentModel.Composition (3)
System.Composition.Hosting (1)
System.Data.Common (1)
System.Diagnostics.DiagnosticSource (2)
System.Diagnostics.Process (1)
System.DirectoryServices.AccountManagement (2)
System.IO.FileSystem.Watcher (1)
System.Linq (6)
System.Linq.AsyncEnumerable (1)
System.Linq.Expressions (6)
System.Linq.Parallel (1)
System.Net.Http (3)
System.Net.HttpListener (1)
System.Net.NetworkInformation (4)
System.Net.Primitives (2)
System.Private.CoreLib (13)
System.Private.Xml (4)
System.Security.Cryptography.Cose (1)
System.Security.Principal.Windows (1)
System.ServiceModel.Primitives (2)
System.Speech (1)
System.Text.Json (3)
System.Text.RegularExpressions (3)
System.Windows.Forms (1)
System.Windows.Forms.Design (1)
System.Windows.Forms.Primitives (1)
System.Windows.Forms.Tests (1)
System.Xaml (3)
System.Xaml.Tests (6)
2742 references to Add
ApiExplorerWebSite (5)
ApplicationModelWebSite (4)
Aspire.Dashboard (3)
Aspire.Hosting (4)
Aspire.Hosting.Azure.CognitiveServices (1)
Aspire.Hosting.Azure.PostgreSQL (1)
Aspire.Hosting.Azure.Storage (1)
Aspire.Hosting.Containers.Tests (3)
Aspire.Hosting.Dapr (1)
Aspire.Hosting.Garnet (6)
Aspire.Hosting.Nats (2)
Aspire.Hosting.Python (16)
Aspire.Hosting.Redis (2)
Aspire.Hosting.Testing (1)
Aspire.Hosting.Tests (9)
Aspire.Hosting.Valkey (3)
Aspire.Microsoft.EntityFrameworkCore.Cosmos (1)
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL (1)
Aspire.Oracle.EntityFrameworkCore (1)
Aspire.Pomelo.EntityFrameworkCore.MySql (1)
Aspire.RuntimeIdentifier.Tool (3)
AzureSearch.ApiService (17)
BasicWebSite (12)
Benchmarks (1)
Client.ClientBase.IntegrationTests (3)
ConfigurationSchemaGenerator (1)
Contract.Message.IntegrationTests (2)
Contract.XmlSerializer.IntegrationTests (1)
ControllersFromServicesWebSite (2)
dotnet-razorpagegenerator (3)
dotnet-svcutil.xmlserializer (1)
dotnet-svcutil.xmlserializer.IntegrationTests (1)
dotnet-svcutil-lib (86)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
88_knownTypes.Add(type);
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
50_items.Add(list[i]);
FormatterWebSite (6)
HelixTestRunner (1)
HtmlGenerationWebSite (6)
Identity.DefaultUI.WebSite (4)
Identity.ExternalClaims (1)
IIS.FunctionalTests (16)
IIS.LongTests (20)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (16)
50deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", "%DotnetPath%"));
63deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", path));
64deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("arguments", arguments));
91deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", dotnetLocationWithoutExtension));
102deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", dotnetLocationWithoutExtension));
116deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", path));
137deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", "dotnet"));
474deploymentParameters.WebConfigActionList.Add(
507deploymentParameters.WebConfigActionList.Add(
533deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("hostingModel", "bogus"));
557iisDeploymentParameters.WebConfigActionList.Add((element, _) => action(element));
945deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", "nope"));
962deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("arguments", "nope"));
1493deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", "doesnot"));
1494deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("arguments", "start"));
1552parameters.WebConfigActionList.Add((config, contentRoot) =>
IIS.NewHandler.FunctionalTests (20)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (16)
50deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", "%DotnetPath%"));
63deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", path));
64deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("arguments", arguments));
91deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", dotnetLocationWithoutExtension));
102deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", dotnetLocationWithoutExtension));
116deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", path));
137deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", "dotnet"));
474deploymentParameters.WebConfigActionList.Add(
507deploymentParameters.WebConfigActionList.Add(
533deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("hostingModel", "bogus"));
557iisDeploymentParameters.WebConfigActionList.Add((element, _) => action(element));
945deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", "nope"));
962deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("arguments", "nope"));
1493deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", "doesnot"));
1494deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("arguments", "start"));
1552parameters.WebConfigActionList.Add((config, contentRoot) =>
IIS.NewShim.FunctionalTests (20)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (16)
50deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", "%DotnetPath%"));
63deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", path));
64deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("arguments", arguments));
91deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", dotnetLocationWithoutExtension));
102deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", dotnetLocationWithoutExtension));
116deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", path));
137deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", "dotnet"));
474deploymentParameters.WebConfigActionList.Add(
507deploymentParameters.WebConfigActionList.Add(
533deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("hostingModel", "bogus"));
557iisDeploymentParameters.WebConfigActionList.Add((element, _) => action(element));
945deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", "nope"));
962deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("arguments", "nope"));
1493deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", "doesnot"));
1494deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("arguments", "start"));
1552parameters.WebConfigActionList.Add((config, contentRoot) =>
IIS.ShadowCopy.Tests (1)
IISExpress.FunctionalTests (33)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (16)
50deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", "%DotnetPath%"));
63deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", path));
64deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("arguments", arguments));
91deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", dotnetLocationWithoutExtension));
102deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", dotnetLocationWithoutExtension));
116deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", path));
137deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", "dotnet"));
474deploymentParameters.WebConfigActionList.Add(
507deploymentParameters.WebConfigActionList.Add(
533deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("hostingModel", "bogus"));
557iisDeploymentParameters.WebConfigActionList.Add((element, _) => action(element));
945deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", "nope"));
962deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("arguments", "nope"));
1493deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("processPath", "doesnot"));
1494deploymentParameters.WebConfigActionList.Add(WebConfigHelpers.AddOrModifyAspNetCoreSection("arguments", "start"));
1552parameters.WebConfigActionList.Add((config, contentRoot) =>
InMemory.FunctionalTests (5)
IntegrationTestsWebsite (1)
JwtBearerSample (1)
Keycloak.Web (1)
Microsoft.Arcade.Test.Common (3)
Microsoft.AspNetCore (2)
Microsoft.AspNetCore.App.Analyzers (15)
Infrastructure\RoutePattern\RoutePatternParser.cs (13)
106diagnostics.Add(new EmbeddedDiagnostic(Resources.TemplateRoute_InvalidRouteTemplate, segmentPart.GetSpan()));
119diagnostics.Add(new EmbeddedDiagnostic(Resources.TemplateRoute_InvalidRouteTemplate, segmentPart.GetSpan()));
135diagnostics.Add(new EmbeddedDiagnostic(Resources.TemplateRoute_CatchAllMustBeLast, catchAllParameterNode.GetSpan()));
150diagnostics.Add(new EmbeddedDiagnostic(Resources.TemplateRoute_CannotHaveCatchAllInMultiSegment, catchAllParameterNode.GetSpan()));
178diagnostics.Add(new EmbeddedDiagnostic(message, segmentNode.GetSpan()));
195diagnostics.Add(new EmbeddedDiagnostic(message, parameterNode.GetSpan()));
202diagnostics.Add(new EmbeddedDiagnostic(Resources.TemplateRoute_CannotHaveConsecutiveParameters, parameterNode.GetSpan()));
266diagnostics.Add(new EmbeddedDiagnostic(Resources.TemplateRoute_OptionalCannotHaveDefaultValue, parameterNode.GetSpan()));
270diagnostics.Add(new EmbeddedDiagnostic(Resources.TemplateRoute_CatchAllCannotBeOptional, parameterNode.GetSpan()));
278routeParameters.Add(routeParameter);
282diagnostics.Add(new EmbeddedDiagnostic(Resources.FormatTemplateRoute_RepeatedParameter(name), parameterNode.GetSpan()));
301diagnostics.Add(
343to.Add(diagnostic);
Microsoft.AspNetCore.Authentication.Abstractions (1)
Microsoft.AspNetCore.Authentication.Facebook (5)
Microsoft.AspNetCore.Authentication.Google (3)
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
Microsoft.AspNetCore.Authentication.Negotiate (1)
Microsoft.AspNetCore.Authentication.OAuth (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (3)
Microsoft.AspNetCore.Authentication.Test (56)
Microsoft.AspNetCore.Authorization (10)
Microsoft.AspNetCore.Authorization.Policy (4)
Microsoft.AspNetCore.Authorization.Test (16)
Microsoft.AspNetCore.Components (1)
Microsoft.AspNetCore.Components.Authorization.Tests (1)
Microsoft.AspNetCore.Components.Endpoints (15)
Microsoft.AspNetCore.Components.Endpoints.Tests (4)
Microsoft.AspNetCore.Components.Forms.Tests (1)
Microsoft.AspNetCore.Components.Server (4)
Microsoft.AspNetCore.Components.Server.Tests (4)
Microsoft.AspNetCore.Components.Tests (4)
Microsoft.AspNetCore.Components.Web (1)
Microsoft.AspNetCore.Components.Web.Tests (1)
Microsoft.AspNetCore.Components.WebAssembly (1)
Microsoft.AspNetCore.Components.WebAssembly.Server (4)
Microsoft.AspNetCore.Components.WebView (1)
Microsoft.AspNetCore.Connections.Abstractions (3)
Microsoft.AspNetCore.CookiePolicy.Test (3)
Microsoft.AspNetCore.Cors (11)
Microsoft.AspNetCore.Cors.Test (78)
Microsoft.AspNetCore.DataProtection (8)
Microsoft.AspNetCore.DataProtection.Tests (10)
Microsoft.AspNetCore.Diagnostics (4)
Microsoft.AspNetCore.Diagnostics.Middleware (2)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (10)
Microsoft.AspNetCore.FunctionalTests (2)
Microsoft.AspNetCore.Grpc.JsonTranscoding (10)
Microsoft.AspNetCore.Grpc.Swagger (8)
Microsoft.AspNetCore.HostFiltering.Tests (2)
Microsoft.AspNetCore.Hosting (5)
Microsoft.AspNetCore.Hosting.Tests (4)
Microsoft.AspNetCore.Html.Abstractions (3)
Microsoft.AspNetCore.Http (7)
Microsoft.AspNetCore.Http.Abstractions (1)
Microsoft.AspNetCore.Http.Abstractions.Tests (3)
Microsoft.AspNetCore.Http.Connections (5)
Microsoft.AspNetCore.Http.Connections.Common (1)
Microsoft.AspNetCore.Http.Connections.Tests (3)
Microsoft.AspNetCore.Http.Extensions (8)
src\Components\Endpoints\src\FormMapping\Converters\CollectionAdapters\ImplementingCollectionBufferAdapter.cs (1)
13buffer.Add(element);
src\Components\Endpoints\src\FormMapping\Converters\CollectionAdapters\ReadOnlyCollectionBufferAdapter.cs (1)
14buffer.Add(element);
Microsoft.AspNetCore.Http.Extensions.Tests (30)
Microsoft.AspNetCore.Http.Features (1)
Microsoft.AspNetCore.Http.Microbenchmarks (14)
Microsoft.AspNetCore.Http.Results (24)
Microsoft.AspNetCore.Http.Results.Tests (11)
Microsoft.AspNetCore.HttpLogging (1)
Microsoft.AspNetCore.HttpLogging.Tests (1)
Microsoft.AspNetCore.HttpOverrides.Tests (3)
Microsoft.AspNetCore.HttpsPolicy.Tests (7)
Microsoft.AspNetCore.Identity (4)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (2)
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Microsoft.AspNetCore.Identity.InMemory.Test (8)
Microsoft.AspNetCore.Identity.Specification.Tests (22)
Microsoft.AspNetCore.Identity.Test (7)
Microsoft.AspNetCore.Identity.UI (3)
Microsoft.AspNetCore.InternalTesting (1)
Microsoft.AspNetCore.JsonPatch.Tests (1)
Microsoft.AspNetCore.MiddlewareAnalysis.Tests (3)
Microsoft.AspNetCore.Mvc (2)
Microsoft.AspNetCore.Mvc.Abstractions (1)
Microsoft.AspNetCore.Mvc.ApiExplorer (20)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (10)
ApiResponseTypeProviderTest.cs (8)
570actionDescriptor.FilterDescriptors.Add(new FilterDescriptor(new ProducesAttribute("application/json"), FilterScope.Controller));
620actionDescriptor.FilterDescriptors.Add(new FilterDescriptor(new ProducesAttribute("application/json") { Type = typeof(string) }, FilterScope.Controller));
683actionDescriptor.FilterDescriptors.Add(new FilterDescriptor(new ProducesAttribute("application/pdf"), FilterScope.Action));
713actionDescriptor.FilterDescriptors.Add(new FilterDescriptor(new ProducesAttribute("text/xml") { Type = typeof(BaseModel) }, FilterScope.Action));
714actionDescriptor.FilterDescriptors.Add(new FilterDescriptor(new ProducesResponseTypeAttribute(typeof(ValidationProblemDetails), 400, "application/problem+json"), FilterScope.Action));
715actionDescriptor.FilterDescriptors.Add(new FilterDescriptor(new ProducesResponseTypeAttribute(typeof(ProblemDetails), 404, "application/problem+json"), FilterScope.Action));
716actionDescriptor.FilterDescriptors.Add(new FilterDescriptor(new ProducesResponseTypeAttribute(409), FilterScope.Action));
795actionDescriptor.FilterDescriptors.Add(new FilterDescriptor(filterAttribute, FilterScope.Action));
Microsoft.AspNetCore.Mvc.Core (120)
Microsoft.AspNetCore.Mvc.Core.Test (246)
Routing\ControllerActionEndpointDataSourceTest.cs (10)
329dataSource.AddRoute("1", "/1/{controller}/{action}/{id?}", null, null, null).Add(b => b.Metadata.Add("A"));
330dataSource.AddRoute("2", "/2/{controller}/{action}/{id?}", null, null, null).Add(b => b.Metadata.Add("B"));
411dataSource.AddRoute("1", "/1/{controller}/{action}/{id?}", null, null, null).Add(b => b.Metadata.Add("A"));
412dataSource.AddRoute("2", "/2/{controller}/{action}/{id?}", null, null, null).Add(b => b.Metadata.Add("B"));
422b => b.Metadata.Add(new GroupMetadata()),
423b => b.Metadata.Add("group")
512builder1.Finally(b => b.Metadata.Add("A1"));
513builder1.Finally(b => b.Metadata.Add("A2"));
515builder2.Finally(b => b.Metadata.Add("B1"));
516builder2.Finally(b => b.Metadata.Add("B2"));
Microsoft.AspNetCore.Mvc.Core.TestCommon (3)
Microsoft.AspNetCore.Mvc.Cors (4)
Microsoft.AspNetCore.Mvc.Cors.Test (2)
Microsoft.AspNetCore.Mvc.DataAnnotations (6)
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (5)
Microsoft.AspNetCore.Mvc.Formatters.Xml (17)
Microsoft.AspNetCore.Mvc.FunctionalTests (10)
Microsoft.AspNetCore.Mvc.IntegrationTests (20)
Microsoft.AspNetCore.Mvc.Localization (1)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (6)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (7)
Microsoft.AspNetCore.Mvc.Razor (10)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (12)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (3)
Microsoft.AspNetCore.Mvc.Razor.Test (15)
Microsoft.AspNetCore.Mvc.RazorPages (58)
Microsoft.AspNetCore.Mvc.RazorPages.Test (28)
Microsoft.AspNetCore.Mvc.Routing.Abstractions.Tests (4)
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (2)
Microsoft.AspNetCore.Mvc.Test (3)
Microsoft.AspNetCore.Mvc.ViewFeatures (10)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (51)
Microsoft.AspNetCore.Mvc.Views.TestCommon (2)
Microsoft.AspNetCore.OpenApi (9)
Microsoft.AspNetCore.OpenApi.Tests (5)
Microsoft.AspNetCore.OutputCaching (4)
Microsoft.AspNetCore.Owin (2)
Microsoft.AspNetCore.RateLimiting (3)
Microsoft.AspNetCore.RateLimiting.Tests (3)
Microsoft.AspNetCore.Razor (2)
Microsoft.AspNetCore.Razor.Runtime (2)
Microsoft.AspNetCore.Razor.Runtime.Test (1)
Microsoft.AspNetCore.RequestDecompression.Tests (6)
Microsoft.AspNetCore.Rewrite (29)
Microsoft.AspNetCore.Routing (26)
Microsoft.AspNetCore.Routing.Abstractions (1)
Microsoft.AspNetCore.Routing.FunctionalTests (2)
Microsoft.AspNetCore.Routing.Tests (81)
Microsoft.AspNetCore.Server.HttpSys (6)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.AspNetCore.Server.IntegrationTesting (13)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (11)
Microsoft.AspNetCore.Server.Kestrel.Core (15)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (11)
Microsoft.AspNetCore.Shared.Tests (5)
Microsoft.AspNetCore.SignalR (2)
Microsoft.AspNetCore.SignalR.Core (1)
Microsoft.AspNetCore.SignalR.Tests (5)
Microsoft.AspNetCore.StaticAssets (4)
Microsoft.AspNetCore.TestHost.Tests (2)
Microsoft.AspNetCore.Testing.Tests (1)
Microsoft.AspNetCore.Tests (11)
Microsoft.AspNetCore.WebSockets.ConformanceTests (3)
Microsoft.AspNetCore.WebSockets.Tests (3)
Microsoft.Build (21)
Microsoft.Build.Engine.OM.UnitTests (1)
Microsoft.Build.Engine.UnitTests (19)
BackEnd\BatchingEngine_Tests.cs (10)
37items.Add(new ProjectItemInstance(project, "File", "a.foo", project.FullPath));
38items.Add(new ProjectItemInstance(project, "File", "b.foo", project.FullPath));
39items.Add(new ProjectItemInstance(project, "File", "c.foo", project.FullPath));
40items.Add(new ProjectItemInstance(project, "File", "d.foo", project.FullPath));
41items.Add(new ProjectItemInstance(project, "File", "e.foo", project.FullPath));
45items.Add(new ProjectItemInstance(project, "Doc", "a.doc", project.FullPath));
46items.Add(new ProjectItemInstance(project, "Doc", "b.doc", project.FullPath));
47items.Add(new ProjectItemInstance(project, "Doc", "c.doc", project.FullPath));
48items.Add(new ProjectItemInstance(project, "Doc", "d.doc", project.FullPath));
49items.Add(new ProjectItemInstance(project, "Doc", "e.doc", project.FullPath));
Microsoft.Build.Framework (2)
Microsoft.Build.Tasks.Core (2)
Microsoft.Build.Utilities.Core (6)
Microsoft.Cci.Extensions (12)
Microsoft.CodeAnalysis (25)
CommandLine\CommandLineParser.cs (13)
357errors.Add(Diagnostic.Create(_messageProvider, _messageProvider.ERR_InvalidPathMap));
366errors.Add(Diagnostic.Create(_messageProvider, _messageProvider.ERR_InvalidPathMap));
434errors.Add(Diagnostic.Create(_messageProvider, _messageProvider.FTL_InvalidInputFileName, invalidPath));
452errors.Add(Diagnostic.Create(_messageProvider, _messageProvider.FTL_InvalidInputFileName, invalidPath));
477errors.Add(Diagnostic.Create(_messageProvider, _messageProvider.FTL_InvalidInputFileName, invalidPath));
559diagnostics.Add(Diagnostic.Create(_messageProvider, _messageProvider.FTL_InvalidInputFileName, path));
569diagnostics.Add(Diagnostic.Create(_messageProvider, _messageProvider.FTL_InvalidInputFileName, path));
641diagnostics.Add(Diagnostic.Create(_messageProvider, _messageProvider.ERR_OpenResponseFile, fullPath));
663diagnostics.Add(Diagnostic.Create(_messageProvider, _messageProvider.WRN_NoConfigNotOnCommandLine));
1094errors.Add(Diagnostic.Create(_messageProvider, _messageProvider.FTL_InvalidInputFileName, path));
1144errors.Add(Diagnostic.Create(MessageProvider, (int)MessageProvider.FTL_InvalidInputFileName, path));
1280errors.Add(Diagnostic.Create(MessageProvider, (int)MessageProvider.FTL_InvalidInputFileName, path));
1300errors.Add(Diagnostic.Create(MessageProvider, (int)MessageProvider.ERR_FileNotFound, path));
Microsoft.CodeAnalysis.CodeStyle (18)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (5)
16=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.LineBreak, null, text));
19=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.MethodName, null, text));
22=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.Punctuation, null, text));
25=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.Space, null, text));
28=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.Text, null, text));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
73collection.Add(value);
Microsoft.CodeAnalysis.Collections.Package (2)
Microsoft.CodeAnalysis.CSharp (2)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Features (7)
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Microsoft.CodeAnalysis.EditorFeatures (5)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (4)
123_readOnlyRegions.Add(readOnlyEdit.CreateDynamicReadOnlyRegion(newReadOnlySpan, SpanTrackingMode.EdgeExclusive, EdgeInsertionMode.Allow, _isBufferReadOnly));
132_readOnlyRegions.Add(readOnlyEdit.CreateDynamicReadOnlyRegion(new Span(0, 0), SpanTrackingMode.EdgeExclusive, EdgeInsertionMode.Deny, _isBufferReadOnly));
137_readOnlyRegions.Add(readOnlyEdit.CreateDynamicReadOnlyRegion(new Span(_subjectBuffer.CurrentSnapshot.Length, 0), SpanTrackingMode.EdgeExclusive, EdgeInsertionMode.Deny, _isBufferReadOnly));
155_textViews.Add(textView);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (4)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Microsoft.CodeAnalysis.Features (34)
Common\TaggedText.cs (27)
225=> parts.Add(new TaggedText(TextTags.Alias, text));
228=> parts.Add(new TaggedText(TextTags.Assembly, text));
231=> parts.Add(new TaggedText(TextTags.Class, text));
234=> parts.Add(new TaggedText(TextTags.Delegate, text));
237=> parts.Add(new TaggedText(TextTags.Enum, text));
240=> parts.Add(new TaggedText(TextTags.ErrorType, text));
243=> parts.Add(new TaggedText(TextTags.Event, text));
246=> parts.Add(new TaggedText(TextTags.Field, text));
249=> parts.Add(new TaggedText(TextTags.Interface, text));
252=> parts.Add(new TaggedText(TextTags.Keyword, text));
255=> parts.Add(new TaggedText(TextTags.Label, text));
258=> parts.Add(new TaggedText(TextTags.LineBreak, text));
261=> parts.Add(new TaggedText(TextTags.NumericLiteral, text));
264=> parts.Add(new TaggedText(TextTags.StringLiteral, text));
267=> parts.Add(new TaggedText(TextTags.Local, text));
270=> parts.Add(new TaggedText(TextTags.Method, text));
273=> parts.Add(new TaggedText(TextTags.Module, text));
276=> parts.Add(new TaggedText(TextTags.Namespace, text));
279=> parts.Add(new TaggedText(TextTags.Operator, text));
282=> parts.Add(new TaggedText(TextTags.Parameter, text));
285=> parts.Add(new TaggedText(TextTags.Property, text));
288=> parts.Add(new TaggedText(TextTags.Punctuation, text));
291=> parts.Add(new TaggedText(TextTags.RangeVariable, text));
294=> parts.Add(new TaggedText(TextTags.Struct, text));
297=> parts.Add(new TaggedText(TextTags.Space, text));
300=> parts.Add(new TaggedText(TextTags.Text, text));
303=> parts.Add(new TaggedText(TextTags.TypeParameter, text));
Microsoft.CodeAnalysis.LanguageServer.Protocol (5)
Microsoft.CodeAnalysis.Remote.Workspaces (1)
Microsoft.CodeAnalysis.Scripting (2)
Microsoft.CodeAnalysis.Test.Utilities (2)
Microsoft.CodeAnalysis.UnitTests (36)
Microsoft.CodeAnalysis.Workspaces (18)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (5)
16=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.LineBreak, null, text));
19=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.MethodName, null, text));
22=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.Punctuation, null, text));
25=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.Space, null, text));
28=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.Text, null, text));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
73collection.Add(value);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (11)
Microsoft.Data.Analysis (35)
Microsoft.DotNet.Build.Tasks.Workloads (3)
Microsoft.DotNet.GenFacades (1)
Microsoft.DotNet.MacOsPkg (3)
Microsoft.DotNet.Open.Api.Tools.Tests (2)
Microsoft.DotNet.SignCheckLibrary (8)
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Microsoft.DotNet.VersionTools.Cli (4)
Microsoft.Extensions.AI (4)
Microsoft.Extensions.AI.Abstractions (6)
Microsoft.Extensions.AI.Abstractions.Tests (1)
Microsoft.Extensions.AI.AzureAIInference (7)
Microsoft.Extensions.AI.Integration.Tests (1)
Microsoft.Extensions.AI.Ollama (3)
Microsoft.Extensions.AI.OpenAI (6)
Microsoft.Extensions.AI.Tests (1)
Microsoft.Extensions.Caching.Abstractions (4)
Microsoft.Extensions.Caching.SqlServer (1)
Microsoft.Extensions.Caching.StackExchangeRedis (1)
Microsoft.Extensions.Configuration (1)
Microsoft.Extensions.Configuration.KeyPerFile.Tests (1)
Microsoft.Extensions.DependencyInjection.Abstractions (11)
Microsoft.Extensions.DependencyInjection.AutoActivation (4)
Microsoft.Extensions.Diagnostics (2)
Microsoft.Extensions.Diagnostics.Abstractions (1)
Microsoft.Extensions.Diagnostics.HealthChecks (1)
Microsoft.Extensions.FileSystemGlobbing (2)
Microsoft.Extensions.Hosting.Testing.Tests (4)
Microsoft.Extensions.Http (23)
Microsoft.Extensions.Http.Diagnostics (2)
Microsoft.Extensions.Http.Diagnostics.Tests (4)
Microsoft.Extensions.Http.Resilience (3)
Microsoft.Extensions.Http.Resilience.Tests (10)
Microsoft.Extensions.Identity.Core (3)
Microsoft.Extensions.Logging (2)
Microsoft.Extensions.Logging.AzureAppServices (1)
Microsoft.Extensions.Logging.Configuration (1)
Microsoft.Extensions.Logging.EventSource (1)
Microsoft.Extensions.Options.SourceGeneration (4)
Microsoft.Extensions.Resilience (4)
Microsoft.Extensions.ServiceDiscovery (4)
Microsoft.Extensions.ServiceDiscovery.Dns (1)
Microsoft.Extensions.Telemetry.Tests (1)
Microsoft.Gen.ComplianceReports (4)
Microsoft.Gen.Logging (5)
Microsoft.Gen.MetadataExtractor (5)
Microsoft.Gen.Metrics (5)
Microsoft.Gen.MetricsReports (1)
Microsoft.Interop.SourceGeneration (1)
Microsoft.Maui (2)
Microsoft.Maui.Controls (92)
Shell\BaseShellItem.cs (25)
394 commonGroup.States.Add(normalState);
401 selectedState.Setters.Add(new Setter
408 normalState.Setters.Add(new Setter
414 commonGroup.States.Add(selectedState);
416 defaultGridClass.Setters.Add(new Setter { Property = VisualStateManager.VisualStateGroupsProperty, Value = groups });
419 defaultGridClass.Setters.Add(new Setter { Property = Grid.HeightRequestProperty, Value = 50 });
421 defaultGridClass.Setters.Add(new Setter { Property = Grid.HeightRequestProperty, Value = 44 });
436 defaultGridClass.Setters.Add(new Setter { Property = Grid.ColumnDefinitionsProperty, Value = columnDefinitions });
439 defaultGridClass.Setters.Add(new Setter { Property = Element.AutomationIdProperty, Value = automationIdBinding });
468 defaultImageClass.Setters.Add(new Setter() { Property = Image.HeightRequestProperty, Value = sizeRequest });
469 defaultImageClass.Setters.Add(new Setter() { Property = Image.WidthRequestProperty, Value = sizeRequest });
474 defaultImageClass.Setters.Add(new Setter { Property = Image.HorizontalOptionsProperty, Value = LayoutOptions.Start });
475 defaultImageClass.Setters.Add(new Setter { Property = Image.MarginProperty, Value = new Thickness(12, 0, 12, 0) });
478 defaultImageClass.Setters.Add(new Setter { Property = Image.SourceProperty, Value = imageBinding });
483 defaultLabelClass.Setters.Add(new Setter { Property = Label.TextProperty, Value = labelBinding });
500 defaultLabelClass.Setters.Add(new Setter { Property = Label.FontSizeProperty, Value = 14 });
501 defaultLabelClass.Setters.Add(new Setter { Property = Label.TextColorProperty, Value = textColor });
502 defaultLabelClass.Setters.Add(new Setter { Property = Label.FontFamilyProperty, Value = "sans-serif-medium" });
503 defaultLabelClass.Setters.Add(new Setter { Property = Label.MarginProperty, Value = new Thickness(20, 0, 0, 0) });
507 defaultLabelClass.Setters.Add(new Setter { Property = Label.FontSizeProperty, Value = 14 });
508 defaultLabelClass.Setters.Add(new Setter { Property = Label.FontAttributesProperty, Value = FontAttributes.Bold });
512 defaultLabelClass.Setters.Add(new Setter { Property = Label.HorizontalOptionsProperty, Value = LayoutOptions.Start });
513 defaultLabelClass.Setters.Add(new Setter { Property = Label.HorizontalTextAlignmentProperty, Value = TextAlignment.Start });
517 defaultLabelClass.Setters.Add(new Setter { Property = Label.HorizontalOptionsProperty, Value = LayoutOptions.Start });
518 defaultLabelClass.Setters.Add(new Setter { Property = Label.HorizontalTextAlignmentProperty, Value = TextAlignment.Start });
Microsoft.Maui.Controls.Build.Tasks (5)
Microsoft.Maui.Controls.Compatibility (2)
Microsoft.Maui.Controls.Foldable (2)
Microsoft.Maui.Controls.Maps (2)
Microsoft.Maui.Controls.Xaml (3)
Microsoft.Maui.Graphics (3)
Microsoft.ML.AutoML (13)
Microsoft.ML.AutoML.Tests (13)
Microsoft.ML.CodeGenerator (4)
Microsoft.ML.FastTree (2)
Microsoft.ML.GenAI.LLaMA (2)
Microsoft.ML.GenAI.Phi (2)
Microsoft.ML.SearchSpace (3)
Microsoft.ML.SearchSpace.Tests (2)
Microsoft.ML.Tokenizers (32)
Microsoft.Net.Http.Headers (12)
Microsoft.Net.Http.Headers.Tests (114)
Microsoft.VisualStudio.LanguageServices (1)
Microsoft.VisualStudio.LanguageServices.DevKit (1)
MilvusPlayground.ApiService (3)
MSBuild (1)
MSBuildTaskHost (2)
Mvc.RoutingWebSite (3)
PresentationCore (16)
PresentationFramework (41)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (8)
769res.Add(this);
775res.Add(new HighlightSegment(_segment.Start, ps, _owners));
776res.Add(new HighlightSegment(ps, _segment.End, _owners));
804res.Add(new HighlightSegment(_segment.Start, ps1, _owners));
808res.Add(new HighlightSegment(ps1, ps1, _owners));
812res.Add(new HighlightSegment(ps1, _segment.End, _owners));
830res.Add(r2[j]);
839res.Add(r1[i]);
PresentationFramework-SystemDrawing (1)
PresentationUI (21)
RazorBuildWebSite (2)
RazorWebSite (3)
ReachFramework (4)
RoutingSandbox (1)
RoutingWebSite (2)
Sample (1)
ServerComparison.FunctionalTests (1)
Shared.Tests (2)
SignalR.Client.FunctionalTestApp (2)
SimpleWebSiteWithWebApplicationBuilder (1)
SocialSample (8)
System.ComponentModel.Annotations (3)
System.ComponentModel.Composition (2)
System.Composition.Hosting (1)
System.Composition.TypedParts (1)
System.Net.Http (13)
System.Private.DataContractSerialization (8)
System.Private.Windows.Core (14)
System.Security.Cryptography (1)
System.ServiceModel.Federation (2)
System.ServiceModel.Federation.Tests (1)
System.ServiceModel.NetFramingBase (1)
System.Text.Json (3)
System.Windows.Forms.Design (11)
System.Windows.Forms.Primitives.Tests (3)
System.Xaml (8)
WindowsFormsIntegration (1)
XmlFormattersWebSite (4)
xunit.console (2)