Implemented interface member:
20 references to Count
aspire (1)
Configuration\ConfigurationService.cs (1)
213if (currentObject.Count == 0)
Aspire.Hosting (1)
Orchestrator\ParameterProcessor.cs (1)
393if (parametersSection.Data.Count > 0)
Aspire.Hosting.Azure.Tests (3)
BicepUtilitiesTests.cs (2)
61Assert.Equal(8, parameters.Count); 325Assert.Equal(3, parameters.Count);
DefaultUserSecretsManagerTests.cs (1)
60Assert.Equal(3, result.Count);
Microsoft.Build.BuildCheck.UnitTests (1)
EndToEndTests.cs (1)
136output.DepsJsonResources.Count.ShouldBe(resourceExpectedToBeRecognizedAsSatelite ? 2 : 1);
Microsoft.Extensions.AI.Abstractions.Tests (1)
Utilities\AIJsonUtilitiesTests.cs (1)
1381Assert.Equal(((JsonArray)schemaObj["required"]!).Count, ((JsonObject)props!).Count);
Microsoft.NET.Build.Containers.UnitTests (4)
ImageBuilderTests.cs (4)
85Assert.Equal(2, resultLabels.Count); 156Assert.Equal(3, resultLabels.Count); 224Assert.Equal(2, resultPorts.Count); 298Assert.Equal(5, resultPorts.Count);
System.Text.Json (9)
System\Text\Json\Nodes\JsonArray.cs (1)
395return $"JsonObject[{jsonObject.Count}]";
System\Text\Json\Nodes\JsonObject.cs (3)
96_dictionary = CreateDictionary(Options, Count) 334DebugViewProperty[] properties = new DebugViewProperty[_node.Count]; 374return $"{PropertyName} = JsonObject[{jsonObject.Count}]";
System\Text\Json\Nodes\JsonObject.IList.cs (5)
14/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than or equal to <see cref="Count"/>.</exception> 21/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than or equal to <see cref="Count"/>.</exception> 38/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than or equal to <see cref="Count"/>.</exception> 66/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than <see cref="Count"/>.</exception> 77/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than or equal to <see cref="Count"/>.</exception>