Implemented interface members:
property
Count
System.Collections.Generic.IReadOnlyCollection<T>.Count
property
Count
System.Collections.ICollection.Count
14 references to Count
aspire-tray (5)
NativeSmokeHarness.cs (5)
216if (_client.Stops.Count != 1 || !state.AppHosts.Single(host => host.Id == _hosts[0].Id).IsStopping) 267Require(_errors == 1 && _confirmations == 2 && _client.Stops.Count == 1, "A stale sender stopped or confirmed a replacement lifetime."); 277Require(_errors == 2 && _client.Stops.Count == 1, "A lifetime replaced during a native confirmation was stopped."); 293if (_client.Starts.Count != 1 || _client.Stops.Count != 2)
Aspire.Dashboard.Playwright.Tests (1)
tests\Aspire.Dashboard.Tests\Shared\TerminalTestProducer.cs (1)
37public int ConnectionCount => _connections.Count;
Aspire.Dashboard.Tests (1)
Shared\TerminalTestProducer.cs (1)
37public int ConnectionCount => _connections.Count;
Aspire.Hosting.Tests (4)
Publishing\DotnetProgramArchiveTests.cs (4)
116Assert.Equal(4, runtime.RemoveImageCalls.Count); 238Assert.Equal(2, runtime.RemoveImageCalls.Count); 271Assert.Equal(2, runtime.RemoveImageCalls.Count); 297Assert.Equal(2, runtime.RemoveImageCalls.Count);
ILCompiler.ReadyToRun (1)
Compiler\DependencyAnalysis\ReadyToRun\TypeValidationChecker.cs (1)
34loggingFunction($"{_typeLoadValidationErrors.Count} type validation errors");
Microsoft.ML.Core (1)
Utilities\ObjectPool.cs (1)
41public int Count => _pool.Count;
Microsoft.NET.Sdk.StaticWebAssets.Tasks (1)
Data\StaticWebAssetEndpoint.cs (1)
403var endpointItems = new ITaskItem[endpoints.Count];