8 overrides of OnTryWrite
System.Text.Json (8)
System\Text\Json\Serialization\Converters\CastingConverter.cs (1)
57
internal override bool
OnTryWrite
(Utf8JsonWriter writer, T value, JsonSerializerOptions options, ref WriteStack state)
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (1)
291
internal override bool
OnTryWrite
(
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (1)
334
internal sealed override bool
OnTryWrite
(
System\Text\Json\Serialization\Converters\FSharp\FSharpOptionConverter.cs (1)
53
internal override bool
OnTryWrite
(Utf8JsonWriter writer, TOption value, JsonSerializerOptions options, ref WriteStack state)
System\Text\Json\Serialization\Converters\FSharp\FSharpValueOptionConverter.cs (1)
53
internal override bool
OnTryWrite
(Utf8JsonWriter writer, TValueOption value, JsonSerializerOptions options, ref WriteStack state)
System\Text\Json\Serialization\Converters\JsonMetadataServicesConverter.cs (1)
51
internal override bool
OnTryWrite
(Utf8JsonWriter writer, T value, JsonSerializerOptions options, ref WriteStack state)
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (1)
316
internal sealed override bool
OnTryWrite
(
System\Text\Json\Serialization\Converters\Value\NullableConverter.cs (1)
50
internal override bool
OnTryWrite
(Utf8JsonWriter writer, T? value, JsonSerializerOptions options, ref WriteStack state)
3 references to OnTryWrite
System.Text.Json (3)
System\Text\Json\Serialization\Converters\JsonMetadataServicesConverter.cs (1)
65
return Converter.
OnTryWrite
(writer, value, options, ref state);
System\Text\Json\Serialization\JsonConverterOfT.cs (2)
87
return
OnTryWrite
(writer, valueOfT, options, ref state);
425
success =
OnTryWrite
(writer, value, options, ref state);