29 references to EnumerateArray
Aspire.Hosting.Seq.Tests (2)
SeqFunctionalTests.cs (2)
62var doc = jsonDocument.RootElement.EnumerateArray().FirstOrDefault(); 65var property = doc.GetProperty("Properties").EnumerateArray().FirstOrDefault();
Microsoft.AspNetCore.Authentication.OAuth (2)
JsonKeyClaimAction.cs (1)
41foreach (var v in value.EnumerateArray())
JsonSubKeyClaimAction.cs (1)
43foreach (var v in value.EnumerateArray())
Microsoft.AspNetCore.Components.Web (4)
WebEventData\ChangeEventArgsReader.cs (1)
55foreach (var arrayElement in jsonElement.EnumerateArray())
WebEventData\DragEventArgsReader.cs (2)
61foreach (var item in value.EnumerateArray()) 106foreach (var item in value.EnumerateArray())
WebEventData\TouchEventArgsReader.cs (1)
83foreach (var item in jsonElement.EnumerateArray())
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (5)
ConverterTests\JsonElementComparer.cs (3)
59return x.EnumerateArray().SequenceEqual(y.EnumerateArray(), this); 129foreach (var item in obj.EnumerateArray())
UnaryServerCallHandlerTests.cs (2)
936var details = responseJson.RootElement.GetProperty("details").EnumerateArray().ToArray(); 1014var details = responseJson.RootElement.GetProperty("details").EnumerateArray().ToArray();
Microsoft.AspNetCore.Identity.FunctionalTests (4)
MapIdentityApiTests.cs (4)
747var recoveryCodes = enable2faContent.GetProperty("recoveryCodes").EnumerateArray().Select(e => e.GetString()).ToArray(); 844var recoveryCodes = enable2faContent.GetProperty("recoveryCodes").EnumerateArray().Select(e => e.GetString()).ToArray(); 875var resetRecoveryCodes = resetRecoveryContent.GetProperty("recoveryCodes").EnumerateArray().Select(e => e.GetString()).ToArray(); 1356=> claims.EnumerateArray().Single(e => e.GetProperty("type").GetString() == name).GetProperty("value").GetString();
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Infrastructure\DefaultTempDataSerializer.cs (2)
95foreach (var item in arrayElement.EnumerateArray()) 106foreach (var item in arrayElement.EnumerateArray())
Microsoft.Build (1)
Construction\Solution\SolutionFile.cs (1)
636foreach (JsonElement project in solution.GetProperty("projects").EnumerateArray())
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildProjectLoader.SolutionFilterReader.cs (1)
57foreach (var project in solution.GetProperty("projects").EnumerateArray())
Microsoft.DotNet.Arcade.Sdk (1)
src\InstallDotNetCore.cs (1)
225foreach (var version in token.Value.EnumerateArray())
Microsoft.Extensions.Configuration.Json (1)
JsonConfigurationFileParser.cs (1)
62foreach (JsonElement arrayElement in element.EnumerateArray())
Microsoft.ML.GenAI.Phi (2)
Module\Phi3SuScaledRotaryEmbedding.cs (2)
30this._shortFactor = shortFactorElement.EnumerateArray().Select(e => e.GetDouble()).ToArray(); 31this._longFactor = longFactorDocument.EnumerateArray().Select(e => e.GetDouble()).ToArray();
Microsoft.ML.Tokenizers.Tests (1)
UnigramTests.cs (1)
78foreach (JsonElement token in vocabElement.EnumerateArray())
System.Text.Json (3)
System\Text\Json\Document\JsonElement.cs (2)
1308ArrayEnumerator arrayEnumerator2 = element2.EnumerateArray(); 1309foreach (JsonElement e1 in element1.EnumerateArray())
System\Text\Json\Nodes\JsonArray.cs (1)
310foreach (JsonElement element in jElement.EnumerateArray())