Implemented interface member:
13 references to Count
Aspire.Hosting.Azure (3)
AzureDeployingContext.cs (2)
420if (errorObj["details"] is JsonArray detailsArray && detailsArray.Count > 0) 461if (detailObj["details"] is JsonArray nestedDetailsArray && nestedDetailsArray.Count > 0)
Provisioning\Internal\DefaultUserSecretsManager.cs (1)
100for (int i = 0; i < array.Count; i++)
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (1)
UserJwtsTests.cs (1)
611Assert.Equal(2, signingKeys.Count);
Microsoft.AspNetCore.JsonPatch.SystemTextJson (1)
Helpers\GenericListOrJsonArrayUtilities.cs (1)
52return jsonArray.Count;
Microsoft.AspNetCore.OpenApi (3)
Extensions\JsonNodeSchemaExtensions.cs (2)
480for (var i = typeArray.Count - 1; i >= 0; i--) 487if (typeArray.Count == 1)
Services\Schemas\OpenApiSchemaService.cs (1)
528for (var i = 0; i < jsonArray.Count; i++)
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.Schema.Transform.cs (1)
111for (int i = 0; i < combinatorArray.Count; i++)
Microsoft.Extensions.AI.Abstractions.Tests (1)
Utilities\AIJsonUtilitiesTests.cs (1)
1317Assert.Equal(((JsonArray)schemaObj["required"]!).Count, ((JsonObject)props!).Count);
System.Text.Json (3)
System\Text\Json\Nodes\JsonArray.IList.cs (2)
75/// <paramref name="index"/> is less than 0 or <paramref name="index"/> is greater than <see cref="Count"/>. 108/// <paramref name="index"/> is less than 0 or <paramref name="index"/> is greater than <see cref="Count"/>.
System\Text\Json\Nodes\JsonObject.cs (1)
381return $"{PropertyName} = JsonArray[{jsonArray.Count}]";