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