120 overrides of Write
ConfigurationSchemaGenerator (1)
ConfigSchemaEmitter.cs (1)
740public override void Write(Utf8JsonWriter writer, JsonNode? value, JsonSerializerOptions options)
Microsoft.AspNetCore.Components.Server (1)
src\Components\Shared\src\ElementReferenceJsonConverter.cs (1)
51public override void Write(Utf8JsonWriter writer, ElementReference value, JsonSerializerOptions options)
Microsoft.AspNetCore.Components.WebAssembly (1)
src\Components\Shared\src\ElementReferenceJsonConverter.cs (1)
51public override void Write(Utf8JsonWriter writer, ElementReference value, JsonSerializerOptions options)
Microsoft.AspNetCore.Components.WebView (2)
src\Components\Shared\src\ElementReferenceJsonConverter.cs (1)
51public override void Write(Utf8JsonWriter writer, ElementReference value, JsonSerializerOptions options)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
433public override void Write(Utf8JsonWriter writer, Dictionary<string, StaticWebAssetNode> value, JsonSerializerOptions options)
Microsoft.AspNetCore.Grpc.JsonTranscoding (14)
Internal\Json\AnyConverter.cs (1)
64public override void Write(Utf8JsonWriter writer, TMessage value, JsonSerializerOptions options)
Internal\Json\BoolConverter.cs (1)
17public override void Write(Utf8JsonWriter writer, bool value, JsonSerializerOptions options)
Internal\Json\ByteStringConverter.cs (1)
19public override void Write(Utf8JsonWriter writer, ByteString value, JsonSerializerOptions options)
Internal\Json\DurationConverter.cs (1)
41public override void Write(Utf8JsonWriter writer, TMessage value, JsonSerializerOptions options)
Internal\Json\EnumConverter.cs (1)
47public override void Write(Utf8JsonWriter writer, TEnum value, JsonSerializerOptions options)
Internal\Json\FieldMaskConverter.cs (1)
40public override void Write(Utf8JsonWriter writer, TMessage value, JsonSerializerOptions options)
Internal\Json\Int64Converter.cs (1)
26public override void Write(Utf8JsonWriter writer, long value, JsonSerializerOptions options)
Internal\Json\ListValueConverter.cs (1)
26public override void Write(Utf8JsonWriter writer, TMessage value, JsonSerializerOptions options)
Internal\Json\NullValueConverter.cs (1)
37public override void Write(Utf8JsonWriter writer, NullValue value, JsonSerializerOptions options)
Internal\Json\StructConverter.cs (1)
26public override void Write(Utf8JsonWriter writer, TMessage value, JsonSerializerOptions options)
Internal\Json\TimestampConverter.cs (1)
40public override void Write(Utf8JsonWriter writer, TMessage value, JsonSerializerOptions options)
Internal\Json\UInt64Converter.cs (1)
27public override void Write(Utf8JsonWriter writer, ulong value, JsonSerializerOptions options)
Internal\Json\ValueConverter.cs (1)
63public override void Write(Utf8JsonWriter writer, TMessage value, JsonSerializerOptions options)
Internal\Json\WrapperConverter.cs (1)
27public override void Write(Utf8JsonWriter writer, TMessage value, JsonSerializerOptions options)
Microsoft.AspNetCore.Hosting (1)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
433public override void Write(Utf8JsonWriter writer, Dictionary<string, StaticWebAssetNode> value, JsonSerializerOptions options)
Microsoft.AspNetCore.Http.Extensions.Tests (2)
HttpResponseJsonExtensionsTests.cs (1)
84public override void Write(Utf8JsonWriter writer, int value, JsonSerializerOptions options)
RequestDelegateGenerator\SharedTypes.cs (1)
1017public override void Write(Utf8JsonWriter writer, ITodo value, JsonSerializerOptions options)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\SharedTypes.cs (1)
1017public override void Write(Utf8JsonWriter writer, ITodo value, JsonSerializerOptions options)
Microsoft.AspNetCore.Mvc.Core.Test (4)
Formatters\SystemTextJsonInputFormatterTest.cs (2)
228public override void Write(Utf8JsonWriter writer, short value, JsonSerializerOptions options) 241public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options)
Formatters\SystemTextJsonOutputFormatterTest.cs (1)
329public override void Write(Utf8JsonWriter writer, ThrowingFormatterModel value, JsonSerializerOptions options)
Infrastructure\SystemTextJsonResultExecutorTest.cs (1)
54public override void Write(Utf8JsonWriter writer, ThrowingFormatterModel value, JsonSerializerOptions options)
Microsoft.AspNetCore.OpenApi (1)
Schemas\OpenApiJsonSchema.cs (1)
48public override void Write(Utf8JsonWriter writer, OpenApiJsonSchema value, JsonSerializerOptions options)
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiSchemaService\OpenApiSchemaService.ParameterSchemas.cs (1)
572public override void Write(Utf8JsonWriter writer, CustomType value, JsonSerializerOptions options)
Microsoft.CodeAnalysis.LanguageServer.Protocol (17)
Protocol\Converters\DocumentUriConverter.cs (1)
19public override void Write(Utf8JsonWriter writer, Uri value, JsonSerializerOptions options)
Protocol\Converters\FormattingOptionsConverter.cs (1)
115public override void Write(Utf8JsonWriter writer, FormattingOptions value, JsonSerializerOptions options)
Protocol\Converters\InitializeParamsWorkspaceFoldersConverter.cs (1)
34public override void Write(Utf8JsonWriter writer, WorkspaceFolder[]? value, JsonSerializerOptions options)
Protocol\Converters\NaturalObjectConverter.cs (1)
18public override void Write(Utf8JsonWriter writer, object value, JsonSerializerOptions options)
Protocol\Converters\ParameterInformationConverter.cs (1)
43public override void Write(Utf8JsonWriter writer, ParameterInformation value, JsonSerializerOptions options)
Protocol\Converters\StringEnumConverter.cs (1)
52public override void Write(Utf8JsonWriter writer, TStringEnumType value, JsonSerializerOptions options)
Protocol\Converters\SumConverter.cs (1)
257public override void Write(Utf8JsonWriter writer, T value, JsonSerializerOptions options)
Protocol\Converters\TextDocumentSyncConverter.cs (1)
45public override void Write(Utf8JsonWriter writer, TextDocumentSyncOptions value, JsonSerializerOptions options)
Protocol\Extensions\Converters\VSExtensionConverter.cs (1)
28public override void Write(Utf8JsonWriter writer, TBase value, JsonSerializerOptions options)
Protocol\Internal\Converters\ClassifiedTextElementConverter.cs (1)
57public override void Write(Utf8JsonWriter writer, ClassifiedTextElement value, JsonSerializerOptions options)
Protocol\Internal\Converters\ClassifiedTextRunConverter.cs (1)
37public override void Write(Utf8JsonWriter writer, ClassifiedTextRun value, JsonSerializerOptions options)
Protocol\Internal\Converters\ContainerElementConverter.cs (1)
67public override void Write(Utf8JsonWriter writer, ContainerElement value, JsonSerializerOptions options)
Protocol\Internal\Converters\ImageElementConverter.cs (1)
58public override void Write(Utf8JsonWriter writer, ImageElement value, JsonSerializerOptions options)
Protocol\Internal\Converters\ImageIdConverter.cs (1)
36public override void Write(Utf8JsonWriter writer, ImageId value, JsonSerializerOptions options)
Protocol\Internal\Converters\ObjectContentConverter.cs (1)
83public override void Write(Utf8JsonWriter writer, object? value, JsonSerializerOptions options)
Protocol\Internal\Converters\RegexConverter.cs (1)
23public override void Write(Utf8JsonWriter writer, Regex value, JsonSerializerOptions options)
Protocol\Internal\Efficiency\OptimizedVSCompletionListJsonConverter.cs (1)
21public override void Write(Utf8JsonWriter writer, OptimizedVSCompletionList value, JsonSerializerOptions options)
Microsoft.Extensions.AI.Abstractions (2)
ChatCompletion\ChatFinishReason.cs (1)
89public override void Write(Utf8JsonWriter writer, ChatFinishReason value, JsonSerializerOptions options) =>
ChatCompletion\ChatRole.cs (1)
97public override void Write(Utf8JsonWriter writer, ChatRole value, JsonSerializerOptions options) =>
Microsoft.Extensions.AI.Abstractions.Tests (3)
test\Shared\JsonSchemaExporter\TestTypes.cs (3)
955public override void Write(Utf8JsonWriter writer, PocoWithCustomConverter value, JsonSerializerOptions options) => 970public override void Write(Utf8JsonWriter writer, int value, JsonSerializerOptions options) 1185public override void Write(Utf8JsonWriter writer, T value, JsonSerializerOptions options)
Microsoft.JSInterop (5)
Infrastructure\ByteArrayJsonConverter.cs (1)
77public override void Write(Utf8JsonWriter writer, byte[] value, JsonSerializerOptions options)
Infrastructure\DotNetObjectReferenceJsonConverter.cs (1)
55public override void Write(Utf8JsonWriter writer, DotNetObjectReference<TValue> value, JsonSerializerOptions options)
Infrastructure\DotNetStreamReferenceJsonConverter.cs (1)
23public override void Write(Utf8JsonWriter writer, DotNetStreamReference value, JsonSerializerOptions options)
Infrastructure\JSObjectReferenceJsonConverter.cs (1)
28public override void Write(Utf8JsonWriter writer, IJSObjectReference value, JsonSerializerOptions options)
Infrastructure\JSStreamReferenceJsonConverter.cs (1)
67public override void Write(Utf8JsonWriter writer, IJSStreamReference value, JsonSerializerOptions options)
Microsoft.JSInterop.WebAssembly (1)
WebAssemblyJSObjectReferenceJsonConverter.cs (1)
32public override void Write(Utf8JsonWriter writer, IJSObjectReference value, JsonSerializerOptions options)
Microsoft.ML.AutoML (4)
SweepableEstimator\Converter\MultiModelPipelineConverter.cs (1)
24public override void Write(Utf8JsonWriter writer, MultiModelPipeline value, JsonSerializerOptions options)
SweepableEstimator\Converter\SweepableEstimatorConverter.cs (1)
27public override void Write(Utf8JsonWriter writer, SweepableEstimator value, JsonSerializerOptions options)
SweepableEstimator\Converter\SweepableEstimatorPipelineConverter.cs (1)
25public override void Write(Utf8JsonWriter writer, SweepableEstimatorPipeline value, JsonSerializerOptions options)
SweepableEstimator\Converter\SweepablePipelineConverter.cs (1)
25public override void Write(Utf8JsonWriter writer, SweepablePipeline value, JsonSerializerOptions options)
Microsoft.ML.AutoML.Tests (2)
Utils\DoubleToDecimalConverter.cs (1)
18public override void Write(Utf8JsonWriter writer, double value, JsonSerializerOptions options)
Utils\FloatToDecimalConverter.cs (1)
18public override void Write(Utf8JsonWriter writer, float value, JsonSerializerOptions options)
Microsoft.ML.SearchSpace (5)
Converter\ChoiceOptionConverter.cs (1)
35public override void Write(Utf8JsonWriter writer, ChoiceOption value, JsonSerializerOptions options)
Converter\NumericOptionConverter.cs (1)
50public override void Write(Utf8JsonWriter writer, UniformNumericOption value, JsonSerializerOptions options)
Converter\OptionConverter.cs (1)
46public override void Write(Utf8JsonWriter writer, OptionBase value, JsonSerializerOptions options)
Converter\ParameterConverter.cs (1)
54public override void Write(Utf8JsonWriter writer, Parameter value, JsonSerializerOptions options)
Converter\SearchSpaceConverter.cs (1)
23public override void Write(Utf8JsonWriter writer, SearchSpace value, JsonSerializerOptions options)
Microsoft.ML.SearchSpace.Tests (2)
SearchSpaceTest.cs (2)
370public override void Write(Utf8JsonWriter writer, double value, JsonSerializerOptions options) 381public override void Write(Utf8JsonWriter writer, float value, JsonSerializerOptions options)
Microsoft.ML.Tokenizers (3)
Utils\StringSpanOrdinalKey.cs (2)
143public override void Write(Utf8JsonWriter writer, StringSpanOrdinalKey value, JsonSerializerOptions options) => writer.WriteStringValue(value.Data!); 169public override void Write(Utf8JsonWriter writer, Vocabulary value, JsonSerializerOptions options) => throw new NotImplementedException();
Utils\TokenizerExtensions.cs (1)
68public override void Write(Utf8JsonWriter writer, SortedDictionary<int, string> value, JsonSerializerOptions options)
Shared.Tests (3)
JsonSchemaExporter\TestTypes.cs (3)
955public override void Write(Utf8JsonWriter writer, PocoWithCustomConverter value, JsonSerializerOptions options) => 970public override void Write(Utf8JsonWriter writer, int value, JsonSerializerOptions options) 1185public override void Write(Utf8JsonWriter writer, T value, JsonSerializerOptions options)
System.Memory.Data (1)
System\BinaryDataConverter.cs (1)
24public override void Write(Utf8JsonWriter writer, BinaryData value, JsonSerializerOptions options)
System.Text.Json (42)
System\Text\Json\Serialization\Converters\CastingConverter.cs (1)
47public override void Write(Utf8JsonWriter writer, T value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\FSharp\FSharpOptionConverter.cs (1)
70public override void Write(Utf8JsonWriter writer, TOption value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\FSharp\FSharpValueOptionConverter.cs (1)
71public override void Write(Utf8JsonWriter writer, TValueOption value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Node\JsonArrayConverter.cs (1)
12public override void Write(Utf8JsonWriter writer, JsonArray? value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Node\JsonNodeConverter.cs (1)
27public override void Write(Utf8JsonWriter writer, JsonNode? value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Node\JsonObjectConverter.cs (1)
37public override void Write(Utf8JsonWriter writer, JsonObject? value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Node\JsonValueConverter.cs (1)
12public override void Write(Utf8JsonWriter writer, JsonValue? value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Object\ObjectConverter.cs (1)
32public sealed override void Write(Utf8JsonWriter writer, object? value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\BooleanConverter.cs (1)
18public override void Write(Utf8JsonWriter writer, bool value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\ByteArrayConverter.cs (1)
20public override void Write(Utf8JsonWriter writer, byte[]? value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\ByteConverter.cs (1)
22public override void Write(Utf8JsonWriter writer, byte value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\CharConverter.cs (1)
36public override void Write(Utf8JsonWriter writer, char value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\DateOnlyConverter.cs (1)
58public override void Write(Utf8JsonWriter writer, DateOnly value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\DateTimeConverter.cs (1)
16public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\DateTimeOffsetConverter.cs (1)
16public override void Write(Utf8JsonWriter writer, DateTimeOffset value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\DecimalConverter.cs (1)
21public override void Write(Utf8JsonWriter writer, decimal value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\DoubleConverter.cs (1)
22public override void Write(Utf8JsonWriter writer, double value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\EnumConverter.cs (1)
132public override void Write(Utf8JsonWriter writer, T value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\GuidConverter.cs (1)
17public override void Write(Utf8JsonWriter writer, Guid value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\HalfConverter.cs (1)
31public override void Write(Utf8JsonWriter writer, Half value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\Int128Converter.cs (1)
31public override void Write(Utf8JsonWriter writer, Int128 value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\Int16Converter.cs (1)
22public override void Write(Utf8JsonWriter writer, short value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\Int32Converter.cs (1)
22public override void Write(Utf8JsonWriter writer, int value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\Int64Converter.cs (1)
22public override void Write(Utf8JsonWriter writer, long value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\JsonDocumentConverter.cs (1)
18public override void Write(Utf8JsonWriter writer, JsonDocument? value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\JsonElementConverter.cs (1)
16public override void Write(Utf8JsonWriter writer, JsonElement value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\MemoryByteConverter.cs (1)
18public override void Write(Utf8JsonWriter writer, Memory<byte> value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\NullableConverter.cs (1)
73public override void Write(Utf8JsonWriter writer, T? value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\ReadOnlyMemoryByteConverter.cs (1)
18public override void Write(Utf8JsonWriter writer, ReadOnlyMemory<byte> value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\SByteConverter.cs (1)
22public override void Write(Utf8JsonWriter writer, sbyte value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\SingleConverter.cs (1)
23public override void Write(Utf8JsonWriter writer, float value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\StringConverter.cs (1)
17public override void Write(Utf8JsonWriter writer, string? value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\TimeOnlyConverter.cs (1)
79public override void Write(Utf8JsonWriter writer, TimeOnly value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\TimeSpanConverter.cs (1)
77public override void Write(Utf8JsonWriter writer, TimeSpan value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\UInt128Converter.cs (1)
31public override void Write(Utf8JsonWriter writer, UInt128 value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\UInt16Converter.cs (1)
22public override void Write(Utf8JsonWriter writer, ushort value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\UInt32Converter.cs (1)
22public override void Write(Utf8JsonWriter writer, uint value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\UInt64Converter.cs (1)
22public override void Write(Utf8JsonWriter writer, ulong value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\UnsupportedTypeConverter.cs (1)
20public override void Write(Utf8JsonWriter writer, T value, JsonSerializerOptions options) =>
System\Text\Json\Serialization\Converters\Value\UriConverter.cs (1)
17public override void Write(Utf8JsonWriter writer, Uri? value, JsonSerializerOptions options)
System\Text\Json\Serialization\Converters\Value\VersionConverter.cs (1)
81public override void Write(Utf8JsonWriter writer, Version? value, JsonSerializerOptions options)
System\Text\Json\Serialization\JsonResumableConverterOfT.cs (1)
34public sealed override void Write(Utf8JsonWriter writer, T value, JsonSerializerOptions options)
System.Windows.Forms.Tests (1)
System\Windows\Forms\DataObjectTests.cs (1)
2979public override void Write(Utf8JsonWriter writer, WeatherForecast value, JsonSerializerOptions options)
14 references to Write
Microsoft.AspNetCore.Components.Server.Tests (1)
ElementReferenceJsonConverterTest.cs (1)
31Converter.Write(writer, elementReference, new JsonSerializerOptions());
System.Text.Json (13)
System\Text\Json\Nodes\JsonValueOfTPrimitive.cs (1)
58converter.Write(writer, Value, options);
System\Text\Json\Serialization\Converters\Collection\ArrayConverter.cs (1)
44elementConverter.Write(writer, array[index], options);
System\Text\Json\Serialization\Converters\Collection\DictionaryOfTKeyTValueConverter.cs (1)
57_valueConverter.Write(writer, enumerator.Current.Value, options);
System\Text\Json\Serialization\Converters\Collection\IListConverter.cs (1)
52elementConverter.Write(writer, list[index], options);
System\Text\Json\Serialization\Converters\Collection\ListOfTConverter.cs (1)
49elementConverter.Write(writer, list[index], options);
System\Text\Json\Serialization\Converters\Collection\ReadOnlyMemoryConverter.cs (1)
63elementConverter.Write(writer, value[index], options);
System\Text\Json\Serialization\Converters\FSharp\FSharpOptionConverter.cs (1)
79_elementConverter.Write(writer, element, options);
System\Text\Json\Serialization\Converters\FSharp\FSharpValueOptionConverter.cs (1)
81_elementConverter.Write(writer, element, options);
System\Text\Json\Serialization\Converters\Value\NullableConverter.cs (1)
81_elementConverter.Write(writer, value.Value, options);
System\Text\Json\Serialization\JsonConverterOfT.cs (3)
80Write(writer, valueOfT, options); 124Write(writer, value, options); 354Write(writer, value, options);
System\Text\Json\Serialization\Metadata\JsonPropertyInfoOfT.cs (1)
226EffectiveConverter.Write(writer, value, Options);