173 references to Read
Aspire.Dashboard (1)
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
194while (reader.Read())
Aspire.Hosting.Azure (4)
Provisioning\Provisioners\AzureProvisioner.cs (4)
537while (reader.Read()) 544reader.Read(); 553reader.Read(); 562reader.Read();
Microsoft.AspNetCore.Components.Server (2)
src\Components\Shared\src\ElementReferenceJsonConverter.cs (2)
23while (reader.Read() && reader.TokenType != JsonTokenType.EndObject) 29reader.Read();
Microsoft.AspNetCore.Components.Server.Tests (4)
ElementReferenceJsonConverterTest.cs (4)
47reader.Read(); 67reader.Read(); 87reader.Read(); 106reader.Read();
Microsoft.AspNetCore.Components.WebAssembly (2)
src\Components\Shared\src\ElementReferenceJsonConverter.cs (2)
23while (reader.Read() && reader.TokenType != JsonTokenType.EndObject) 29reader.Read();
Microsoft.AspNetCore.Components.WebView (2)
src\Components\Shared\src\ElementReferenceJsonConverter.cs (2)
23while (reader.Read() && reader.TokenType != JsonTokenType.EndObject) 29reader.Read();
Microsoft.AspNetCore.Http.Abstractions.Tests (4)
HttpValidationProblemDetailsJsonConverterTest.cs (2)
60reader.Read(); 103reader.Read();
ProblemDetailsJsonConverterTest.cs (2)
43reader.Read(); 138reader.Read();
Microsoft.AspNetCore.Http.Connections.Common (5)
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (5)
13if (!reader.Read()) 62reader.Read(); 74reader.Read(); 86reader.Read(); 103reader.Read();
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateGenerator\SharedTypes.cs (2)
988while (reader.Read()) 996reader.Read();
Microsoft.AspNetCore.Http.Microbenchmarks (2)
src\Http\Http.Extensions\test\RequestDelegateGenerator\SharedTypes.cs (2)
988while (reader.Read()) 996reader.Read();
Microsoft.AspNetCore.Mvc.Core.Test (2)
Infrastructure\ValidationProblemDetailsJsonConverterTest.cs (2)
27reader.Read(); 69reader.Read();
Microsoft.AspNetCore.OpenApi (34)
Schemas\OpenApiJsonSchema.cs (2)
25reader.Read(); 39} while (reader.Read());
Schemas\OpenApiJsonSchema.Helpers.cs (32)
30reader.Read(); 34reader.Read(); 68reader.Read(); 77reader.Read(); 79reader.Read(); 142reader.Read(); 151reader.Read(); 160reader.Read(); 162reader.Read(); 182reader.Read(); 209reader.Read(); 217reader.Read(); 221reader.Read(); 226reader.Read(); 230reader.Read(); 234reader.Read(); 238reader.Read(); 242reader.Read(); 247reader.Read(); 252reader.Read(); 257reader.Read(); 262reader.Read(); 267reader.Read(); 272reader.Read(); 277reader.Read(); 282reader.Read(); 292reader.Read(); 298reader.Read(); 306reader.Read(); 314reader.Read(); 321reader.Read(); 326reader.Read();
Microsoft.AspNetCore.SignalR.Common (5)
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (5)
13if (!reader.Read()) 62reader.Read(); 74reader.Read(); 86reader.Read(); 103reader.Read();
Microsoft.AspNetCore.SignalR.Protocols.Json (9)
Protocol\JsonHubProtocol.cs (4)
182reader.Read(); 187reader.Read(); 195reader.Read(); 490while (reader.Read())
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (5)
13if (!reader.Read()) 62reader.Read(); 74reader.Read(); 86reader.Read(); 103reader.Read();
Microsoft.AspNetCore.SignalR.StackExchangeRedis (5)
src\SignalR\common\Shared\SystemTextJsonExtensions.cs (5)
13if (!reader.Read()) 62reader.Read(); 74reader.Read(); 86reader.Read(); 103reader.Read();
Microsoft.CodeAnalysis.LanguageServer.Protocol (11)
Protocol\Converters\FormattingOptionsConverter.cs (1)
29if (!reader.Read())
Protocol\Converters\NaturalObjectConverter.cs (1)
59while (reader.Read() && reader.TokenType != JsonTokenType.EndArray)
Protocol\Internal\Converters\ClassifiedTextElementConverter.cs (3)
20while (reader.Read()) 30reader.Read(); 34while (reader.Read())
Protocol\Internal\Converters\ContainerElementConverter.cs (3)
26while (reader.Read()) 36reader.Read(); 40while (reader.Read())
Protocol\Internal\Converters\ImageElementConverter.cs (2)
23while (reader.Read()) 34reader.Read();
Protocol\Internal\Converters\ObjectContentConverter.cs (1)
42reader.Read();
Microsoft.Extensions.DependencyModel (20)
DependencyContextJsonReader.cs (12)
143while (reader.Read() && reader.IsTokenTypeProperty()) 284while (reader.Read() && reader.IsTokenTypeProperty()) 353while (reader.Read() && reader.IsTokenTypeProperty()) 376while (reader.Read() && reader.IsTokenTypeProperty()) 405while (reader.Read() && reader.IsTokenTypeProperty()) 482while (reader.Read() && reader.IsTokenTypeProperty()) 506while (reader.Read() && reader.IsTokenTypeProperty()) 549while (reader.Read() && reader.IsTokenTypeProperty()) 600while (reader.Read() && reader.IsTokenTypeProperty()) 640while (reader.Read() && reader.IsTokenTypeProperty()) 668while (reader.Read() && reader.IsTokenTypeProperty()) 720while (reader.Read() && reader.IsTokenTypeProperty())
Utf8JsonReaderExtensions.cs (8)
22if (reader.Read() && reader.IsTokenTypeProperty()) 26if (reader.Read()) 46reader.Read(); 68reader.Read(); 76while (reader.Read() && reader.TokenType == JsonTokenType.String) 92reader.Read(); 108reader.Read(); 123reader.Read();
Microsoft.JSInterop (19)
Implementation\JSObjectReferenceJsonWorker.cs (2)
27while (reader.Read() && reader.TokenType != JsonTokenType.EndObject) 33reader.Read();
Infrastructure\ByteArrayJsonConverter.cs (3)
43if (reader.Read() && reader.TokenType == JsonTokenType.PropertyName) 49else if (!reader.Read() || reader.TokenType != JsonTokenType.Number) 63if (reader.Read() && reader.TokenType != JsonTokenType.EndObject)
Infrastructure\DotNetDispatcher.cs (9)
230if (!reader.Read() || reader.TokenType != JsonTokenType.StartArray) 238while (index < parameterTypes.Length && reader.Read() && reader.TokenType != JsonTokenType.EndArray) 256if (!reader.Read() || reader.TokenType != JsonTokenType.EndArray) 270if (jsonReader.Read() && 317if (!reader.Read() || reader.TokenType != JsonTokenType.StartArray) 322reader.Read(); 325reader.Read(); 328reader.Read(); 334if (!reader.Read() || reader.TokenType != JsonTokenType.EndArray)
Infrastructure\DotNetObjectReferenceJsonConverter.cs (2)
26while (reader.Read() && reader.TokenType != JsonTokenType.EndObject) 32reader.Read();
Infrastructure\JSStreamReferenceJsonConverter.cs (3)
29while (reader.Read() && reader.TokenType != JsonTokenType.EndObject) 35reader.Read(); 40reader.Read();
Microsoft.JSInterop.Tests (2)
JSRuntimeTest.cs (2)
162reader.Read(); 191reader.Read();
Microsoft.ML.SearchSpace (1)
Converter\ParameterConverter.cs (1)
43while (reader.Read() && reader.TokenType != JsonTokenType.EndArray)
Microsoft.ML.Tokenizers (2)
Utils\StringSpanOrdinalKey.cs (2)
151while (reader.Read()) 161reader.Read();
System.Text.Json (33)
System\Text\Json\Document\JsonDocument.cs (1)
962while (reader.Read())
System\Text\Json\Document\JsonDocument.Parse.cs (3)
354/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine 394/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine 454if (!reader.Read())
System\Text\Json\Document\JsonElement.Parse.cs (2)
23/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine 88/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine
System\Text\Json\JsonHelpers.cs (4)
41return readAhead ? TryAdvanceWithReadAhead(ref reader) : reader.Read(); 53if (!reader.Read()) 80if (!reader.Read()) 172bool result = reader.Read();
System\Text\Json\Nodes\JsonNode.Parse.cs (1)
26/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine
System\Text\Json\Nodes\JsonValueOfTCustomized.cs (1)
58bool success = reader.Read();
System\Text\Json\Reader\Utf8JsonReader.cs (6)
308/// For all other token types, the reader does not move. After the next call to <see cref="Read"/>, the reader will be at 328bool result = Read(); 339bool result = Read(); 367/// For all other token types, the reader does not move. After the next call to <see cref="Read"/>, the reader will be at 406if (!Read()) 422if (!Read())
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (1)
249if (!reader.Read())
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (1)
227if (!reader.Read())
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (1)
151if (!reader.Read())
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
389if (!reader.Read())
System\Text\Json\Serialization\JsonConverterOfT.ReadCore.cs (1)
47if (!reader.Read() && !reader.IsFinalBlock)
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (2)
56if (!reader.Read()) 200if (!reader.Read())
System\Text\Json\Serialization\JsonSerializer.Read.Utf8JsonReader.cs (6)
37/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine 91/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine 142/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine 191/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine 252/// reader will be advanced by one call to <see cref="Utf8JsonReader.Read"/> to determine 355if (!reader.Read())
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Raw.cs (2)
167while (reader.Read()); 258while (reader.Read());
System.Windows.Forms.Tests (2)
System\Windows\Forms\DataObjectTests.cs (2)
2932while (reader.Read()) 2952reader.Read();