Implemented interface member:
13 references to Count
Aspire.Hosting.Azure.Tests (1)
AzureBicepProvisionerTests.cs (1)
63Assert.Equal(8, parameters.Count);
Microsoft.Build.BuildCheck.UnitTests (1)
EndToEndTests.cs (1)
133output.DepsJsonResources.Count.ShouldBe(resourceExpectedToBeRecognizedAsSatelite ? 2 : 1);
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.Schema.Create.cs (1)
293if (required is not JsonArray { } requiredArray || requiredArray.Count != propertiesObj.Count)
Microsoft.Extensions.AI.Abstractions.Tests (1)
Utilities\AIJsonUtilitiesTests.cs (1)
757Assert.Equal(((JsonArray)schemaObj["required"]!).Count, ((JsonObject)props!).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) 305DebugViewProperty[] properties = new DebugViewProperty[_node.Count]; 345return $"{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>