8 overrides of OnTryWrite
System.Text.Json (8)
System\Text\Json\Serialization\Converters\CastingConverter.cs (1)
54
internal override bool
OnTryWrite
(Utf8JsonWriter writer, T value, JsonSerializerOptions options, ref WriteStack state)
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (1)
281
internal override bool
OnTryWrite
(
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (1)
328
internal sealed override bool
OnTryWrite
(
System\Text\Json\Serialization\Converters\FSharp\FSharpOptionConverter.cs (1)
52
internal override bool
OnTryWrite
(Utf8JsonWriter writer, TOption value, JsonSerializerOptions options, ref WriteStack state)
System\Text\Json\Serialization\Converters\FSharp\FSharpValueOptionConverter.cs (1)
52
internal override bool
OnTryWrite
(Utf8JsonWriter writer, TValueOption value, JsonSerializerOptions options, ref WriteStack state)
System\Text\Json\Serialization\Converters\JsonMetadataServicesConverter.cs (1)
48
internal override bool
OnTryWrite
(Utf8JsonWriter writer, T value, JsonSerializerOptions options, ref WriteStack state)
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (1)
314
internal sealed override bool
OnTryWrite
(
System\Text\Json\Serialization\Converters\Value\NullableConverter.cs (1)
49
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)
62
return Converter.
OnTryWrite
(writer, value, options, ref state);
System\Text\Json\Serialization\JsonConverterOfT.cs (2)
91
return
OnTryWrite
(writer, valueOfT, options, ref state);
429
success =
OnTryWrite
(writer, value, options, ref state);