561 implementations of Count
aspire (1)
Aspire.Dashboard (1)
Aspire.Dashboard.Tests (1)
Aspire.Hosting (3)
dotnet-svcutil-lib (5)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageProperties.cs (1)
88public int Count
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceChannelManager.cs (1)
425public int Count
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedCollection.cs (1)
56public int Count
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
70public int Count
GenerateDocumentationAndConfigFiles (25)
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
43public int Count => 0;
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
44public int Count
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
46public int Count => 1;
ILAssembler (1)
Microsoft.AspNetCore.Components (1)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Connections.Abstractions (1)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
21public int Count => 0;
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
24public int Count => 0;
Microsoft.AspNetCore.Http (4)
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
71public int Count
Microsoft.AspNetCore.Http.Abstractions (11)
Microsoft.AspNetCore.HttpOverrides (2)
Microsoft.AspNetCore.Mvc.Abstractions (1)
Microsoft.AspNetCore.Mvc.Core (2)
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
71public int Count
Microsoft.AspNetCore.Mvc.ViewFeatures (5)
Microsoft.AspNetCore.Owin (3)
Microsoft.AspNetCore.Razor.Runtime (1)
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
71public int Count
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
Microsoft.AspNetCore.Server.HttpSys (3)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
103public int Count
Microsoft.AspNetCore.Server.IIS (2)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
103public int Count
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Microsoft.Build (41)
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Segmented\SegmentedList`1.cs (1)
181public int Count => _size;
src\msbuild\artifacts\.packages\microsoft.codeanalysis.pooledobjects\5.0.0-1.25277.114\contentFiles\cs\netstandard2.0\ArrayBuilder.cs (1)
106public int Count
Microsoft.Build.Framework (4)
Microsoft.CodeAnalysis (26)
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
43public int Count => 0;
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
44public int Count
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
46public int Count => 1;
Microsoft.CodeAnalysis.Analyzers (25)
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
43public int Count => 0;
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
44public int Count
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
46public int Count => 1;
Microsoft.CodeAnalysis.AnalyzerUtilities (26)
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
43public int Count => 0;
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
44public int Count
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
46public int Count => 1;
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DictionaryAnalysisData.cs (1)
67public int Count
Microsoft.CodeAnalysis.CodeStyle (24)
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
43public int Count => 0;
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
44public int Count
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
46public int Count => 1;
Microsoft.CodeAnalysis.Extensions.Package (23)
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
43public int Count => 0;
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
44public int Count
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
46public int Count => 1;
Microsoft.CodeAnalysis.NetAnalyzers (2)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DictionaryAnalysisData.cs (1)
66public int Count
Microsoft.CodeAnalysis.Razor.Compiler (3)
Microsoft.CodeAnalysis.ResxSourceGenerator (25)
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
43public int Count => 0;
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
44public int Count
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
46public int Count => 1;
Microsoft.CodeAnalysis.Scripting (1)
Microsoft.CodeAnalysis.Workspaces (24)
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
43public int Count => 0;
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
44public int Count
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
46public int Count => 1;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Microsoft.Extensions.AI (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
21public int Count => 0;
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
24public int Count => 0;
Microsoft.Extensions.AI.Abstractions (5)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
21public int Count => 0;
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
24public int Count => 0;
Microsoft.Extensions.Configuration (2)
Microsoft.Extensions.DependencyInjection.Abstractions (1)
Microsoft.Extensions.Http (1)
Microsoft.Extensions.Http.Diagnostics (2)
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
21public int Count => 0;
parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
24public int Count => 0;
Microsoft.Extensions.Primitives (1)
Microsoft.Gen.BuildMetadata.Unit.Tests (2)
Microsoft.Gen.ComplianceReports.Unit.Tests (2)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
21public int Count => 0;
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
24public int Count => 0;
Microsoft.Gen.ContextualOptions.Unit.Tests (2)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
21public int Count => 0;
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
24public int Count => 0;
Microsoft.Gen.Logging.Unit.Tests (2)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
21public int Count => 0;
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
24public int Count => 0;
Microsoft.Gen.MetadataExtractor.Unit.Tests (2)
Microsoft.Gen.Metrics.Unit.Tests (2)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
21public int Count => 0;
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
24public int Count => 0;
Microsoft.Gen.MetricsReports.Unit.Tests (2)
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
21public int Count => 0;
parent\parent\parent\parent\eng\MSBuild\parent\parent\src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
24public int Count => 0;
Microsoft.Interop.SourceGeneration (1)
Microsoft.Maui (3)
Microsoft.Maui.Controls (25)
Microsoft.Maui.Controls.Maps (2)
Microsoft.ML.Core (1)
Microsoft.ML.SearchSpace (3)
Microsoft.ML.TorchSharp (1)
Microsoft.TemplateEngine.Core (1)
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (1)
Mono.Cecil (1)
PresentationCore (41)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SequentialUshortCollection.cs (1)
54public int Count
PresentationFramework (19)
Roslyn.Diagnostics.Analyzers (25)
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Collection.cs (1)
43public int Count => 0;
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.ReadOnly.Collection.cs (1)
44public int Count
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
46public int Count => 1;
Shared (2)
Shared.Tests (1)
System.Collections (11)
System.Collections.Immutable (15)
System.CommandLine (2)
System.ComponentModel.Composition (3)
System\ComponentModel\Composition\Hosting\ComposablePartCatalogCollection.cs (1)
148public int Count
System.Composition.Hosting (1)
System.Data.Common (1)
System.Data.OleDb (1)
System.Diagnostics.DiagnosticSource (2)
System.Diagnostics.Process (1)
System.DirectoryServices.AccountManagement (3)
System.IO.FileSystem.Watcher (1)
System.Linq (5)
System.Linq.AsyncEnumerable (2)
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 (15)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (1)
1136public int Count
System.Private.Xml (3)
System.Security.Cryptography.Cose (1)
System.Security.Principal.Windows (1)
System.ServiceModel.Primitives (4)
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.Xaml (2)
3941 references to Count
aspire (11)
aspire-managed (1)
Aspire.Cli.EndToEnd.Tests (1)
Aspire.Cli.Tests (3)
Aspire.Dashboard (7)
Aspire.Dashboard.Tests (2)
Aspire.Hosting (6)
Aspire.Hosting.Azure (2)
Aspire.Hosting.Azure.AppContainers (1)
Aspire.Hosting.Docker (1)
Aspire.Hosting.Foundry (2)
Aspire.Hosting.Kubernetes (1)
Aspire.Hosting.Radius (5)
Aspire.Hosting.RemoteHost (2)
Aspire.Hosting.RemoteHost.Tests (2)
Aspire.Hosting.Tests (21)
ApplicationModel\Docker\DockerfileStageTests.cs (12)
26Assert.Equal(2, stage.Statements.Count); // FROM + WORKDIR
53Assert.Equal(2, stage.Statements.Count); // FROM + RUN
80Assert.Equal(2, stage.Statements.Count); // FROM + COPY
109Assert.Equal(2, stage.Statements.Count); // FROM + COPY --from
140Assert.Equal(2, stage.Statements.Count); // FROM + ENV
178Assert.Equal(2, stage.Statements.Count); // FROM + EXPOSE
206Assert.Equal(2, stage.Statements.Count); // FROM + CMD
243Assert.Equal(2, stage.Statements.Count); // FROM + USER
274Assert.Equal(7, stage.Statements.Count); // FROM + WORKDIR + COPY + RUN + ENV + EXPOSE + CMD
291Assert.Equal(5, stage.Statements.Count); // FROM + WORKDIR + COPY + USER + CMD
306Assert.Equal(2, stage.Statements.Count); // FROM + COMMENT
500Assert.Equal(8, stage.Statements.Count); // FROM + COMMENT + WORKDIR + COPY + RUN + COMMENT + COPY + CMD
Aspire.RabbitMQ.Client (1)
Aspire.TypeSystem (11)
crossgen2 (1)
csc (3)
dotnet (33)
dotnet-aot (19)
dotnet-dev-certs (2)
dotnet-razorpagegenerator (1)
dotnet-svcutil-lib (79)
dotnet-svcutil.xmlserializer (5)
dotnet-user-jwts (4)
dotnet-user-secrets (3)
GenerateDocumentationAndConfigFiles (52)
ilc (1)
ILCompiler.Compiler (5)
ILCompiler.ReadyToRun (5)
illink (6)
Microsoft.Analyzers.Extra.Tests (1)
Microsoft.Analyzers.Local (1)
Microsoft.Analyzers.Local.Tests (1)
Microsoft.AspNetCore (4)
Microsoft.AspNetCore.AsyncState (1)
Microsoft.AspNetCore.Authentication (2)
Microsoft.AspNetCore.Authentication.BearerToken (1)
Microsoft.AspNetCore.Authentication.Core (1)
Microsoft.AspNetCore.Authentication.DeviceBoundSessions (1)
Microsoft.AspNetCore.Authentication.Facebook (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
Microsoft.AspNetCore.Authentication.Twitter (1)
Microsoft.AspNetCore.Authorization (1)
Microsoft.AspNetCore.Components (7)
Microsoft.AspNetCore.Components.AI (7)
Microsoft.AspNetCore.Components.Endpoints (15)
Microsoft.AspNetCore.Components.QuickGrid (1)
Microsoft.AspNetCore.Components.Server (17)
Microsoft.AspNetCore.Components.Server.AutoPause (1)
Microsoft.AspNetCore.Components.Testing (1)
Microsoft.AspNetCore.Components.Web (3)
Microsoft.AspNetCore.Components.WebAssembly (7)
Microsoft.AspNetCore.Components.WebAssembly.Authentication (1)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.AspNetCore.Components.WebView (1)
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
Microsoft.AspNetCore.Components.WebView.Wpf (1)
Microsoft.AspNetCore.Connections.Abstractions (2)
Microsoft.AspNetCore.Cors (8)
Microsoft.AspNetCore.DataProtection (1)
Microsoft.AspNetCore.Diagnostics (3)
Microsoft.AspNetCore.Diagnostics.Middleware (3)
Microsoft.AspNetCore.Diagnostics.Middleware.PerformanceTests (1)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (3)
Microsoft.AspNetCore.Grpc.JsonTranscoding (2)
Microsoft.AspNetCore.HeaderParsing (1)
Microsoft.AspNetCore.HostFiltering (1)
Microsoft.AspNetCore.Hosting (4)
Microsoft.AspNetCore.Html.Abstractions (4)
Microsoft.AspNetCore.Http (3)
Microsoft.AspNetCore.Http.Abstractions (42)
Microsoft.AspNetCore.Http.Connections (1)
Microsoft.AspNetCore.Http.Connections.Client (1)
Microsoft.AspNetCore.Http.Connections.Common (2)
Microsoft.AspNetCore.Http.Extensions (18)
Microsoft.AspNetCore.Http.Results (3)
Microsoft.AspNetCore.HttpLogging (2)
Microsoft.AspNetCore.HttpOverrides (3)
Microsoft.AspNetCore.HttpsPolicy (1)
Microsoft.AspNetCore.Identity (14)
Microsoft.AspNetCore.Identity.UI (10)
Microsoft.AspNetCore.Localization (1)
Microsoft.AspNetCore.Mvc.Abstractions (3)
Microsoft.AspNetCore.Mvc.ApiExplorer (7)
Microsoft.AspNetCore.Mvc.Core (92)
Microsoft.AspNetCore.Mvc.Cors (2)
Microsoft.AspNetCore.Mvc.DataAnnotations (5)
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
Microsoft.AspNetCore.Mvc.Razor (8)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (8)
Microsoft.AspNetCore.Mvc.RazorPages (27)
Microsoft.AspNetCore.Mvc.TagHelpers (15)
Microsoft.AspNetCore.Mvc.Testing (2)
Microsoft.AspNetCore.Mvc.ViewFeatures (11)
Microsoft.AspNetCore.OpenApi (19)
Microsoft.AspNetCore.OutputCaching (4)
Microsoft.AspNetCore.Owin (6)
Microsoft.AspNetCore.Razor (5)
Microsoft.AspNetCore.Razor.Runtime (2)
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
Microsoft.AspNetCore.ResponseCaching (1)
Microsoft.AspNetCore.ResponseCompression (1)
Microsoft.AspNetCore.Rewrite (6)
Microsoft.AspNetCore.Routing (34)
Microsoft.AspNetCore.Routing.Abstractions (3)
Microsoft.AspNetCore.Server.HttpSys (8)
Microsoft.AspNetCore.Server.IIS (3)
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Microsoft.AspNetCore.SignalR.Core (1)
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (3)
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
Microsoft.AspNetCore.StaticAssets (5)
Microsoft.AspNetCore.StaticFiles (5)
Microsoft.AspNetCore.Testing (2)
Microsoft.AspNetCore.Watch.BrowserRefresh (2)
Microsoft.AspNetCore.WebSockets (1)
Microsoft.Build (210)
Instance\ProjectInstance.cs (17)
401var projectItemToInstanceMap = this.CreateItemsSnapshot(project.Items, project.ItemTypes.Count, keepEvaluationCache);
506var paths = new List<string>(imports.Count);
521var paths = new List<string>(imports.Count);
577_globalProperties = new PropertyDictionary<ProjectPropertyInstance>(globalProperties.Count);
702var projectItemToInstanceMap = this.CreateItemsSnapshot(new ReadOnlyCollection<ProjectItem>(data.Items), data.ItemTypes.Count, keepEvaluationCache);
881_items = new ItemDictionary<ProjectItemInstance>(that.Items.Count);
1737get { return _targets.Count; }
1983if (sdkResult?.EnvironmentVariablesToAdd is IDictionary<string, string> sdkEnvironmentVariablesToAdd && sdkEnvironmentVariablesToAdd.Count > 0)
2663int typeCount = _items.ItemTypes.Count;
2669int itemCount = itemList.Count;
3272_globalProperties = new PropertyDictionary<ProjectPropertyInstance>((globalProperties == null) ? 0 : globalProperties.Count);
3411var importPaths = new List<string>(Math.Max(0, importClosure.Count - 1) /* outer project */);
3424var importPathsIncludingDuplicates = new List<string>(Math.Max(0, importClosureWithDuplicates.Count - 1) /* outer project */);
3474var multiDictionary = new MultiDictionary<string, ProjectItemInstance>(items.Count, StringComparer.OrdinalIgnoreCase);
3490var projectItemToInstanceMap = keepEvaluationCache ? new Dictionary<ProjectItem, ProjectItemInstance>(items.Count) : null;
3609_itemDefinitions = new RetrievableEntryHashSet<ProjectItemDefinitionInstance>(itemDefinitions.Count, MSBuildNameIgnoreCaseComparer.Default);
3622_properties = new PropertyDictionary<ProjectPropertyInstance>(properties.Count);
Microsoft.Build.Framework (22)
Microsoft.Build.NuGetSdkResolver (2)
Microsoft.Build.Tasks.CodeAnalysis (3)
Microsoft.Build.Tasks.Core (10)
Microsoft.Build.Utilities.Core (9)
Microsoft.CodeAnalysis (39)
Microsoft.CodeAnalysis.Analyzers (52)
Microsoft.CodeAnalysis.AnalyzerUtilities (49)
Microsoft.CodeAnalysis.CodeStyle (44)
Microsoft.CodeAnalysis.CodeStyle.Fixes (9)
Microsoft.CodeAnalysis.CSharp (13)
Microsoft.CodeAnalysis.CSharp.CodeStyle (8)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (10)
Microsoft.CodeAnalysis.CSharp.Features (7)
Microsoft.CodeAnalysis.CSharp.Workspaces (18)
Microsoft.CodeAnalysis.Extensions.Package (29)
Microsoft.CodeAnalysis.Features (27)
Microsoft.CodeAnalysis.NetAnalyzers (8)
Microsoft.CodeAnalysis.Razor.Compiler (8)
Microsoft.CodeAnalysis.ResxSourceGenerator (47)
Microsoft.CodeAnalysis.Workspaces (51)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (6)
Microsoft.CSharp (10)
Microsoft.Data.Analysis (178)
Microsoft.Diagnostics.DataContractReader (1)
Microsoft.DotNet.ApiCompatibility (2)
Microsoft.DotNet.Build.Tasks.Packaging (1)
Microsoft.DotNet.Build.Tasks.Workloads (1)
Microsoft.DotNet.Cli.Definitions (3)
Microsoft.DotNet.Cli.Telemetry (1)
Microsoft.DotNet.Cli.Utils (2)
Microsoft.DotNet.GenFacades (1)
Microsoft.DotNet.HotReload.WebAssembly.Browser (2)
Microsoft.DotNet.ProjectTools (1)
Microsoft.DotNet.TemplateLocator (3)
Microsoft.Extensions.AI (41)
Microsoft.Extensions.AI.Abstractions (38)
Microsoft.Extensions.AI.Abstractions.Tests (85)
ChatCompletion\ChatResponseUpdateExtensionsTests.cs (14)
94Assert.Equal(9, response.Messages.Count);
158Assert.Equal(4, response.Messages.Count);
208Assert.Equal(5, response.Messages.Count);
295Assert.Equal(2, response.Messages.Count);
330Assert.Equal(2, response.Messages.Count);
398Assert.Equal(2, response.Messages.Count);
435Assert.Equal(3, response.Messages.Count);
471Assert.Equal(3, response.Messages.Count);
567Assert.Equal(4, response.Messages.Count);
672Assert.Equal(expected.Count + (gapLength * ((numSequences - 1) + (gapBeginningEnd ? 2 : 0))), message.Contents.Count);
709Assert.Equal(8, message.Contents.Count);
739Assert.Equal(5, message.Contents.Count);
784Assert.Equal(12, message.Contents.Count);
953Assert.Equal(4, message.Contents.Count);
Microsoft.Extensions.AI.Evaluation (1)
Microsoft.Extensions.AI.Evaluation.Console (2)
Microsoft.Extensions.AI.Evaluation.Integration.Tests (27)
Microsoft.Extensions.AI.Evaluation.NLP (1)
Microsoft.Extensions.AI.Evaluation.Quality (2)
Microsoft.Extensions.AI.Evaluation.Reporting (10)
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (9)
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (8)
Microsoft.Extensions.AI.Evaluation.Safety (1)
Microsoft.Extensions.AI.Integration.Tests (4)
Microsoft.Extensions.AI.OpenAI (30)
Microsoft.Extensions.AI.OpenAI.Tests (33)
OpenAIResponseClientTests.cs (19)
768Assert.Equal((i >= 4 && i <= 12) || i == 16 ? 1 : 0, updates[i].Contents.Count);
908Assert.Equal(2, responseMessage.Contents.Count);
1008Assert.Equal(i >= 3 ? 1 : 0, updates[i].Contents.Count);
1374Assert.Equal(2, response.Messages.Count);
1631Assert.Equal(3, message.Contents.Count);
1638Assert.Equal(2, call.Arguments.Count);
2008Assert.Equal(6, message.Contents.Count);
2419Assert.Equal(6, message.Contents.Count);
2628Assert.Equal(4, message.Contents.Count);
3148Assert.Equal((i >= 5 && i <= 13) || i == 17 ? 1 : 0, updates[i].Contents.Count);
3394Assert.Equal(3, message.Contents.Count);
3614Assert.Equal(3, message.Contents.Count);
3715if (content.Inputs is { Count: > 0 })
3738Assert.Equal(2, message.Contents.Count);
5987var annotatedUpdate = updates.FirstOrDefault(u => u.Contents.Any(c => c.Annotations?.Count > 0));
6378Assert.Equal(2, contents.Count);
7137Assert.Equal(3, message.Contents.Count);
7147Assert.Equal(2, wsResult.Outputs.Count);
7162Assert.Equal(2, textContent.Annotations.Count);
Microsoft.Extensions.AI.Stabilization.Tests (16)
Microsoft.Extensions.AI.Tests (35)
Microsoft.Extensions.AmbientMetadata.Application (1)
Microsoft.Extensions.AmbientMetadata.Build (1)
Microsoft.Extensions.AsyncState (1)
Microsoft.Extensions.Caching.Abstractions (4)
Microsoft.Extensions.Caching.Hybrid (3)
Microsoft.Extensions.Compliance.Abstractions (1)
Microsoft.Extensions.Compliance.Redaction (1)
Microsoft.Extensions.Compliance.Testing (1)
Microsoft.Extensions.Configuration (4)
Microsoft.Extensions.Configuration.Binder (1)
Microsoft.Extensions.Configuration.CommandLine (1)
Microsoft.Extensions.DataIngestion (3)
Microsoft.Extensions.DataIngestion.Abstractions (3)
Microsoft.Extensions.DataIngestion.Markdig (1)
Microsoft.Extensions.DataIngestion.MarkItDown (2)
Microsoft.Extensions.DataIngestion.Tests (2)
Microsoft.Extensions.DependencyInjection (6)
Microsoft.Extensions.DependencyInjection.Abstractions (5)
Microsoft.Extensions.DependencyInjection.AutoActivation (1)
Microsoft.Extensions.Diagnostics (4)
Microsoft.Extensions.Diagnostics.ExceptionSummarization (1)
Microsoft.Extensions.Diagnostics.HealthChecks (1)
Microsoft.Extensions.Diagnostics.HealthChecks.Common (1)
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (1)
Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization (1)
Microsoft.Extensions.Diagnostics.Probes (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Kubernetes (1)
Microsoft.Extensions.Diagnostics.Testing (3)
Microsoft.Extensions.DotNetDeltaApplier (1)
Microsoft.Extensions.FileProviders.Embedded.Manifest.Task (2)
Microsoft.Extensions.FileSystemGlobbing (15)
Microsoft.Extensions.Hosting.Testing (1)
Microsoft.Extensions.Http (3)
Microsoft.Extensions.Http.Diagnostics (10)
Microsoft.Extensions.Http.Resilience (5)
Microsoft.Extensions.Http.Resilience.Tests (1)
Microsoft.Extensions.Logging (4)
Microsoft.Extensions.Logging.AzureAppServices (2)
Microsoft.Extensions.Logging.Configuration (2)
Microsoft.Extensions.ObjectPool.DependencyInjection (1)
Microsoft.Extensions.Options.Contextual (1)
Microsoft.Extensions.Options.SourceGeneration (3)
Microsoft.Extensions.Resilience (1)
Microsoft.Extensions.Resilience.Tests (3)
Microsoft.Extensions.ServiceDiscovery (5)
Microsoft.Extensions.ServiceDiscovery.Abstractions (1)
Microsoft.Extensions.ServiceDiscovery.Dns (5)
Microsoft.Extensions.ServiceDiscovery.Yarp (1)
Microsoft.Extensions.Telemetry (3)
Microsoft.Extensions.Telemetry.Abstractions (1)
Microsoft.Extensions.TimeProvider.Testing (1)
Microsoft.Extensions.VectorData.Abstractions (1)
Microsoft.Gen.BuildMetadata.Unit.Tests (3)
Microsoft.Gen.ComplianceReports (1)
Microsoft.Gen.ComplianceReports.Unit.Tests (3)
Microsoft.Gen.ContextualOptions.Unit.Tests (3)
Microsoft.Gen.Logging.Unit.Tests (3)
Microsoft.Gen.MetadataExtractor (4)
Microsoft.Gen.MetadataExtractor.Unit.Tests (3)
Microsoft.Gen.Metrics.Unit.Tests (3)
Microsoft.Gen.MetricsReports (1)
Microsoft.Gen.MetricsReports.Unit.Tests (3)
Microsoft.Interop.SourceGeneration (5)
Microsoft.Maui (10)
Microsoft.Maui.Controls (73)
Microsoft.Maui.Controls.Build.Tasks (8)
Microsoft.Maui.Controls.Maps (6)
Microsoft.Maui.Controls.SourceGen (2)
Microsoft.Maui.Controls.Xaml (2)
Microsoft.ML.AutoML (7)
Microsoft.ML.CodeGenerator (10)
Microsoft.ML.Core (20)
Microsoft.ML.Core.Tests (2)
Microsoft.ML.CpuMath (1)
Microsoft.ML.Data (8)
Microsoft.ML.Ensemble (9)
Microsoft.ML.FastTree (3)
Microsoft.ML.IntegrationTests (2)
Microsoft.ML.ResultProcessor (5)
Microsoft.ML.SearchSpace (2)
Microsoft.ML.StandardTrainers (3)
Microsoft.ML.Tests (2)
Microsoft.ML.Tokenizers (12)
Microsoft.ML.TorchSharp (2)
Microsoft.NET.Build.Extensions.Tasks (3)
Microsoft.NET.Build.Tasks (14)
Microsoft.Net.Http.Headers (22)
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (8)
Microsoft.NET.Sdk.Publish.Tasks (7)
Microsoft.NET.Sdk.Razor.Tasks (2)
Microsoft.NET.Sdk.StaticWebAssets.Tasks (18)
Microsoft.NET.Sdk.WorkloadManifestReader (3)
Microsoft.TemplateEngine.Core (3)
Microsoft.TemplateEngine.Edge (3)
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (1)
Microsoft.TestPlatform.CommunicationUtilities (3)
Microsoft.TestPlatform.CrossPlatEngine (9)
Microsoft.VisualStudio.TestPlatform.Client (2)
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (1)
Microsoft.VisualStudio.TestPlatform.ObjectModel (6)
Microsoft.Web.Xdt.Extensions (1)
Microsoft.Web.XmlTransform (13)
Mono.Cecil (2)
Mono.Cecil.Rocks (1)
MSBuild (9)
MSBuild.Coordinator (1)
NuGet.Build.Tasks (2)
NuGet.Build.Tasks.Console (6)
NuGet.Build.Tasks.Pack (2)
NuGet.CommandLine.XPlat (24)
NuGet.Commands (96)
NuGet.Common (1)
NuGet.Configuration (29)
NuGet.Credentials (2)
NuGet.DependencyResolver.Core (16)
NuGet.Frameworks (8)
NuGet.LibraryModel (26)
NuGet.PackageManagement (40)
NuGet.Packaging (35)
NuGet.ProjectModel (77)
NuGet.Protocol (34)
NuGet.Resolver (5)
NuGet.Versioning (28)
PresentationBuildTasks (11)
PresentationCore (148)
PresentationFramework (136)
PresentationUI (8)
ReachFramework (35)
Roslyn.Diagnostics.Analyzers (52)
Roslyn.Diagnostics.CSharp.Analyzers (18)
rzc (2)
sdk-tasks (1)
Shared (4)
Shared.Tests (2)
System.CodeDom (1)
System.Collections (13)
System.Collections.Concurrent (4)
System.Collections.Immutable (16)
System.CommandLine (21)
System.CommandLine.StaticCompletions (4)
System.ComponentModel.Annotations (2)
System.ComponentModel.Composition (7)
System.Composition.Hosting (1)
System.Composition.Runtime (4)
System.Composition.TypedParts (3)
System.Configuration.ConfigurationManager (4)
System.Data.Common (1)
System.Diagnostics.DiagnosticSource (4)
System.Diagnostics.EventLog (1)
System.Diagnostics.Process (1)
System.IO.Packaging (1)
System.Linq (50)
System.Linq.AsyncEnumerable (1)
System.Linq.Expressions (34)
System.Linq.Parallel (8)
System.Net.Http (3)
System.Net.NameResolution (6)
System.Net.Quic (2)
System.Net.Security (1)
System.Net.Sockets (9)
System.ObjectModel (1)
System.Private.CoreLib (63)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (1)
94int count = c.Count;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeTypedArgument.cs (1)
66int count = array.Count;
System.Private.DataContractSerialization (21)
System.Private.Xml (119)
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (19)
126case FuncId.Document: return CompileFnDocument(args[0], args.Count > 1 ? args[1] : null);
127case FuncId.FormatNumber: return CompileFormatNumber(args[0], args[1], args.Count > 2 ? args[2] : null);
129case FuncId.GenerateId: return CompileGenerateId(args.Count > 0 ? args[0] : env.GetCurrent()!);
151FunctionInfo.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
156FunctionInfo.CheckArity(/*minArg:*/2, /*maxArg:*/4, name, args.Count);
160/*lang: */2 < args.Count ? _f.ConvertToString(args[2]) : _f.String(string.Empty),
161/*options:*/3 < args.Count ? _f.ConvertToString(args[3]) : _f.String(string.Empty)
166FunctionInfo.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
171FunctionInfo.CheckArity(/*minArg:*/1, /*maxArg:*/3, name, args.Count);
174/*format: */1 < args.Count ? _f.ConvertToString(args[1]) : _f.String(string.Empty),
175/*lang: */2 < args.Count ? _f.ConvertToString(args[2]) : _f.String(string.Empty),
181FunctionInfo.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
186FunctionInfo.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
191FunctionInfo.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
200FunctionInfo.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
205FunctionInfo.CheckArity(/*minArg:*/1, /*maxArg:*/1, name, args.Count);
213for (int i = 0; i < args.Count; i++)
219XmlExtensionFunction? scrFunc = _compiler.Scripts.ResolveFunction(name, ns, args.Count, (IErrorHelper)this);
243for (int i = 0; i < args.Count; i++)
System.Private.Xml.Linq (1)
System.Reflection.Context (3)
System.Reflection.MetadataLoadContext (9)
System.Runtime.Caching (2)
System.Runtime.Serialization.Schema (1)
System.Security.Cryptography.Pkcs (1)
System.ServiceModel.Federation.Tests (1)
System.ServiceModel.Primitives (43)
System.ServiceModel.Syndication (3)
System.Text.Json (21)
System.Text.Json.SourceGeneration (1)
System.Text.RegularExpressions (2)
System.Threading.Tasks.Dataflow (3)
System.Threading.Tasks.Parallel (5)
System\Threading\Tasks\Parallel.cs (5)
17630, list.Count, parallelOptions, (i) => body(list[i]), null, null, null, null);
17680, list.Count, parallelOptions, null, (i, state) => bodyWithState(list[i], state), null, null, null);
17730, list.Count, parallelOptions, null, (i, state) => bodyWithStateAndIndex(list[i], state, i), null, null, null);
17780, list.Count, parallelOptions, null, null, (i, state, local) => bodyWithStateAndLocal(list[i], state, local), localInit, localFinally);
17830, list.Count, parallelOptions, null, null, (i, state, local) => bodyWithEverything!(list[i], state, i, local), localInit, localFinally);
System.Windows.Forms (2)
System.Windows.Forms.Design (5)
System.Windows.Forms.Primitives (1)
System.Xaml (43)
vbc (3)
VBCSCompiler (3)
vstest.console (4)
vstest.console.arm64 (4)