9421 references to List
aspire (191)
aspire-managed (14)
Aspire.Acquisition.Tests (3)
Aspire.Azure.AI.Inference (1)
Aspire.Azure.Messaging.EventHubs (1)
Aspire.Azure.Messaging.EventHubs.Tests (3)
Aspire.Azure.Messaging.ServiceBus (1)
Aspire.Azure.Messaging.WebPubSub (1)
Aspire.Azure.Security.KeyVault.Tests (3)
Aspire.Azure.Storage.Queues (1)
Aspire.Cli.EndToEnd.Tests (4)
Aspire.Cli.Tests (222)
Projects\PrebuiltAppHostServerTests.cs (24)
123var projectRefs = new List<IntegrationReference> { IntegrationReference.FromProject("Aspire.Hosting.Java", referencedProject) };
146var projectRefs = new List<IntegrationReference> { IntegrationReference.FromProject("Aspire.Hosting.Java", referencedProject) };
164var projectRefs = new List<IntegrationReference> { IntegrationReference.FromProject("Aspire.Hosting.Java", referencedProject) };
184var projectRefs = new List<IntegrationReference> { IntegrationReference.FromProject("Aspire.Hosting.Java", referencedProject) };
201var projectRefs = new List<IntegrationReference> { IntegrationReference.FromProject("First", first) };
214var projectRefs = new List<IntegrationReference> { IntegrationReference.FromProject("Aspire.Hosting.Java", referencedProject) };
230var projectRefs = new List<IntegrationReference> { IntegrationReference.FromProject("Aspire.Hosting.Java", referencedProject) };
243var projectRefs = new List<IntegrationReference> { IntegrationReference.FromProject("Aspire.Hosting.Java", referencedProject) };
244var packageRefs = new List<IntegrationReference> { IntegrationReference.FromPackage("Aspire.Hosting.Redis", "13.5.0") };
279var packageRefs = new List<IntegrationReference> { IntegrationReference.FromPackage("Aspire.Hosting.Redis", version) };
287var packageRefs = new List<IntegrationReference>
365var packageRefs = new List<IntegrationReference>
370var projectRefs = new List<IntegrationReference>();
386var packageRefs = new List<IntegrationReference>();
387var projectRefs = new List<IntegrationReference>
405var packageRefs = new List<IntegrationReference>
410var projectRefs = new List<IntegrationReference>
425var packageRefs = new List<IntegrationReference>
429var projectRefs = new List<IntegrationReference>();
547var packageRefs = new List<IntegrationReference>
2846var metadataLines = new List<string>();
2847var sourcePaths = new List<string>();
2848var targetPaths = new List<string>();
2971var sources = new List<string>();
Projects\ProjectUpdaterTests.cs (39)
55var packages = new List<NuGetPackageCli>();
171var packagesAddsExecuted = new List<(FileInfo ProjectFile, string PackageId, string PackageVersion, string? PackageSource, bool NoRestore)>();
180var packages = new List<NuGetPackageCli>();
334var packages = new List<NuGetPackageCli>
438var packagesAddsExecuted = new List<(FileInfo ProjectFile, string PackageId, string PackageVersion, string? PackageSource, bool NoRestore)>();
447var packages = new List<NuGetPackageCli>();
592var packagesAddsExecuted = new List<(FileInfo ProjectFile, string PackageId, string PackageVersion, string? PackageSource, bool NoRestore)>();
602var packages = new List<NuGetPackageCli>();
721var packagesAddsExecuted = new List<(FileInfo ProjectFile, string PackageId, string PackageVersion, string? PackageSource, bool NoRestore)>();
730var packages = new List<NuGetPackageCli>();
880var updatedFiles = new List<string>();
890var packages = new List<NuGetPackageCli>();
1009var packages = new List<NuGetPackageCli>();
1111var packages = new List<NuGetPackageCli>();
1237var packages = new List<NuGetPackageCli>
1331var packages = new List<NuGetPackageCli>
1406var packages = new List<NuGetPackageCli>
1501var packages = new List<NuGetPackageCli>
1664var packages = new List<NuGetPackageCli>
1813var packages = new List<NuGetPackageCli>();
1929var packages = new List<NuGetPackageCli>();
2050var packages = new List<NuGetPackageCli>();
2163var packages = new List<NuGetPackageCli>();
2259var packages = new List<NuGetPackageCli>();
2368var packages = new List<NuGetPackageCli>();
2453var packages = new List<NuGetPackageCli>();
2529var packages = new List<NuGetPackageCli>();
2613var packages = new List<NuGetPackageCli>();
2708var packages = new List<NuGetPackageCli>
2800var packages = new List<NuGetPackageCli>
2876var packages = new List<NuGetPackageCli>();
2956var packages = new List<NuGetPackageCli>();
3046var packages = new List<NuGetPackageCli>();
3125var packages = new List<NuGetPackageCli>();
3193var packagesUpdated = new List<string>();
3203var packages = new List<NuGetPackageCli>();
3338var packagesAddsExecuted = new List<(FileInfo ProjectFile, string PackageId, string PackageVersion, string? PackageSource, bool NoRestore)>();
3348var packages = new List<NuGetPackageCli>();
3722var calls = new List<string>();
Aspire.Components.Common.TestUtilities (3)
Aspire.Confluent.Kafka.Tests (2)
Aspire.Dashboard (118)
Aspire.Dashboard.Components.Tests (34)
Aspire.Dashboard.Tests (91)
TelemetryRepositoryTests\MetricsTests.cs (5)
109var metricAttributes = new List<KeyValuePair<string, string>>();
110var meterAttributes = new List<KeyValuePair<string, string>>();
223var metricAttributes = new List<KeyValuePair<string, string>>();
224var meterAttributes = new List<KeyValuePair<string, string>>
342CreateSumMetric(metricName: "test", startTime: s_testTime.AddMinutes(1), exemplars: new List<Exemplar> { CreateExemplar(startTime: s_testTime.AddMinutes(1), value: 2, attributes: [KeyValuePair.Create("key1", "value1")]) }),
TelemetryRepositoryTests\TraceTests.cs (6)
527CreateSpan(traceId: "1", spanId: "1-1", startTime: s_testTime.AddMinutes(1), endTime: s_testTime.AddMinutes(10), events: new List<Span.Types.Event>
603CreateSpan(traceId: "1", spanId: "1-1", startTime: s_testTime.AddMinutes(1), endTime: s_testTime.AddMinutes(10), links: new List<Span.Types.Link>
756var attributes = new List<KeyValuePair<string, string>>();
763var events = new List<Span.Types.Event>();
980CreateSpan(traceId: traceId, spanId: $"{traceId}-2", startTime: startTime.AddMinutes(5), endTime: startTime.AddMinutes(1), parentSpanId: $"{traceId}-1", links: new List<Span.Types.Link>
984CreateSpan(traceId: traceId, spanId: $"{traceId}-1", startTime: startTime.AddMinutes(1), endTime: startTime.AddMinutes(10), links: new List<Span.Types.Link>
Aspire.Deployment.EndToEnd.Tests (1)
Aspire.EndToEnd.Tests (2)
Aspire.Hosting (88)
Aspire.Hosting.Analyzers (1)
Aspire.Hosting.Azure (20)
Aspire.Hosting.Azure.AppContainers (3)
Aspire.Hosting.Azure.AppService (4)
Aspire.Hosting.Azure.CosmosDB (1)
Aspire.Hosting.Azure.Functions (2)
Aspire.Hosting.Azure.Kubernetes (1)
Aspire.Hosting.Azure.Kubernetes.Tests (11)
Aspire.Hosting.Azure.Kusto.Tests (1)
Aspire.Hosting.Azure.Network (2)
Aspire.Hosting.Azure.Sql (2)
Aspire.Hosting.Azure.Tests (43)
Aspire.Hosting.Azure.WebPubSub (1)
Aspire.Hosting.Blazor (5)
Aspire.Hosting.Blazor.Tests (21)
Aspire.Hosting.Browsers (8)
Aspire.Hosting.Browsers.Tests (16)
Aspire.Hosting.CodeGeneration.Go (8)
Aspire.Hosting.CodeGeneration.Java (12)
Aspire.Hosting.CodeGeneration.Java.Tests (1)
Aspire.Hosting.CodeGeneration.Python (14)
Aspire.Hosting.CodeGeneration.Rust (2)
Aspire.Hosting.CodeGeneration.Rust.Tests (1)
Aspire.Hosting.CodeGeneration.TypeScript (20)
Aspire.Hosting.CodeGeneration.TypeScript.Tests (3)
Aspire.Hosting.DevTunnels (1)
Aspire.Hosting.Docker (5)
Aspire.Hosting.Dotnet (2)
Aspire.Hosting.EntityFrameworkCore (4)
Aspire.Hosting.EntityFrameworkCore.Tests (2)
Aspire.Hosting.Foundry (4)
Aspire.Hosting.Foundry.Tests (2)
Aspire.Hosting.Garnet (1)
Aspire.Hosting.Go (2)
Aspire.Hosting.Integration.Analyzers (2)
Aspire.Hosting.Java (1)
Aspire.Hosting.JavaScript (3)
Aspire.Hosting.JavaScript.Tests (15)
AddViteAppTests.cs (11)
509var args = new List<object>();
534var args = new List<object>();
569var args = new List<object> { "run", "dev", "--", "--port", "3000", "--config", "vite.config.js" };
629var args = new List<object> { "run", "dev", "--", "--port", "3000" };
681var args = new List<object> { "run", "dev", "--", "--port", "3000" };
727var args = new List<object> { "run", "dev", "--", "--port", "3000", "--config", viteConfigPath };
776var args = new List<object> { "run", "dev", "--", "--port", "3000" };
838var args = new List<object> { "run", "dev", "--", "--port", "3000" };
913var args = new List<object> { "run", "dev", "--", "--port", "3000" };
1016var args = new List<object> { "run", "dev", "--", "--port", "3000" };
1109var args = new List<object> { "run", "dev", "--", "--port", "3000" };
Aspire.Hosting.Keycloak.Tests (1)
Aspire.Hosting.Kubernetes (18)
Aspire.Hosting.Kubernetes.Tests (2)
Aspire.Hosting.Maui (7)
Aspire.Hosting.Maui.Tests (3)
Aspire.Hosting.Nats (1)
Aspire.Hosting.Nats.Tests (1)
Aspire.Hosting.PostgreSQL (1)
Aspire.Hosting.Radius (13)
Publishing\SealedSecretApplyStep.cs (5)
212var args = new List<string> { "apply", "-f", "-", "-o", "json" };
225var args = new List<string> { "get", "sealedsecret", name, "-n", ns, "-o", "json" };
233var args = new List<string> { "get", "secret", name, "-n", ns, "-o", "name" };
245var args = new List<string> { "get", "secret", name, "-n", ns, "-o", "json" };
447var conditions = new List<SealedSecretCondition>();
Aspire.Hosting.Redis (2)
Aspire.Hosting.RemoteHost (36)
Aspire.Hosting.RemoteHost.Tests (9)
Aspire.Hosting.Rust (5)
Aspire.Hosting.Rust.Tests (3)
Aspire.Hosting.Sdk.Tests (1)
Aspire.Hosting.Testing.Tests (3)
Aspire.Hosting.Tests (144)
Aspire.Hosting.TestUtilities (3)
Aspire.Hosting.Valkey (1)
Aspire.Hosting.Yarp (3)
Aspire.Hosting.Yarp.Tests (10)
Aspire.Microsoft.Azure.Cosmos (1)
Aspire.Microsoft.EntityFrameworkCore.Cosmos (1)
Aspire.Microsoft.Extensions.Configuration.AzureAppConfiguration (1)
Aspire.Microsoft.Extensions.Configuration.AzureAppConfiguration.Tests (3)
Aspire.Oracle.EntityFrameworkCore.Tests (1)
Aspire.Playground.Tests (2)
Aspire.RuntimeIdentifier.Tool (1)
Aspire.Templates.Tests (3)
Aspire.TerminalHost (1)
Aspire.TestTools (2)
Aspire.TestUtilities (2)
Aspire.TypeSystem (1)
AzureAppService.ApiService (1)
AzureContainerApps.ApiService (1)
AzureFunctionsWithDts.Functions (1)
AzureStorageEndToEnd.ApiService (1)
AzureVirtualNetworkEndToEnd.ApiService (1)
BasketService (3)
BicepSample.ApiService (6)
blazor-gateway (2)
BlazorHosted.ClientServiceDefaults (1)
BlazorStandalone.ClientServiceDefaults (1)
CatalogDb (1)
CatalogModel (1)
cdac-build-tool (1)
CdkSample.ApiService (2)
Client.ClientBase.IntegrationTests (1)
ConfigurationSchemaGenerator (13)
CosmosEndToEnd.ApiService (1)
crossgen2 (11)
Crossgen2Tasks (7)
CSharpSyntaxGenerator (7)
dotnet (61)
dotnet-aot (18)
dotnet-dev-certs (19)
dotnet-format (4)
dotnet-getdocument (8)
dotnet-Microsoft.XmlSerializer.Generator (7)
dotnet-openapi (7)
dotnet-razorpagegenerator (1)
dotnet-sourcelink (4)
dotnet-sql-cache (7)
dotnet-suggest (1)
dotnet-svcutil-lib (202)
dotnet-svcutil-lib.Tests (4)
dotnet-svcutil.xmlserializer (9)
dotnet-user-jwts (17)
dotnet-user-secrets (7)
dotnet-watch (6)
GenerateAnalyzerNuspec (2)
GenerateDocumentationAndConfigFiles (32)
GetDocument.Insider (9)
HelixTestTasks (5)
ILAssembler (23)
ilc (13)
ILCompiler.Build.Tasks (1)
ILCompiler.Compiler (141)
ILCompiler.DependencyAnalysisFramework (6)
ILCompiler.Diagnostics (2)
ILCompiler.MetadataTransform (44)
ILCompiler.ReadyToRun (113)
ILCompiler.RyuJit (11)
ILCompiler.TypeSystem (7)
illink (76)
ILLink.CodeFixProvider (5)
ILLink.RoslynAnalyzer (5)
Infrastructure.Common (5)
Infrastructure.Tests (36)
Microsoft.Analyzers.Extra (8)
Microsoft.Analyzers.Extra.Tests (7)
Microsoft.Analyzers.Local (2)
Microsoft.Analyzers.Local.Tests (10)
Microsoft.AspNetCore (5)
Microsoft.AspNetCore.Analyzers (2)
Microsoft.AspNetCore.Antiforgery (1)
Microsoft.AspNetCore.App.Analyzers (4)
Microsoft.AspNetCore.Authentication.Abstractions (3)
Microsoft.AspNetCore.Authentication.Certificate (1)
Microsoft.AspNetCore.Authentication.Cookies (3)
Microsoft.AspNetCore.Authentication.Core (1)
Microsoft.AspNetCore.Authentication.DeviceBoundSessions (7)
Microsoft.AspNetCore.Authentication.JwtBearer (2)
Microsoft.AspNetCore.Authentication.Negotiate (1)
Microsoft.AspNetCore.Authentication.OAuth (2)
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
Microsoft.AspNetCore.Authentication.Twitter (1)
Microsoft.AspNetCore.Authorization (6)
Microsoft.AspNetCore.Components (31)
Microsoft.AspNetCore.Components.AI (20)
Microsoft.AspNetCore.Components.AI.SourceGenerators (3)
Microsoft.AspNetCore.Components.Analyzers (7)
Microsoft.AspNetCore.Components.Authorization (1)
Microsoft.AspNetCore.Components.Endpoints (32)
Microsoft.AspNetCore.Components.Forms (4)
Microsoft.AspNetCore.Components.QuickGrid (7)
Microsoft.AspNetCore.Components.SdkAnalyzers (2)
Microsoft.AspNetCore.Components.Server (17)
Microsoft.AspNetCore.Components.Testing (6)
Microsoft.AspNetCore.Components.Web (4)
Microsoft.AspNetCore.Components.WebAssembly (12)
Microsoft.AspNetCore.Components.WebAssembly.Authentication (1)
Microsoft.AspNetCore.Components.WebView (1)
Microsoft.AspNetCore.Connections.Abstractions (2)
Microsoft.AspNetCore.Cors (7)
Microsoft.AspNetCore.DataProtection (9)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (8)
Microsoft.AspNetCore.Diagnostics (7)
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (3)
Microsoft.AspNetCore.Diagnostics.Middleware (7)
Microsoft.AspNetCore.Diagnostics.Middleware.PerformanceTests (1)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (20)
Latency\RequestLatencyTelemetryMiddlewareTests.cs (5)
33Options.Create(new RequestLatencyTelemetryOptions()), new List<ILatencyDataExporter> { ex1, ex2 },
64new List<ILatencyDataExporter> { ex1, ex2 });
92Options.Create(new RequestLatencyTelemetryOptions()), new List<ILatencyDataExporter> { ex1, ex2 },
122new List<ILatencyDataExporter> { ex1, ex2 },
173new List<ILatencyDataExporter> { ex1 },
Microsoft.AspNetCore.Grpc.JsonTranscoding (14)
Microsoft.AspNetCore.HeaderParsing (3)
Microsoft.AspNetCore.HeaderParsing.Tests (4)
Microsoft.AspNetCore.HostFiltering (2)
Microsoft.AspNetCore.Hosting (8)
Microsoft.AspNetCore.Html.Abstractions (1)
Microsoft.AspNetCore.Http (7)
Microsoft.AspNetCore.Http.Abstractions (6)
Microsoft.AspNetCore.Http.Connections (10)
Microsoft.AspNetCore.Http.Connections.Client (1)
Microsoft.AspNetCore.Http.Connections.Common (2)
Microsoft.AspNetCore.Http.Extensions (16)
Microsoft.AspNetCore.Http.Features (1)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (4)
Microsoft.AspNetCore.HttpLogging (6)
Microsoft.AspNetCore.HttpOverrides (5)
Microsoft.AspNetCore.HttpsPolicy (1)
Microsoft.AspNetCore.Identity (3)
Microsoft.AspNetCore.Identity.EntityFrameworkCore (1)
Microsoft.AspNetCore.Identity.UI (1)
Microsoft.AspNetCore.InternalTesting (3)
Microsoft.AspNetCore.JsonPatch (5)
Microsoft.AspNetCore.JsonPatch.SystemTextJson (2)
Microsoft.AspNetCore.Localization (7)
Microsoft.AspNetCore.Mvc.Abstractions (9)
Microsoft.AspNetCore.Mvc.ApiExplorer (7)
Microsoft.AspNetCore.Mvc.Core (76)
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
Microsoft.AspNetCore.Mvc.Formatters.Xml (4)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
Microsoft.AspNetCore.Mvc.Razor (10)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (5)
Microsoft.AspNetCore.Mvc.RazorPages (13)
Microsoft.AspNetCore.Mvc.TagHelpers (4)
Microsoft.AspNetCore.Mvc.Testing (4)
Microsoft.AspNetCore.Mvc.ViewFeatures (20)
Microsoft.AspNetCore.OpenApi (4)
Microsoft.AspNetCore.OpenApi.SourceGenerators (6)
Microsoft.AspNetCore.OutputCaching (8)
Microsoft.AspNetCore.RateLimiting (1)
Microsoft.AspNetCore.Razor (3)
Microsoft.AspNetCore.Razor.Runtime (3)
Microsoft.AspNetCore.ResponseCaching (1)
Microsoft.AspNetCore.Rewrite (10)
Microsoft.AspNetCore.Routing (70)
Microsoft.AspNetCore.Routing.Abstractions (2)
Microsoft.AspNetCore.Server.HttpSys (5)
Microsoft.AspNetCore.Server.IIS (5)
Microsoft.AspNetCore.Server.IntegrationTesting (7)
Microsoft.AspNetCore.Server.Kestrel.Core (35)
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
Microsoft.AspNetCore.SignalR.Client.Core (3)
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (6)
Microsoft.AspNetCore.SignalR.Common (2)
Microsoft.AspNetCore.SignalR.Core (7)
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (3)
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (3)
Microsoft.AspNetCore.SignalR.Specification.Tests (5)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (3)
Microsoft.AspNetCore.StaticAssets (2)
Microsoft.AspNetCore.StaticFiles (1)
Microsoft.AspNetCore.TestHost (1)
Microsoft.AspNetCore.WebSockets (1)
Microsoft.AspNetCore.WebUtilities (1)
Microsoft.Authentication.WebAssembly.Msal (3)
Microsoft.Build (193)
Microsoft.Build.Framework (15)
Microsoft.Build.NuGetSdkResolver (5)
Microsoft.Build.Tasks.CodeAnalysis (3)
Microsoft.Build.Tasks.Core (163)
Microsoft.Build.Tasks.Git (11)
Microsoft.Build.Utilities.Core (31)
Microsoft.CodeAnalysis (41)
Microsoft.CodeAnalysis.Analyzers (34)
Microsoft.CodeAnalysis.AnalyzerUtilities (23)
Microsoft.CodeAnalysis.CodeStyle (21)
Microsoft.CodeAnalysis.CodeStyle.Fixes (11)
Microsoft.CodeAnalysis.CSharp (31)
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (7)
Microsoft.CodeAnalysis.CSharp.Features (32)
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (5)
Microsoft.CodeAnalysis.CSharp.Workspaces (22)
Microsoft.CodeAnalysis.Extensions.Package (2)
Microsoft.CodeAnalysis.ExternalAccess.HotReload (1)
Microsoft.CodeAnalysis.Features (43)
Microsoft.CodeAnalysis.NetAnalyzers (32)
Microsoft.CodeAnalysis.Razor.Compiler (22)
Microsoft.CodeAnalysis.Rebuild (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (24)
Microsoft.CodeAnalysis.Scripting (9)
Microsoft.CodeAnalysis.VisualBasic (2)
Microsoft.CodeAnalysis.Workspaces (45)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
Microsoft.CSharp (37)
Microsoft.Data.Analysis (36)
Microsoft.Data.Analysis.Interactive (6)
Microsoft.Data.Analysis.Interactive.Tests (1)
Microsoft.Data.Analysis.Tests (34)
DataFrameTests.cs (27)
327List<int> verify = new List<int>() { 0, 3, 1, 4, 2, 5 };
349List<int> originalColumnVerify = new List<int>() { 6, 8, 7, 9 };
350List<int> tailColumnVerity = new List<int>() { 1, 2, 4, 5 };
1091df.Append(new List<object> { 5, true }, inPlace: true);
1096DataFrame ret = df.Append(new List<object> { 5, true });
1101df.Append(new List<object> { 100 }, inPlace: true);
1106ret = df.Append(new List<object> { 100 }, inPlace: false);
1111df.Append(new List<object> { null, null }, inPlace: true);
1115ret = df.Append(new List<object> { null, null }, inPlace: false);
1171Assert.Throws<FormatException>(() => df.Append(new List<object> { 5, "str" }, inPlace: true));
1173Assert.Throws<ArgumentException>(() => df.Append(new List<object> { 5, true, true }, inPlace: true));
1199df.Append(new List<object> { "", true }, inPlace: true);
1207df.Append(new List<object> { 1, true, "" }, inPlace: true);
1213df.Append(new List<object> { 1, true, null }, inPlace: true);
1410new List<string> { "id" },
1411new List<string> { "A", "B" },
1428new List<string> { "id" },
1446new List<string> { "id" },
1464new List<string> { "id" },
1482new List<string> { "id" },
1500new List<string> { "id" },
1518new List<string> { "id" },
1536new List<string> { "id" },
1554new List<string> { "id" },
1572new List<string> { "id" },
1592new List<string> { "id1", "id2" },
1593new List<string> { "A", "B" },
Microsoft.Deployment.DotNet.Releases (8)
Microsoft.Diagnostics.DataContractReader.Contracts (16)
Microsoft.Diagnostics.DataContractReader.DataGenerator (6)
Microsoft.Diagnostics.DataContractReader.Legacy (38)
Microsoft.Diagnostics.NETCore.Client (7)
Microsoft.DiaSymReader (2)
Microsoft.DotNet.ApiCompatibility (3)
Microsoft.DotNet.ApiSymbolExtensions (1)
Microsoft.DotNet.Arcade.Sdk (2)
Microsoft.DotNet.Build.Manifest (4)
Microsoft.DotNet.Build.Tasks.FileCatalog (1)
Microsoft.DotNet.Build.Tasks.Installers (3)
Microsoft.DotNet.Build.Tasks.Packaging (38)
Microsoft.DotNet.Build.Tasks.Workloads (5)
Microsoft.DotNet.Cli.Definitions (5)
Microsoft.DotNet.Cli.Telemetry (2)
Microsoft.DotNet.Cli.Utils (6)
Microsoft.DotNet.CMake.Sdk (1)
Microsoft.DotNet.GenFacades (2)
Microsoft.DotNet.HotReload.Utils.Generator (5)
Microsoft.DotNet.HotReload.Watch (14)
Microsoft.DotNet.HotReload.WebAssembly.Browser (3)
Microsoft.DotNet.NuGetRepack.Tasks (3)
Microsoft.DotNet.PackageTesting (5)
Microsoft.DotNet.SharedFramework.Sdk (6)
Microsoft.DotNet.TemplateLocator (3)
Microsoft.DotNet.XliffTasks (4)
Microsoft.Extensions.AI (5)
Microsoft.Extensions.AI.Abstractions.Tests (15)
Microsoft.Extensions.AI.Evaluation (1)
Microsoft.Extensions.AI.Evaluation.Integration.Tests (7)
Microsoft.Extensions.AI.Evaluation.Quality (1)
Microsoft.Extensions.AI.Integration.Tests (13)
Microsoft.Extensions.AI.OpenAI (7)
Microsoft.Extensions.AI.OpenAI.Tests (31)
Microsoft.Extensions.AI.Stabilization.Tests (1)
Microsoft.Extensions.AI.Tests (115)
Microsoft.Extensions.AmbientMetadata.Application (2)
Microsoft.Extensions.AmbientMetadata.Build (1)
Microsoft.Extensions.AsyncState.Tests (1)
Microsoft.Extensions.Caching.Memory (7)
Microsoft.Extensions.Compliance.Abstractions.Tests (2)
Microsoft.Extensions.Compliance.Redaction (2)
Microsoft.Extensions.Compliance.Testing (2)
Microsoft.Extensions.Configuration (9)
Microsoft.Extensions.Configuration.Binder (4)
Microsoft.Extensions.Configuration.Binder.SourceGeneration (10)
Microsoft.Extensions.Configuration.Xml (5)
Microsoft.Extensions.DependencyInjection (8)
Microsoft.Extensions.DependencyInjection.Abstractions (1)
Microsoft.Extensions.DependencyModel (15)
Microsoft.Extensions.Diagnostics (1)
Microsoft.Extensions.Diagnostics.Abstractions (2)
Microsoft.Extensions.Diagnostics.ExceptionSummarization (1)
Microsoft.Extensions.Diagnostics.ExceptionSummarization.Tests (2)
Microsoft.Extensions.Diagnostics.HealthChecks (1)
Microsoft.Extensions.Diagnostics.HealthChecks.Common (1)
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (8)
TelemetryHealthChecksPublisherTests.cs (6)
26new List<HealthStatus> { HealthStatus.Healthy },
34new List<HealthStatus> { HealthStatus.Degraded },
42new List<HealthStatus> { HealthStatus.Unhealthy },
50new List<HealthStatus> { HealthStatus.Healthy, HealthStatus.Healthy },
58new List<HealthStatus> { HealthStatus.Healthy, HealthStatus.Unhealthy },
66new List<HealthStatus> { HealthStatus.Healthy, HealthStatus.Degraded, HealthStatus.Unhealthy },
Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization (3)
Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization.Tests (7)
Microsoft.Extensions.Diagnostics.Probes (2)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (18)
Microsoft.Extensions.Diagnostics.Testing (6)
Microsoft.Extensions.Diagnostics.Testing.Tests (2)
Microsoft.Extensions.DotNetDeltaApplier (3)
Microsoft.Extensions.FileProviders.Composite (3)
Microsoft.Extensions.FileProviders.Embedded (4)
Microsoft.Extensions.FileSystemGlobbing (15)
Microsoft.Extensions.Hosting (18)
Microsoft.Extensions.Hosting.Testing.Tests (2)
Microsoft.Extensions.Http (4)
Microsoft.Extensions.Http.Diagnostics (2)
Microsoft.Extensions.Http.Diagnostics.Tests (52)
HttpHeadersRedactorTests.cs (8)
32Add(new LinkedList<string>(new List<string> { "aaa", "bbb", "ccc" }), "Redacted:aaa,Redacted:bbb,Redacted:ccc");
33Add(new LinkedList<string>(new List<string> { "aaa", "bbb", null! }), "Redacted:aaa,Redacted:bbb,");
34Add(new LinkedList<string>(new List<string> { "aaa", null!, null! }), "Redacted:aaa,,");
35Add(new LinkedList<string>(new List<string> { null!, null!, null! }), ",,");
36Add(new LinkedList<string>(new List<string> { null! }), string.Empty);
37Add(new LinkedList<string>(new List<string> { "aaa" }), "Redacted:aaa");
38Add(new LinkedList<string>(new List<string>()), string.Empty);
39Add(new LinkedList<string>(new List<string> { longStr, "bbb", "ccc" }), $"Redacted:{longStr},Redacted:bbb,Redacted:ccc");
Logging\AcceptanceTests.cs (5)
169httpRequestMessage.Headers.Add("ReQuEStHeAdErFirst", new List<string> { "Request Value 2", "Request Value 3" });
185httpRequestMessage2.Headers.Add("ReQuEStHeAdErSecond", new List<string> { "Request Value 2", "Request Value 3" });
250httpRequestMessage.Headers.Add("ReQuEStHeAdEr2", new List<string> { "Request Value 2", "Request Value 3" });
272httpRequestMessage2.Headers.Add("ReQuEStHeAdEr2", new List<string> { "Request Value 2", "Request Value 3" });
688httpRequestMessage.Headers.Add("ReQuEStHeAdEr2", new List<string> { "Request Value 2", "Request Value 3" });
Logging\HttpClientLoggerTest.cs (10)
230new List<IHttpClientLogEnricher> { testEnricher },
327new List<IHttpClientLogEnricher> { testEnricher },
434new List<IHttpClientLogEnricher> { testEnricher },
550new List<IHttpClientLogEnricher> { testEnricher },
644new List<IHttpClientLogEnricher> { testEnricher },
688new List<IHttpClientLogEnricher> { enricher1.Object, enricher2.Object },
731new List<IHttpClientLogEnricher> { enricher1.Object, enricher2.Object },
766var enrichers = new List<IHttpClientLogEnricher> { enricher1.Object, enricher2.Object };
813new List<IHttpClientLogEnricher> { enricher1.Object, enricher2.Object },
915new List<IHttpClientLogEnricher> { testEnricher },
Logging\HttpRequestReaderTest.cs (22)
103var requestHeadersBuffer = new List<KeyValuePair<string, string>>();
104var responseHeadersBuffer = new List<KeyValuePair<string, string>>();
162var requestHeadersBuffer = new List<KeyValuePair<string, string>>();
163var responseHeadersBuffer = new List<KeyValuePair<string, string>>();
234var requestHeadersBuffer = new List<KeyValuePair<string, string>>();
235var responseHeadersBuffer = new List<KeyValuePair<string, string>>();
310var requestHeadersBuffer = new List<KeyValuePair<string, string>>();
311var responseHeadersBuffer = new List<KeyValuePair<string, string>>();
371var requestHeadersBuffer = new List<KeyValuePair<string, string>>();
372var responseHeadersBuffer = new List<KeyValuePair<string, string>>();
443var requestHeadersBuffer = new List<KeyValuePair<string, string>>();
444var responseHeadersBuffer = new List<KeyValuePair<string, string>>();
512var requestHeadersBuffer = new List<KeyValuePair<string, string>>();
513var responseHeadersBuffer = new List<KeyValuePair<string, string>>();
582var requestHeadersBuffer = new List<KeyValuePair<string, string>>();
583var responseHeadersBuffer = new List<KeyValuePair<string, string>>();
669var requestHeadersBuffer = new List<KeyValuePair<string, string>>();
698await reader.ReadRequestAsync(logRecord, httpRequestMessage, new List<KeyValuePair<string, string>>(), CancellationToken.None);
728await reader.ReadRequestAsync(logRecord, httpRequestMessage, new List<KeyValuePair<string, string>>(), CancellationToken.None);
764await reader.ReadRequestAsync(logRecord, httpRequestMessage, new List<KeyValuePair<string, string>>(), CancellationToken.None);
853await reader.ReadRequestAsync(logRecord, httpRequestMessage, new List<KeyValuePair<string, string>>(), CancellationToken.None);
909var requestHeadersBuffer = new List<KeyValuePair<string, string>>();
Microsoft.Extensions.Http.Resilience (21)
Microsoft.Extensions.Http.Resilience.Tests (7)
Microsoft.Extensions.Identity.Core (22)
Microsoft.Extensions.Localization (1)
Microsoft.Extensions.Logging (9)
Microsoft.Extensions.Logging.Abstractions (1)
Microsoft.Extensions.Logging.AzureAppServices (1)
Microsoft.Extensions.Logging.Console (2)
Microsoft.Extensions.Logging.EventLog (1)
Microsoft.Extensions.Logging.EventSource (1)
Microsoft.Extensions.Logging.Generators (10)
Microsoft.Extensions.Options (8)
Microsoft.Extensions.Options.Contextual (1)
Microsoft.Extensions.Options.DataAnnotations (6)
Microsoft.Extensions.Options.SourceGeneration (10)
Microsoft.Extensions.Primitives (1)
Microsoft.Extensions.ServiceDiscovery (5)
Microsoft.Extensions.ServiceDiscovery.Dns (10)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (4)
Microsoft.Extensions.ServiceDiscovery.Tests (1)
Microsoft.Extensions.ServiceDiscovery.Yarp (1)
Microsoft.Extensions.Telemetry (9)
Microsoft.Extensions.Telemetry.Abstractions (4)
Microsoft.Extensions.Telemetry.Abstractions.Tests (1)
Microsoft.Extensions.Telemetry.Tests (13)
Microsoft.Extensions.TimeProvider.Testing.Tests (4)
Microsoft.Extensions.Validation (1)
Microsoft.Extensions.Validation.ValidationsGenerator (3)
Microsoft.Extensions.VectorData.ConformanceTests (1)
Microsoft.Gen.BuildMetadata (2)
Microsoft.Gen.BuildMetadata.Unit.Tests (5)
Microsoft.Gen.ComplianceReports (2)
Microsoft.Gen.ComplianceReports.Unit.Tests (5)
Microsoft.Gen.ContextualOptions (1)
Microsoft.Gen.ContextualOptions.Unit.Tests (6)
Microsoft.Gen.Logging (6)
Microsoft.Gen.Logging.Unit.Tests (7)
Microsoft.Gen.MetadataExtractor (7)
Microsoft.Gen.MetadataExtractor.Unit.Tests (5)
Microsoft.Gen.Metrics (7)
Microsoft.Gen.Metrics.Unit.Tests (10)
Microsoft.Gen.MetricsReports (5)
Microsoft.Gen.MetricsReports.Unit.Tests (5)
Microsoft.Interop.ComInterfaceGenerator (11)
Microsoft.Interop.JavaScript.JSImportGenerator (5)
Microsoft.Interop.LibraryImportGenerator (12)
Microsoft.Interop.LibraryImportGenerator.Downlevel (2)
Microsoft.Interop.SourceGeneration (6)
Microsoft.Maui (23)
Microsoft.Maui.Controls (118)
Microsoft.Maui.Controls.BindingSourceGen (5)
Microsoft.Maui.Controls.Build.Tasks (23)
Microsoft.Maui.Controls.Foldable (1)
Microsoft.Maui.Controls.SourceGen (8)
Microsoft.Maui.Controls.Xaml (18)
Microsoft.Maui.Essentials (14)
Microsoft.Maui.Graphics (19)
Microsoft.Maui.Graphics.Skia (1)
Microsoft.Maui.Graphics.Text.Markdig (1)
Microsoft.Maui.Maps (1)
Microsoft.Maui.Resizetizer (7)
Microsoft.ML.AutoML (63)
Microsoft.ML.AutoML.Interactive (5)
Microsoft.ML.AutoML.SourceGenerator (5)
Microsoft.ML.AutoML.Tests (35)
InferredPipelineTests.cs (19)
28var transforms1 = new List<SuggestedTransform>();
29var transforms2 = new List<SuggestedTransform>();
30var inferredPipeline1 = new SuggestedPipeline(transforms1, new List<SuggestedTransform>(), trainer1, context, false);
31var inferredPipeline2 = new SuggestedPipeline(transforms2, new List<SuggestedTransform>(), trainer2, context, false);
35var hyperparams1 = new ParameterSet(new List<IParameterValue>() { new LongParameterValue("NumberOfLeaves", 2) });
38inferredPipeline1 = new SuggestedPipeline(transforms1, new List<SuggestedTransform>(), trainer1, context, false);
39inferredPipeline2 = new SuggestedPipeline(transforms2, new List<SuggestedTransform>(), trainer2, context, false);
43hyperparams1 = new ParameterSet(new List<IParameterValue>() { new LongParameterValue("NumberOfLeaves", 2) });
44var hyperparams2 = new ParameterSet(new List<IParameterValue>() { new LongParameterValue("NumberOfLeaves", 6) });
47inferredPipeline1 = new SuggestedPipeline(transforms1, new List<SuggestedTransform>(), trainer1, context, false);
48inferredPipeline2 = new SuggestedPipeline(transforms2, new List<SuggestedTransform>(), trainer2, context, false);
54transforms1 = new List<SuggestedTransform>() { ColumnConcatenatingExtension.CreateSuggestedTransform(context, new[] { "In" }, "Out") };
55transforms2 = new List<SuggestedTransform>() { ColumnConcatenatingExtension.CreateSuggestedTransform(context, new[] { "In" }, "Out") };
56inferredPipeline1 = new SuggestedPipeline(transforms1, new List<SuggestedTransform>(), trainer1, context, false);
57inferredPipeline2 = new SuggestedPipeline(transforms2, new List<SuggestedTransform>(), trainer2, context, false);
63transforms1 = new List<SuggestedTransform>() { ColumnConcatenatingExtension.CreateSuggestedTransform(context, new[] { "In" }, "Out") };
64transforms2 = new List<SuggestedTransform>() { ColumnConcatenatingExtension.CreateSuggestedTransform(context, new[] { "In" }, "Out") };
65inferredPipeline1 = new SuggestedPipeline(transforms1, new List<SuggestedTransform>(), trainer1, context, false);
66inferredPipeline2 = new SuggestedPipeline(transforms2, new List<SuggestedTransform>(), trainer2, context, false);
Microsoft.ML.CodeGenerator (16)
Microsoft.ML.CodeGenerator.Tests (19)
ApprovalTests\ConsoleCodeGeneratorTests.cs (9)
602var hyperparams1 = new Microsoft.ML.AutoML.ParameterSet(new List<Microsoft.ML.AutoML.IParameterValue>() { new LongParameterValue("NumLeaves", 2) });
604var transforms1 = new List<SuggestedTransform>() { ColumnConcatenatingExtension.CreateSuggestedTransform(context, new[] { "In" }, "Out") };
605var inferredPipeline1 = new SuggestedPipeline(transforms1, new List<SuggestedTransform>(), trainer1, context, true);
639var hyperparams1 = new Microsoft.ML.AutoML.ParameterSet(new List<Microsoft.ML.AutoML.IParameterValue>() { new LongParameterValue("NumLeaves", 2) });
641var transforms1 = new List<SuggestedTransform>() { ColumnConcatenatingExtension.CreateSuggestedTransform(context, new[] { "In" }, "Out") };
642var inferredPipeline1 = new SuggestedPipeline(transforms1, new List<SuggestedTransform>(), trainer1, context, true);
1097var hyperparams1 = new Microsoft.ML.AutoML.ParameterSet(new List<Microsoft.ML.AutoML.IParameterValue>() { new LongParameterValue("NumLeaves", 2) });
1099var transforms1 = new List<SuggestedTransform>() { ColumnConcatenatingExtension.CreateSuggestedTransform(context, new[] { "In" }, "Out") };
1100var inferredPipeline1 = new SuggestedPipeline(transforms1, new List<SuggestedTransform>(), trainer1, context, true);
Microsoft.ML.Core (34)
Microsoft.ML.Core.Tests (10)
Microsoft.ML.Data (251)
Microsoft.ML.DataView (3)
Microsoft.ML.Ensemble (4)
Microsoft.ML.EntryPoints (36)
Microsoft.ML.FastTree (95)
Microsoft.ML.GenAI.Core (2)
Microsoft.ML.GenAI.Core.Tests (3)
Microsoft.ML.GenAI.LLaMA (4)
Microsoft.ML.GenAI.LLaMA.Tests (1)
Microsoft.ML.GenAI.Mistral (3)
Microsoft.ML.GenAI.Mistral.Tests (2)
Microsoft.ML.GenAI.Phi (3)
Microsoft.ML.GenAI.Samples (2)
Microsoft.ML.IntegrationTests (1)
Microsoft.ML.InternalCodeAnalyzer (1)
Microsoft.ML.KMeansClustering (1)
Microsoft.ML.LightGbm (11)
Microsoft.ML.Maml (3)
Microsoft.ML.Mkl.Components (2)
Microsoft.ML.OnnxConverter (7)
Microsoft.ML.OnnxTransformer (3)
Microsoft.ML.OnnxTransformerTest (6)
Microsoft.ML.Parquet (1)
Microsoft.ML.PerformanceTests (5)
Microsoft.ML.Predictor.Tests (17)
Microsoft.ML.Recommender (3)
Microsoft.ML.ResultProcessor (10)
Microsoft.ML.Samples (77)
Microsoft.ML.Samples.OneDal (3)
Microsoft.ML.SamplesUtils (4)
Microsoft.ML.SearchSpace (3)
Microsoft.ML.StandardTrainers (17)
Microsoft.ML.Sweeper (28)
Microsoft.ML.Sweeper.Tests (13)
Microsoft.ML.TensorFlow (1)
Microsoft.ML.TensorFlow.Tests (4)
Microsoft.ML.TestFramework (13)
Microsoft.ML.TestFrameworkCommon (3)
Microsoft.ML.Tests (86)
OnnxConversionTest.cs (19)
185List<IEstimator<ITransformer>> estimators = new List<IEstimator<ITransformer>>()
223List<IEstimator<ITransformer>> estimators = new List<IEstimator<ITransformer>>()
281List<IEstimator<ITransformer>> estimators = new List<IEstimator<ITransformer>>()
415var samples = new List<DataPoint>()
506ctx.AddInitializer(new List<float> { 9.4f, 1.7f, 3.6f }, new List<long> { 1, 3 }, "floats");
507ctx.AddInitializer(new List<long> { 94L, 17L, 36L }, new List<long> { 1, 3 }, "int64s");
508ctx.AddInitializer(new List<string> { "94", "17", "36" }, new List<long> { 1, 3 }, "strings");
1154var samples = new List<DataPoint>()
1243List<IEstimator<ITransformer>> pipelines = new List<IEstimator<ITransformer>>();
1439var samples = new List<TextData>()
1466var samples = new List<TextData>()
1546var samples = new List<TextData>()
1570var samples = new List<TextData>()
1649List<IEstimator<ITransformer>> estimators = new List<IEstimator<ITransformer>>()
1934List<IEstimator<ITransformer>> estimators = new List<IEstimator<ITransformer>>()
1976List<IEstimator<ITransformer>> estimators = new List<IEstimator<ITransformer>>()
Transformers\ValueMappingTests.cs (23)
55var keys = new List<string>() { "foo", "bar", "test", "wahoo" };
56var values = new List<int>() { 1, 2, 3, 4 };
93var keys = new List<ReadOnlyMemory<char>>() { "foo".AsMemory(), "bar".AsMemory(), "test".AsMemory(), "wahoo".AsMemory() };
94var values = new List<int>() { 1, 2, 3, 4 };
139var keyValuePairs = new List<KeyValuePair<string, string>>() {
174IEnumerable<string> keys = new List<string>() { "foo", "bar", "test" };
175List<int[]> values = new List<int[]>() {
263IEnumerable<string> keys = new List<string>() { "foo", "bar", "test" };
264List<string[]> values = new List<string[]>() {
307var keys = new List<string>() { "foo", "bar", "test", "wahoo" };
308var values = new List<int>() { 1, 2, 3, 4 };
345var keys = new List<string>() { "foo", "foo" };
346var values = new List<int>() { 1, 2 };
364var keyValuePairs = new List<KeyValuePair<string, int>>() {
396var keyValuePairs = new List<KeyValuePair<string, string>>() {
430var keyValuePairs = new List<KeyValuePair<string, uint>>() {
471var keyValuePairs = new List<KeyValuePair<string, ulong>>() {
512var keyValuePairs = new List<KeyValuePair<string, string>>() {
552var keyValuePairs = new List<KeyValuePair<string, string>>() {
594var keyValuePairs = new List<KeyValuePair<string, int>>() {
613var keyValuePairs = new List<KeyValuePair<string, int[]>>() {
633var keyValuePairs = new List<KeyValuePair<ReadOnlyMemory<char>, int>>() {
687var keyValuePairs = new List<KeyValuePair<string, int>>() {
Microsoft.ML.TimeSeries (40)
Microsoft.ML.TimeSeries.Tests (39)
TimeSeriesDirectApi.cs (19)
134List<double> expectedValues = new List<double>() { 0, 5, 0.5, 5.1200000000000114E-08, 0, 5, 0.4999999995, 5.1200000046080209E-08, 0, 5, 0.4999999995, 5.1200000092160303E-08,
157List<Data> data = new List<Data>();
187List<double> expectedValues = new List<double>() { 0, -3.31410551071167, 0.5, 5.12000000000001E-08, 0, 1.570083498954773, 5.2001145245395008E-07,
213List<Data> data = new List<Data>();
289List<Data> data = new List<Data>();
359List<Data> data = new List<Data>();
394List<float> expectedForecast = new List<float>() { 0.191492021f, 2.53994060f, 5.26454258f, 7.37313938f };
395List<float> minCnf = new List<float>() { -3.9741986f, -2.36872721f, 0.09407699f, 2.18899393f };
396List<float> maxCnf = new List<float>() { 4.3571825f, 7.4486084f, 10.435008f, 12.5572853f };
422List<Data> data = new List<Data>();
546var data = new List<TimeSeriesData>();
602data = new List<TimeSeriesDataDouble>();
958var rootCauseLocalizationInput = new RootCauseLocalizationInput(GetRootCauseTimestamp(), GetRootCauseAnomalyDimension("UK", _rootCauseAggSymbol), new List<MetricSlice>() { new MetricSlice(GetRootCauseTimestamp(), GetRootCauseLocalizationPoints(_rootCauseAggSymbol)) }, AggregateType.Sum, _rootCauseAggSymbol);
985var rootCauseLocalizationInput = new RootCauseLocalizationInput(GetRootCauseTimestamp(), GetRootCauseAnomalyDimension("UK", _rootCauseAggSymbol), new List<MetricSlice>() { new MetricSlice(GetRootCauseTimestamp(), GetRootCauseLocalizationPoints(_rootCauseAggSymbol)) }, AggregateType.Sum, _rootCauseAggSymbol);
1031List<MetricSlice> slice = new List<MetricSlice>
1085List<TimeSeriesPoint> points = new List<TimeSeriesPoint>();
1181List<MetricSlice> slice = new List<MetricSlice>
1215List<MetricSlice> slice = new List<MetricSlice>
1229List<TimeSeriesPoint> points = new List<TimeSeriesPoint>();
TimeSeriesSimpleApiTests.cs (5)
62List<double> expectedValues = new List<double>() { 0, 5, 0.5, 5.1200000000000114E-08, 0, 5, 0.4999999995, 5.1200000046080209E-08, 0, 5, 0.4999999995, 5.1200000092160303E-08,
85var data = new List<Data>();
105List<double> expectedValues = new List<double>() { 0, -3.31410598754883, 0.5, 5.12000000000001E-08, 0, 1.5700820684432983, 5.2001145245395008E-07,
145var expectedValues = new List<double[]>() {
197var expectedValues = new List<double[]>() {
Microsoft.ML.Tokenizers (24)
Microsoft.ML.Tokenizers.Data.Tests (2)
Microsoft.ML.Tokenizers.Tests (29)
TiktokenTests.cs (13)
150Assert.Equal(new List<int>() { 9906, 4435 }, encoded);
162Assert.Equal(new List<Range> { new Range(0, 5), new Range(5, 11) }, offsets);
203Assert.Equal(new List<int>() { 100264, 9906, 4435, 100265 }, encoded);
216Assert.Equal(new List<(int, int)> { (0, 12), (12, 5), (17, 6), (23, 10) }, offsets);
246Assert.Equal(new List<int>() { 100264, 9906, 100265, 4435 }, encoded);
259Assert.Equal(new List<(int, int)> { (0, 12), (12, 5), (17, 10), (27, 6) }, offsets);
281Assert.Equal(new List<int>() { 100264, 9906, 2928, 99834, 4435, 100265 }, encoded);
289Assert.Equal(new List<(int, int)> { (0, 12), (12, 5), (17, 2), (18, 1), (19, 6), (25, 10) }, result.Select(token => (token.Offset.Start.Value, token.Offset.End.Value - token.Offset.Start.Value)).ToArray());
317Assert.Equal(new List<int>() { 199999, 13225, 161181, 5922, 200018 }, encoded);
326Assert.Equal(new List<(int, int)> { (0, 13), (13, 5), (18, 2), (20, 6), (26, 15) }, result.Select(token => (token.Offset.Start.Value, token.Offset.End.Value - token.Offset.Start.Value)).ToArray());
807Assert.Equal(new List<int>() { 100264, 9906, 100266, 4435, 100265, 100349 }, encoded);
845new List<int> { 199998, 200006, 200008, 13225, 5922, 200007, 199999 },
852Assert.Equal(new List<(int, int)> { (0, 15), (15, 24), (24, 35), (35, 40), (40, 46), (46, 53), (53, 66) },
UnigramTests.cs (9)
500IReadOnlyList<int> ids2 = index < normalized.Length ? _unigramTokenizer.EncodeToIds(normalized!.Substring(index), addBeginningOfSentence: false, addEndOfSentence: false, considerNormalization: false) : new List<int>();
506ids2 = index < normalized.Length ? _unigramTokenizer.EncodeToIds(normalized!.Substring(index).AsSpan(), addBeginningOfSentence: false, addEndOfSentence: false, considerNormalization: false) : new List<int>();
512ids2 = index < normalized.Length ? _unigramTokenizer.EncodeToIds(normalized!.Substring(index), addBeginningOfSentence: false, addEndOfSentence: false, considerNormalization: false) : new List<int>();
518ids2 = index < normalized.Length ? _unigramTokenizer.EncodeToIds(normalized!.Substring(index).AsSpan(), addBeginningOfSentence: false, addEndOfSentence: false, considerNormalization: false) : new List<int>();
570var vocab = new List<(string Piece, float Score)>
608var vocab = new List<(string Piece, float Score)> { ("a", 0f) };
674var vocab = new List<(string Piece, float Score)>
696var vocab = new List<(string Piece, float Score)>
1285var vocab = new List<(string Piece, float Score)>
Microsoft.ML.TorchSharp (72)
AutoFormerV2\AutoFormerV2Backbone.cs (7)
60embedChannels ??= new List<int>() { 96, 192, 384, 576 };
61depths ??= new List<int>() { 2, 2, 6, 2 };
62numHeads ??= new List<int>() { 3, 6, 12, 18 };
63windowSizes ??= new List<int>() { 7, 7, 14, 7 };
64outIndices ??= new List<int>() { 1, 2, 3 };
72var dpr = new List<double>();
121var outs = new List<Tensor>();
AutoFormerV2\BasicLayer.cs (2)
69List<int> hSlicesStartAndEnd = new List<int>() { 0, hp - this.windowSize, hp - this.windowSize, hp - this.shiftSize, hp - this.shiftSize, hp };
70List<int> wSlicesStartAndEnd = new List<int>() { 0, wp - this.windowSize, wp - this.windowSize, wp - this.shiftSize, wp - this.shiftSize, wp };
AutoFormerV2\ObjectDetectionTrainer.cs (12)
84public List<int> Steps = new List<int> { 6 };
218embedChannels: new List<int>() { 64, 128, 256, 448 },
219depths: new List<int>() { 2, 2, 6, 2 },
220numHeads: new List<int>() { 2, 4, 8, 14 },
377List<Tensor> part = new List<Tensor>();
446var metadata = new List<SchemaShape.Column>();
450var scoreMetadata = new List<SchemaShape.Column>();
551var scoreMetadata = new List<SchemaShape.Column>();
689embedChannels: new List<int>() { 64, 128, 256, 448 },
690depths: new List<int>() { 2, 2, 6, 2 },
691numHeads: new List<int>() { 2, 4, 8, 14 },
911var part = new List<Tensor>();
NasBert\Modules\MultiHeadAttention.cs (7)
206k = torch.cat(new List<torch.Tensor> { k, kRepeat }, dim: 0);
207v = torch.cat(new List<torch.Tensor> { v, vRepeat }, dim: 0);
224: torch.cat(new List<torch.Tensor> { prevKey, k }, dim: 1);
232: torch.cat(new List<torch.Tensor> { prevValue, v }, dim: 1);
258k = torch.cat(new List<torch.Tensor> { k, kZeros }, dim: 1);
259v = torch.cat(new List<torch.Tensor> { v, vZeros }, dim: 1);
310return torch.cat(new List<torch.Tensor> { tensor, zeros }, dim: 1);
Utils\ImageUtils.cs (6)
49var finalResult = new[] { new List<Tensor>(), new List<Tensor>(), new List<Tensor>() };
119var keep = new List<long>();
191new List<Tensor> { predBoxesX1, predBoxesY1, predBoxesX2, predBoxesY2 },
220new List<Tensor> { clippedBoxesX0, clippedBoxesY0, clippedBoxesX1, clippedBoxesY1 },
Microsoft.ML.TorchSharp.Tests (1)
Microsoft.ML.Transforms (77)
Microsoft.ML.Vision (4)
Microsoft.NET.Build.Containers (6)
Microsoft.NET.Build.Extensions.Tasks (4)
Microsoft.NET.Build.Tasks (89)
Microsoft.NET.HostModel (6)
Microsoft.Net.Http.Headers (5)
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (4)
Microsoft.NET.Sdk.Publish.Tasks (9)
Microsoft.NET.Sdk.Razor.Tasks (1)
Microsoft.NET.Sdk.StaticWebAssets.Tasks (53)
Microsoft.NET.Sdk.WorkloadManifestReader (3)
Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver (2)
Microsoft.Private.Windows.Core (1)
Microsoft.SourceLink.AzureDevOpsServer.Git (2)
Microsoft.SourceLink.AzureRepos.Git (2)
Microsoft.SourceLink.Bitbucket.Git (2)
Microsoft.SourceLink.Common (2)
Microsoft.SourceLink.Gitea (2)
Microsoft.SourceLink.Gitee (2)
Microsoft.SourceLink.GitHub (2)
Microsoft.SourceLink.GitLab (2)
Microsoft.SourceLink.GitWeb (2)
Microsoft.SourceLink.Tools.Package (1)
Microsoft.TemplateEngine.Cli (54)
Microsoft.TemplateEngine.Core (26)
Microsoft.TemplateEngine.Edge (46)
Microsoft.TemplateEngine.IDE (5)
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (76)
Microsoft.TemplateEngine.Utils (17)
Microsoft.TemplateSearch.Common (16)
Microsoft.TestPlatform.AdapterUtilities (1)
Microsoft.TestPlatform.Build (5)
Microsoft.TestPlatform.CommunicationUtilities (11)
Microsoft.TestPlatform.CoreUtilities (1)
Microsoft.TestPlatform.CrossPlatEngine (31)
Microsoft.TestPlatform.Extensions.BlameDataCollector (9)
Microsoft.TestPlatform.TestHostRuntimeProvider (2)
Microsoft.TestPlatform.Utilities (12)
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (2)
Microsoft.VisualBasic.Core (11)
Microsoft.VisualStudio.TestPlatform.Client (1)
Microsoft.VisualStudio.TestPlatform.Common (25)
Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger (10)
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (13)
Microsoft.VisualStudio.TestPlatform.ObjectModel (18)
Microsoft.Web.XmlTransform (7)
Microsoft.Win32.Msi (1)
Microsoft.Win32.SystemEvents (1)
MilvusPlayground.ApiService (4)
Mono.Cecil (2)
Mono.Cecil.Mdb (18)
Mono.Cecil.Pdb (2)
MSBuild (15)
MyFrontend (2)
NuGet.Build.Tasks (12)
NuGet.Build.Tasks.Console (3)
NuGet.Build.Tasks.Pack (8)
NuGet.CommandLine.XPlat (62)
NuGet.Commands (94)
NuGet.Common (5)
NuGet.Configuration (24)
NuGet.Credentials (2)
NuGet.DependencyResolver.Core (11)
NuGet.Frameworks (4)
NuGet.LibraryModel (2)
NuGet.PackageManagement (82)
NuGetPackageManager.cs (35)
169var sources = new List<SourceRepository>();
243new List<SourceRepository> { primarySourceRepository },
269new List<SourceRepository> { primarySourceRepository },
368new List<SourceRepository> { primarySourceRepository },
393new List<SourceRepository> { primarySourceRepository },
570packageIdentities: new List<PackageIdentity>(),
590packageIdentities: new List<PackageIdentity>(),
610packageIdentities: new List<PackageIdentity> { packageIdentity },
681var nugetActions = new List<NuGetProjectAction>();
842var actions = new List<NuGetProjectAction>();
847var lowLevelActions = new List<NuGetProjectAction>();
941var lowLevelActions = new List<NuGetProjectAction>();
1024var primaryTargetIds = new List<string>();
1025var primaryTargets = new List<PackageIdentity>();
1059primaryTargets = new List<PackageIdentity> { preferredVersions[packageId] };
1063primaryTargetIds = new List<string> { packageId };
1094var nuGetProjectActions = new List<NuGetProjectAction>();
1401var nuGetProjectActions = new List<NuGetProjectAction>();
1571var primarySources = new List<SourceRepository> { primarySourceRepository };
1655var results = new List<ResolvedAction>();
1658var buildIntegratedProjectsToUpdate = new List<BuildIntegratedNuGetProject>();
1661var otherTargetProjectsToUpdate = new List<NuGetProject>();
1808var nuGetProjectActions = new List<NuGetProjectAction>();
1845var primaryPackages = new List<PackageIdentity> { packageIdentity };
1954var newPackagesToUninstall = new List<PackageIdentity>();
2153var results = new List<NuGetProjectAction>();
2155var buildIntegratedProjectsToUpdate = new List<BuildIntegratedNuGetProject>();
2156var otherTargetProjectsToUpdate = new List<NuGetProject>();
2855new List<BuildIntegratedNuGetProject>() { buildIntegratedProject },
2914var result = new List<ResolvedAction>();
3244List<PackagePatternItem> newPatternItems = new()
3779new List<SourceRepository> { primarySourceRepository },
3803new List<SourceRepository> { primarySourceRepository },
3834var tasks = new List<Task<ResolvedPackage>>();
3856var tasks = new List<Task<ResolvedPackage>>();
NuGet.Packaging (110)
NuGet.ProjectModel (39)
NuGet.Protocol (75)
NuGet.Resolver (9)
OrderProcessor (2)
PresentationBuildTasks (15)
PresentationCore (139)
PresentationFramework (326)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (14)
1795new List<Type>() { typeof(System.Type) },
1885new List<Type>() { typeof(System.String) },
2828new List<Type>() { typeof(System.Object) },
2974new List<Type>() { typeof(System.Type), typeof(System.Object) },
3356new List<Type>() { typeof(System.Object) },
4352new List<Type>() { typeof(System.Object) },
9167new List<Type>() { typeof(System.Windows.Data.RelativeSourceMode) },
9174new List<Type>() { typeof(System.Windows.Data.RelativeSourceMode), typeof(System.Type), typeof(System.Int32) },
10451new List<Type>() { typeof(System.String) },
10472new List<Type>() { typeof(System.Object) },
10956new List<Type>() { typeof(System.Windows.DependencyProperty) },
11196new List<Type>() { typeof(System.String) },
11828new List<Type>() { typeof(System.Type) },
13165new List<Type>() { typeof(System.Object) },
PresentationUI (18)
Publishers.AppHost (1)
QuarantineTools.Tests (6)
ReachFramework (36)
RepoTasks (13)
Roslyn.Diagnostics.Analyzers (30)
Roslyn.Diagnostics.CSharp.Analyzers (11)
rzc (9)
sdk-tasks (5)
SelectTests (18)
Shared.Tests (16)
Stress.ApiService (4)
Stress.AppHost (12)
Stress.TelemetryService (1)
System.CodeDom (2)
System.Collections.Concurrent (1)
System.Collections.Immutable (3)
System.CommandLine (17)
System.CommandLine.StaticCompletions (3)
System.ComponentModel.Annotations (6)
System.ComponentModel.Composition (50)
System.ComponentModel.Composition.Registration (18)
System\ComponentModel\Composition\Registration\PartBuilder.cs (10)
13private static readonly List<Attribute> s_importingConstructorList = new List<Attribute>() { new ImportingConstructorAttribute() };
39_typeExportBuilders = new List<ExportBuilder>();
40_propertyExports = new List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportBuilder>, Type>>();
41_propertyImports = new List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ImportBuilder>, Type>>();
42_interfaceExports = new List<Tuple<Predicate<Type>, Action<Type, ExportBuilder>>>();
188_metadataItems ??= new List<Tuple<string, object>>();
196_metadataItemFuncs ??= new List<Tuple<string, Func<Type, object>>>();
225var attributes = new List<Attribute>();
388configuredMembers ??= new List<Tuple<object, List<Attribute>>>();
503configuredMembers ??= new List<Tuple<object, List<Attribute>>>();
System.ComponentModel.TypeConverter (9)
System.Composition.Convention (21)
System\Composition\Convention\PartConventionBuilder.cs (12)
18private static readonly List<Attribute> s_importingConstructorList = new List<Attribute>() { new ImportingConstructorAttribute() };
43_typeExportBuilders = new List<ExportConventionBuilder>();
44_propertyExports = new List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportConventionBuilder>, Type>>();
45_propertyImports = new List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ImportConventionBuilder>>>();
46_interfaceExports = new List<Tuple<Predicate<Type>, Action<Type, ExportConventionBuilder>>>();
47_methodImportsSatisfiedNotifications = new List<Predicate<MethodInfo>>();
373_metadataItems ??= new List<Tuple<string, object>>();
394_metadataItemFuncs ??= new List<Tuple<string, Func<Type, object>>>();
422var attributes = new List<Attribute>();
579configuredMembers ??= new List<Tuple<object, List<Attribute>>>();
646var onImportsSatisfiedAttributeList = new List<Attribute>
748configuredMembers ??= new List<Tuple<object, List<Attribute>>>();
System.Composition.Hosting (4)
System.Composition.TypedParts (9)
System.Configuration.ConfigurationManager (5)
System.Data.Common (48)
System.Data.Odbc (10)
System.Data.OleDb (7)
System.Diagnostics.DiagnosticSource (13)
System.Diagnostics.EventLog (5)
System.Diagnostics.PerformanceCounter (1)
System.Diagnostics.Process (8)
System.Diagnostics.TraceSource (4)
System.DirectoryServices (2)
System.DirectoryServices.AccountManagement (34)
System.Formats.Asn1 (1)
System.Formats.Cbor (4)
System.Formats.Nrbf (1)
System.Formats.Tar (1)
System.IO.Compression (2)
System.IO.FileSystem.AccessControl (1)
System.IO.FileSystem.DriveInfo (2)
System.IO.FileSystem.Watcher (3)
System.IO.Packaging (2)
System.IO.Pipelines (2)
System.IO.Ports (4)
System.Linq (1)
System.Linq.Expressions (29)
System.Linq.Parallel (6)
System.Memory (2)
System.Net.Http (20)
System.Net.HttpListener (11)
System.Net.Mail (4)
System.Net.NameResolution (14)
System.Net.NetworkInformation (12)
System.Net.Primitives (2)
System.Net.Requests (2)
System.Net.Security (3)
System.Net.WebHeaderCollection (1)
System.Net.WebSockets.Client (1)
System.ObjectModel (1)
System.Private.CoreLib (59)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
20items = new List<T>();
System.Private.CoreLib.Generators (2)
System.Private.DataContractSerialization (33)
System.Private.Reflection.Execution (1)
System.Private.TypeLoader (2)
System.Private.Windows.Core (1)
System.Private.Xml (136)
System.Private.Xml.Linq (4)
System.Reflection.Context (3)
System.Reflection.DispatchProxy (2)
System.Reflection.Emit (38)
System.Reflection.Metadata (48)
System.Reflection.MetadataLoadContext (6)
System.Resources.Extensions (1)
System.Resources.Writer (1)
System.Runtime.InteropServices.JavaScript (1)
System.Runtime.Serialization.Formatters (2)
System.Runtime.Serialization.Schema (3)
System.Security.Claims (3)
System.Security.Cryptography (30)
System.Security.Cryptography.Pkcs (37)
System.Security.Cryptography.Xml (2)
System.Security.Permissions (1)
System.Security.Principal.Windows (2)
System.ServiceModel.Federation (2)
System.ServiceModel.Federation.Tests (1)
System.ServiceModel.NetFramingBase (7)
System.ServiceModel.NetNamedPipe (1)
System.ServiceModel.Primitives (80)
System.ServiceModel.Primitives.Tests (25)
System.Speech (53)
System.Text.Json (22)
System.Text.Json.SourceGeneration (20)
System.Text.RegularExpressions (24)
System.Text.RegularExpressions.Generator (13)
System.Threading.RateLimiting (8)
System.Threading.Tasks.Dataflow (9)
System.Threading.Tasks.Parallel (1)
System.Windows.Controls.Ribbon (17)
System.Windows.Forms (4)
System.Windows.Forms.Design (1)
System.Xaml (67)
TypeScriptApiCompat (5)
UnitTests.Common (1)
VBCSCompiler (9)
vstest.console (18)
vstest.console.arm64 (18)
WindowsFormsIntegration (2)