12 references to GetArrayLength
Microsoft.AspNetCore.Components.Web (4)
WebEventData\ChangeEventArgsReader.cs (1)
52
var result = new string?[jsonElement.
GetArrayLength
()];
WebEventData\DragEventArgsReader.cs (2)
59
var items = new DataTransferItem[value.
GetArrayLength
()];
104
var values = new string[value.
GetArrayLength
()];
WebEventData\TouchEventArgsReader.cs (1)
81
var touchPoints = new TouchPoint[jsonElement.
GetArrayLength
()];
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (3)
ConverterTests\JsonElementComparer.cs (1)
136
hash.Add(obj.
GetArrayLength
());
UnaryServerCallHandlerTests.cs (2)
951
Assert.Equal(1, d.GetProperty("fieldViolations").
GetArrayLength
());
1029
Assert.Equal(1, d.GetProperty("fieldViolations").
GetArrayLength
());
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Infrastructure\DefaultTempDataSerializer.cs (1)
82
int arrayLength = arrayElement.
GetArrayLength
();
System.Text.Json (4)
System\Text\Json\Document\JsonElement.cs (3)
57
/// <paramref name="index"/> is not in the range [0, <see cref="
GetArrayLength
"/>()).
1303
if (element1.
GetArrayLength
() != element2.
GetArrayLength
())
System\Text\Json\Nodes\JsonArray.cs (1)
308
list = new List<JsonNode?>(jElement.
GetArrayLength
());