24 references to Array
Microsoft.AspNetCore.Authentication.OAuth (2)
JsonKeyClaimAction.cs (1)
39if (value.ValueKind == JsonValueKind.Array)
JsonSubKeyClaimAction.cs (1)
41if (value.ValueKind == JsonValueKind.Array)
Microsoft.AspNetCore.Components.Web (1)
WebEventData\ChangeEventArgsReader.cs (1)
33case JsonValueKind.Array:
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (3)
ConverterTests\JsonElementComparer.cs (2)
58case JsonValueKind.Array: 126case JsonValueKind.Array:
UnaryServerCallHandlerTests.cs (1)
180Assert.Equal(JsonValueKind.Array, responseJson.RootElement.ValueKind);
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Infrastructure\DefaultTempDataSerializer.cs (1)
62case JsonValueKind.Array:
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Converters\ParameterInformationConverter.cs (1)
25if (labelElement.ValueKind == JsonValueKind.Array)
Microsoft.Extensions.AI (1)
ChatCompletion\ChatClientStructuredOutputExtensions.cs (1)
221JsonValueKind.Array => JsonArray.Create(element),
Microsoft.Extensions.AI.Abstractions.Tests (1)
Contents\FunctionCallContentTests..cs (1)
299Assert.True(kvp.Value is JsonElement { ValueKind: JsonValueKind.Array });
Microsoft.Extensions.Configuration.Json (1)
JsonConfigurationFileParser.cs (1)
91case JsonValueKind.Array:
System.Text.Json (13)
System\Text\Json\Document\JsonElement.cs (5)
51/// <see cref="JsonValueKind.Array"/>. 54/// This value's <see cref="ValueKind"/> is not <see cref="JsonValueKind.Array"/>. 77/// This value's <see cref="ValueKind"/> is not <see cref="JsonValueKind.Array"/>. 1302case JsonValueKind.Array: 1573/// This value's <see cref="ValueKind"/> is not <see cref="JsonValueKind.Array"/>.
System\Text\Json\Nodes\JsonArray.cs (6)
72private protected override JsonValueKind GetValueKindCore() => JsonValueKind.Array; 191/// The <paramref name="element"/> is not a <see cref="JsonValueKind.Array"/>. 198JsonValueKind.Array => new JsonArray(element, options), 199_ => throw new InvalidOperationException(SR.Format(SR.NodeElementWrongType, nameof(JsonValueKind.Array))), 205Debug.Assert(element.ValueKind == JsonValueKind.Array); 306Debug.Assert(jElement.ValueKind == JsonValueKind.Array);
System\Text\Json\Reader\JsonReaderHelper.cs (1)
56return JsonValueKind.Array;
System\Text\Json\Serialization\Converters\Node\JsonNodeConverter.cs (1)
72case JsonValueKind.Array: