Implemented interface member:
13 references to Count
Aspire.Hosting.Azure.Tests (1)
AzureBicepProvisionerTests.cs (1)
62
Assert.Equal(8, parameters.
Count
);
Microsoft.Build.BuildCheck.UnitTests (1)
EndToEndTests.cs (1)
134
output.DepsJsonResources.
Count
.ShouldBe(resourceExpectedToBeRecognizedAsSatelite ? 2 : 1);
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.Schema.cs (1)
290
if (required is not JsonArray { } requiredArray || requiredArray.Count != propertiesObj.
Count
)
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAISerializationTests.cs (1)
383
Assert.Equal(2, parameterSchema.
Count
);
System.Text.Json (9)
System\Text\Json\Nodes\JsonArray.cs (1)
398
return $"JsonObject[{jsonObject.
Count
}]";
System\Text\Json\Nodes\JsonObject.cs (3)
96
_dictionary = CreateDictionary(Options,
Count
)
319
DebugViewProperty[] properties = new DebugViewProperty[_node.
Count
];
359
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>
41
/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than or equal to <see cref="
Count
"/>.</exception>
72
/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than <see cref="
Count
"/>.</exception>
86
/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is less than 0 or greater than or equal to <see cref="
Count
"/>.</exception>