12 references to GetArrayLength
Microsoft.AspNetCore.Components.Web (4)
WebEventData\ChangeEventArgsReader.cs (1)
52var result = new string?[jsonElement.GetArrayLength()];
WebEventData\DragEventArgsReader.cs (2)
59var items = new DataTransferItem[value.GetArrayLength()]; 104var values = new string[value.GetArrayLength()];
WebEventData\TouchEventArgsReader.cs (1)
81var touchPoints = new TouchPoint[jsonElement.GetArrayLength()];
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (3)
ConverterTests\JsonElementComparer.cs (1)
136hash.Add(obj.GetArrayLength());
UnaryServerCallHandlerTests.cs (2)
951Assert.Equal(1, d.GetProperty("fieldViolations").GetArrayLength()); 1029Assert.Equal(1, d.GetProperty("fieldViolations").GetArrayLength());
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Infrastructure\DefaultTempDataSerializer.cs (1)
82int 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"/>()). 1303if (element1.GetArrayLength() != element2.GetArrayLength())
System\Text\Json\Nodes\JsonArray.cs (1)
308list = new List<JsonNode?>(jElement.GetArrayLength());