40 references to new
Aspire.Dashboard (1)
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
180
var reader = new
Utf8JsonReader
(jsonData, new JsonReaderOptions
Aspire.Hosting.Azure (1)
Provisioning\Provisioners\AzureProvisioner.cs (1)
536
Utf8JsonReader reader =
new
(bytes);
Microsoft.AspNetCore.Components (1)
PersistentComponentState.cs (1)
106
var reader = new
Utf8JsonReader
(data);
Microsoft.AspNetCore.Components.Server.Tests (4)
ElementReferenceJsonConverterTest.cs (4)
46
var reader = new
Utf8JsonReader
(bytes);
66
var reader = new
Utf8JsonReader
(bytes);
86
var reader = new
Utf8JsonReader
(bytes);
105
var reader = new
Utf8JsonReader
(bytes);
Microsoft.AspNetCore.Components.Web.Tests (12)
WebEventData\ChangeEventArgsReaderTest.cs (1)
66
var jsonReader = new
Utf8JsonReader
(json);
WebEventData\ClipboardEventArgsReaderTest.cs (1)
30
var jsonReader = new
Utf8JsonReader
(json);
WebEventData\DragEventArgsReaderTest.cs (1)
84
var jsonReader = new
Utf8JsonReader
(json);
WebEventData\ErrorEventArgsReaderTest.cs (1)
39
var jsonReader = new
Utf8JsonReader
(json);
WebEventData\FocusEventArgsReaderTest.cs (1)
31
var jsonReader = new
Utf8JsonReader
(json);
WebEventData\KeyboardEventArgsReaderTest.cs (1)
49
var jsonReader = new
Utf8JsonReader
(json);
WebEventData\MouseEventArgsReaderTest.cs (1)
69
var jsonReader = new
Utf8JsonReader
(json);
WebEventData\PointerEventArgsReaderTest.cs (1)
61
var jsonReader = new
Utf8JsonReader
(json);
WebEventData\ProgressEventArgsReaderTest.cs (1)
36
var jsonReader = new
Utf8JsonReader
(json);
WebEventData\TouchEventArgsReaderTest.cs (1)
114
var jsonReader = new
Utf8JsonReader
(json);
WebEventData\WebEventDescriptorReaderTest.cs (1)
68
var jsonReader = new
Utf8JsonReader
(json);
WebEventData\WheelEventArgsReaderTest.cs (1)
54
var jsonReader = new
Utf8JsonReader
(json);
Microsoft.AspNetCore.Http.Abstractions.Tests (5)
HttpValidationProblemDetailsJsonConverterTest.cs (2)
59
var reader = new
Utf8JsonReader
(Encoding.UTF8.GetBytes(json));
102
var reader = new
Utf8JsonReader
(Encoding.UTF8.GetBytes(json));
ProblemDetailsJsonConverterTest.cs (3)
25
var reader = new
Utf8JsonReader
(Encoding.UTF8.GetBytes(json));
42
var reader = new
Utf8JsonReader
(Encoding.UTF8.GetBytes(json));
137
var reader = new
Utf8JsonReader
(Encoding.UTF8.GetBytes(json));
Microsoft.AspNetCore.Mvc.Core.Test (2)
Infrastructure\ValidationProblemDetailsJsonConverterTest.cs (2)
26
var reader = new
Utf8JsonReader
(Encoding.UTF8.GetBytes(json));
68
var reader = new
Utf8JsonReader
(Encoding.UTF8.GetBytes(json));
Microsoft.JSInterop (2)
Infrastructure\DotNetDispatcher.cs (2)
229
var reader = new
Utf8JsonReader
(buffer.AsSpan(0, count));
315
var reader = new
Utf8JsonReader
(utf8JsonBytes);
Microsoft.JSInterop.Tests (8)
JSRuntimeTest.cs (8)
59
var reader = new
Utf8JsonReader
(Encoding.UTF8.GetBytes("null"));
115
var reader = new
Utf8JsonReader
(bytes);
137
var reader = new
Utf8JsonReader
(bytes);
161
var reader = new
Utf8JsonReader
(bytes);
190
var reader = new
Utf8JsonReader
(bytes);
218
var reader = new
Utf8JsonReader
(bytes);
245
var firstReader = new
Utf8JsonReader
(Encoding.UTF8.GetBytes("\"Some data\""));
246
var secondReader = new
Utf8JsonReader
(Encoding.UTF8.GetBytes("\"Exception\""));
System.Text.Json (4)
System\Text\Json\Nodes\JsonValue.cs (1)
146
Utf8JsonReader reader =
new
(output.WrittenMemory.Span);
System\Text\Json\Nodes\JsonValueOfTCustomized.cs (1)
57
Utf8JsonReader reader =
new
(output.WrittenMemory.Span);
System\Text\Json\Serialization\JsonSerializer.Read.Utf8JsonReader.cs (1)
472
: new
Utf8JsonReader
(valueSpan, reader.CurrentState.Options);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Raw.cs (1)
257
Utf8JsonReader reader =
new
(utf8Json);