1461 references to AddRange
aspire (60)
aspire-managed (2)
Aspire.Azure.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (2)
Aspire.Azure.Npgsql.Tests (2)
Aspire.Cli.EndToEnd.Tests (1)
Aspire.Cli.Tests (12)
Aspire.Dashboard (15)
Aspire.Hosting (26)
Aspire.Hosting.Analyzers.Tests (1)
Aspire.Hosting.Azure.AppContainers (1)
Aspire.Hosting.Azure.AppService (1)
Aspire.Hosting.Azure.Kubernetes (1)
Aspire.Hosting.Azure.Kubernetes.Tests (4)
Aspire.Hosting.Azure.Tests (6)
Aspire.Hosting.Blazor (1)
Aspire.Hosting.Browsers (3)
Aspire.Hosting.Browsers.Tests (4)
Aspire.Hosting.CodeGeneration.Java (2)
Aspire.Hosting.CodeGeneration.Python (4)
Aspire.Hosting.CodeGeneration.TypeScript (1)
Aspire.Hosting.DevTunnels (1)
Aspire.Hosting.Docker (5)
Aspire.Hosting.EntityFrameworkCore.Tests (1)
Aspire.Hosting.Foundry.Tests (1)
Aspire.Hosting.Go (2)
Aspire.Hosting.JavaScript (3)
Aspire.Hosting.Kubernetes (3)
Aspire.Hosting.Kubernetes.Tests (2)
Aspire.Hosting.Maui (1)
Aspire.Hosting.Radius (4)
Aspire.Hosting.RemoteHost (6)
Aspire.Hosting.Sdk.Tests (1)
Aspire.Hosting.Testing.Tests (2)
Aspire.Hosting.Tests (52)
Dcp\DcpExecutorTests.cs (31)
1787logLines.AddRange(batch);
2038logLines.AddRange(batch);
4607dcpExes.AddRange(kubernetesService.CreatedResources.OfType<Executable>());
6135expectedArgs.AddRange(["--configuration", expectedConfiguration]);
6138expectedArgs.AddRange(resourceArgs.Skip(1));
6187expectedArgs.AddRange(["--configuration", expectedConfiguration]);
6190expectedArgs.AddRange(resourceArgs.Skip(1));
6232expectedArgs.AddRange(["--configuration", expectedConfiguration]);
6235expectedArgs.AddRange(resourceArgs.Skip(1));
6304expectedArgs.AddRange(["--configuration", expectedConfiguration]);
6307expectedArgs.AddRange(["-f", "net10.0-android", "-p:AdbTarget=-e"]);
6413expectedArgs.AddRange(["--configuration", expectedConfiguration]);
6415expectedArgs.AddRange(["-f", "net10.0-android"]);
6559expectedArgs.AddRange(["--configuration", configurationName]);
6561expectedArgs.AddRange(["-f", "net10.0-android"]);
6575logLines.AddRange(lines);
6663resourceArgs.AddRange(environmentVariableDirectives);
6671resourceArgs.AddRange([launchVerb, "-f", "net10.0-ios"]);
6674resourceArgs.AddRange(["--", applicationArgument]);
6723expectedArgs.AddRange(environmentVariableDirectives);
6734expectedArgs.AddRange(["--configuration", configurationName]);
6737expectedArgs.AddRange(["--no-launch-profile", "-f", "net10.0-ios", "--", "--profile-arg", "profile value"]);
6750expectedDisplayArgs.AddRange(environmentVariableDirectives);
6758expectedDisplayArgs.AddRange([launchVerb, "-f", "net10.0-ios", "--", "--profile-arg", "profile value"]);
6938expectedArgs.AddRange(["--configuration", expectedConfiguration]);
6940expectedArgs.AddRange([
7930logLines.AddRange(lines);
8436logLines.AddRange(lines);
8523logLines.AddRange(lines);
9543expectedArgs.AddRange(["--configuration", configuration]);
9546expectedArgs.AddRange(appArgs);
Aspire.Hosting.Yarp (2)
Aspire.Microsoft.Azure.StackExchangeRedis.Tests (2)
Aspire.RuntimeIdentifier.Tool (1)
ConfigurationSchemaGenerator (3)
crossgen2 (2)
CSharpSyntaxGenerator (1)
dotnet (32)
dotnet-aot (2)
dotnet-dev-certs (4)
dotnet-getdocument (2)
dotnet-openapi (1)
dotnet-sql-cache (1)
dotnet-svcutil-lib (12)
dotnet-svcutil-lib.Tests (2)
dotnet-svcutil.xmlserializer (1)
dotnet-user-jwts (2)
dotnet-user-secrets (1)
dotnet-watch (5)
DotNetWatchTasks (2)
GenerateDocumentationAndConfigFiles (11)
GetDocument.Insider (1)
HelixTestTasks (1)
ILAssembler (1)
ilc (2)
ILCompiler.Compiler (15)
ILCompiler.Diagnostics (2)
ILCompiler.ReadyToRun (11)
ILCompiler.RyuJit (1)
illink (3)
ILLink.CodeFixProvider (1)
ILLink.RoslynAnalyzer (2)
Infrastructure.Tests (2)
Microsoft.Analyzers.Extra (7)
Microsoft.Analyzers.Local (1)
Microsoft.AspNetCore.Antiforgery (1)
Microsoft.AspNetCore.Authentication.DeviceBoundSessions (1)
Microsoft.AspNetCore.Components (1)
Microsoft.AspNetCore.Components.Endpoints (2)
Microsoft.AspNetCore.Components.Forms (1)
Microsoft.AspNetCore.Components.WebView (1)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (3)
Microsoft.AspNetCore.Diagnostics (1)
Microsoft.AspNetCore.Grpc.JsonTranscoding (2)
Microsoft.AspNetCore.Hosting (2)
Microsoft.AspNetCore.Http (1)
Microsoft.AspNetCore.Http.Extensions (3)
Microsoft.AspNetCore.JsonPatch (4)
Microsoft.AspNetCore.JsonPatch.SystemTextJson (4)
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
Microsoft.AspNetCore.Mvc.Core (8)
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (3)
Microsoft.AspNetCore.Mvc.Testing (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
Microsoft.AspNetCore.OpenApi (1)
Microsoft.AspNetCore.OpenApi.SourceGenerators (1)
Microsoft.AspNetCore.OutputCaching (1)
Microsoft.AspNetCore.Razor.Utilities.Shared (2)
Microsoft.AspNetCore.Rewrite (2)
Microsoft.AspNetCore.Routing (8)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.AspNetCore.Server.Kestrel.Core (8)
Microsoft.AspNetCore.SignalR.Client.Core (1)
Microsoft.AspNetCore.SignalR.Core (1)
Microsoft.Build (41)
Microsoft.Build.Framework (2)
Microsoft.Build.Tasks.Core (22)
Microsoft.Build.Tasks.Git (2)
Microsoft.Build.Utilities.Core (10)
Microsoft.CodeAnalysis (5)
Microsoft.CodeAnalysis.Analyzers (12)
Microsoft.CodeAnalysis.AnalyzerUtilities (10)
Microsoft.CodeAnalysis.CodeStyle (9)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp (8)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
Microsoft.CodeAnalysis.CSharp.Features (33)
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (8)
Microsoft.CodeAnalysis.ExternalAccess.HotReload (1)
Microsoft.CodeAnalysis.Features (33)
Microsoft.CodeAnalysis.NetAnalyzers (8)
Microsoft.CodeAnalysis.Razor.Compiler (5)
Microsoft.CodeAnalysis.ResxSourceGenerator (10)
Microsoft.CodeAnalysis.Scripting (2)
Microsoft.CodeAnalysis.Workspaces (13)
Microsoft.Data.Analysis.Interactive (1)
Microsoft.Deployment.DotNet.Releases (2)
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Microsoft.DotNet.ApiCompat.Task (2)
Microsoft.DotNet.ApiCompatibility (4)
Microsoft.DotNet.Build.Manifest (9)
Microsoft.DotNet.Build.Tasks.Packaging (17)
Microsoft.DotNet.Build.Tasks.Workloads (2)
Microsoft.DotNet.Cli.Definitions (2)
Microsoft.DotNet.Cli.Utils (3)
Microsoft.DotNet.HotReload.Watch (12)
Microsoft.DotNet.PackageTesting (4)
Microsoft.Extensions.AI (12)
Microsoft.Extensions.AI.Abstractions (4)
Microsoft.Extensions.AI.Evaluation (1)
Microsoft.Extensions.AI.Evaluation.Integration.Tests (2)
Microsoft.Extensions.AI.Integration.Tests (6)
Microsoft.Extensions.AI.OpenAI (1)
Microsoft.Extensions.AI.OpenAI.Tests (2)
Microsoft.Extensions.AI.Tests (2)
Microsoft.Extensions.Caching.Memory (1)
Microsoft.Extensions.Configuration (2)
Microsoft.Extensions.Configuration.Binder.SourceGeneration (1)
Microsoft.Extensions.DependencyModel (2)
Microsoft.Extensions.FileSystemGlobbing (1)
Microsoft.Extensions.Hosting (4)
Microsoft.Extensions.Http.Resilience (3)
Microsoft.Extensions.Identity.Core (5)
Microsoft.Extensions.Options (1)
Microsoft.Extensions.Options.Contextual (1)
Microsoft.Extensions.Options.SourceGeneration (1)
Microsoft.Extensions.Telemetry (1)
Microsoft.Extensions.Telemetry.Abstractions (1)
Microsoft.Gen.ContextualOptions (4)
Microsoft.Gen.Logging (3)
Microsoft.Gen.MetadataExtractor (6)
Microsoft.Gen.Metrics (6)
Microsoft.Gen.MetricsReports (6)
Microsoft.Interop.ComInterfaceGenerator (6)
Microsoft.Interop.JavaScript.JSImportGenerator (2)
Microsoft.Interop.SourceGeneration (9)
Microsoft.Maui (2)
Microsoft.Maui.Controls (33)
Microsoft.Maui.Controls.BindingSourceGen (2)
Microsoft.Maui.Controls.Build.Tasks (5)
Microsoft.Maui.Controls.Xaml (3)
Microsoft.Maui.Essentials (3)
Microsoft.Maui.Graphics (3)
Microsoft.ML.AutoML (24)
Microsoft.ML.CodeAnalyzer.Tests (6)
Microsoft.ML.CodeGenerator (6)
Microsoft.ML.Core (11)
Microsoft.ML.Data (35)
Microsoft.ML.Ensemble (1)
Microsoft.ML.EntryPoints (3)
Microsoft.ML.FastTree (25)
Utils\RegressionTreeBaseUtils.cs (22)
44treeWeightsList.AddRange(Enumerable.Repeat(treeWeights[i], trees[i].NumberOfNodes + trees[i].NumberOfLeaves));
47treeId.AddRange(Enumerable.Repeat(i, trees[i].NumberOfNodes + trees[i].NumberOfLeaves));
50isLeaf.AddRange(Enumerable.Repeat(new ReadOnlyMemory<char>("Tree node".ToCharArray()), trees[i].NumberOfNodes));
51isLeaf.AddRange(Enumerable.Repeat(new ReadOnlyMemory<char>("Leaf node".ToCharArray()), trees[i].NumberOfLeaves));
54leftChild.AddRange(trees[i].LeftChild.AsEnumerable());
55leftChild.AddRange(Enumerable.Repeat(0, trees[i].NumberOfLeaves));
58rightChild.AddRange(trees[i].RightChild.AsEnumerable());
59rightChild.AddRange(Enumerable.Repeat(0, trees[i].NumberOfLeaves));
62numericalSplitFeatureIndexes.AddRange(trees[i].NumericalSplitFeatureIndexes.AsEnumerable());
63numericalSplitFeatureIndexes.AddRange(Enumerable.Repeat(0, trees[i].NumberOfLeaves));
66numericalSplitThresholds.AddRange(trees[i].NumericalSplitThresholds.AsEnumerable());
67numericalSplitThresholds.AddRange(Enumerable.Repeat(0f, trees[i].NumberOfLeaves));
70categoricalSplitFlags.AddRange(trees[i].CategoricalSplitFlags.AsEnumerable());
71categoricalSplitFlags.AddRange(Enumerable.Repeat(false, trees[i].NumberOfLeaves));
74leafValues.AddRange(Enumerable.Repeat(0d, trees[i].NumberOfNodes));
75leafValues.AddRange(trees[i].LeafValues.AsEnumerable());
78splitGains.AddRange(trees[i].SplitGains.AsEnumerable());
79splitGains.AddRange(Enumerable.Repeat(0d, trees[i].NumberOfLeaves));
94categoricalSplitFeatures.AddRange(Enumerable.Repeat(new VBuffer<int>(), trees[i].NumberOfLeaves));
95categoricalCategoricalSplitFeatureRange.AddRange(Enumerable.Repeat(new VBuffer<int>(), trees[i].NumberOfLeaves));
124leafSamples.AddRange(Enumerable.Repeat(new VBuffer<double>(), quantileTrees[i].NumberOfNodes));
125leafSampleWeights.AddRange(Enumerable.Repeat(new VBuffer<double>(), quantileTrees[i].NumberOfNodes));
Microsoft.ML.GenAI.Core (1)
Microsoft.ML.KMeansClustering (1)
Microsoft.ML.ResultProcessor (1)
Microsoft.ML.SearchSpace (2)
Microsoft.ML.Sweeper (2)
Microsoft.ML.TensorFlow (1)
Microsoft.ML.TestFramework (4)
Microsoft.ML.TestFrameworkCommon (1)
Microsoft.ML.TimeSeries (5)
Microsoft.ML.Tokenizers (5)
Microsoft.ML.Transforms (6)
Microsoft.NET.Build.Tasks (18)
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (1)
Microsoft.NET.Sdk.StaticWebAssets.Tasks (9)
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.TemplateEngine.Cli (7)
Microsoft.TemplateEngine.Core (12)
Microsoft.TemplateEngine.Edge (4)
Microsoft.TemplateEngine.IDE (1)
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (13)
Microsoft.TestPlatform.CommunicationUtilities (1)
Microsoft.TestPlatform.CrossPlatEngine (3)
Microsoft.TestPlatform.Extensions.BlameDataCollector (1)
Microsoft.TestPlatform.TestHostRuntimeProvider (1)
Microsoft.VisualBasic.Core (6)
Microsoft.VisualStudio.TestPlatform.Client (1)
Microsoft.VisualStudio.TestPlatform.Common (8)
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (2)
Microsoft.VisualStudio.TestPlatform.ObjectModel (3)
Microsoft.Web.XmlTransform (1)
MSBuild (2)
NuGet.Build.Tasks (1)
NuGet.Build.Tasks.Pack (1)
NuGet.CommandLine.XPlat (14)
NuGet.Commands (34)
NuGet.Configuration (8)
NuGet.Credentials (1)
NuGet.DependencyResolver.Core (3)
NuGet.Frameworks (3)
NuGet.PackageManagement (21)
NuGet.Packaging (19)
NuGet.ProjectModel (2)
NuGet.Protocol (8)
NuGet.Resolver (2)
PresentationCore (5)
PresentationFramework (27)
QuarantineTools.Tests (4)
RepoTasks (3)
Roslyn.Diagnostics.Analyzers (12)
Roslyn.Diagnostics.CSharp.Analyzers (6)
rzc (3)
SelectTests (3)
Stress.AppHost (2)
System.Collections.Immutable (2)
System.CommandLine.StaticCompletions (2)
System.ComponentModel.Annotations (4)
System\ComponentModel\DataAnnotations\Validator.cs (4)
661errors.AddRange(await GetValidationErrorsAsync(instance, validationContext, attributes, breakOnFirstError, cancellationToken).ConfigureAwait(false));
751errors.AddRange(propertyErrors);
1030errors.AddRange(GetValidationErrors(instance, validationContext, attributes, breakOnFirstError));
1084errors.AddRange(GetValidationErrors(property.Value, property.Key, attributes, breakOnFirstError));
System.ComponentModel.Composition (7)
System.ComponentModel.Composition.Registration (4)
System.ComponentModel.TypeConverter (2)
System.Composition.Convention (1)
System.Configuration.ConfigurationManager (1)
System.Diagnostics.Process (1)
System.Diagnostics.TraceSource (4)
System.Linq (3)
System.Linq.Expressions (1)
System.Net.Http (1)
System.Net.NameResolution (1)
System.Net.WebHeaderCollection (2)
System.Private.CoreLib (11)
System.Private.DataContractSerialization (1)
System.Private.Windows.Core (1)
System.Private.Xml (4)
System.Reflection.Context (9)
System.Reflection.Emit (7)
System.Reflection.MetadataLoadContext (2)
System.Security.Claims (3)
System.Security.Cryptography.Pkcs (1)
System.Speech (3)
System.Text.Json (1)
System.Text.Json.SourceGeneration (3)
System.Text.RegularExpressions (4)
System.Text.RegularExpressions.Generator (4)
System.Threading.RateLimiting (1)
System.Threading.Tasks.Dataflow (1)
System.Threading.Tasks.Parallel (1)
System.Windows.Controls.Ribbon (1)
System.Windows.Forms (15)
System.Windows.Forms.Design (2)
System.Windows.Forms.Primitives (1)
System.Xaml (9)
UIAutomationClientSideProviders (2)
VBCSCompiler (1)
vstest.console (5)
vstest.console.arm64 (5)