20 references to TryWrite
System.Text.Json (20)
System\Text\Json\Serialization\Converters\Collection\ArrayConverter.cs (1)
52
if (!elementConverter.
TryWrite
(writer, element, options, ref state))
System\Text\Json\Serialization\Converters\Collection\DictionaryDefaultConverter.cs (1)
62
if (!_valueConverter.
TryWrite
(writer, element, options, ref state))
System\Text\Json\Serialization\Converters\Collection\DictionaryOfTKeyTValueConverter.cs (1)
79
if (!_valueConverter.
TryWrite
(writer, element, options, ref state))
System\Text\Json\Serialization\Converters\Collection\IAsyncEnumerableOfTConverter.cs (1)
116
if (!converter.
TryWrite
(writer, element, options, ref state))
System\Text\Json\Serialization\Converters\Collection\IDictionaryConverter.cs (1)
88
if (!_valueConverter.
TryWrite
(writer, element, options, ref state))
System\Text\Json\Serialization\Converters\Collection\IEnumerableConverter.cs (1)
69
if (!converter.
TryWrite
(writer, element, options, ref state))
System\Text\Json\Serialization\Converters\Collection\IEnumerableDefaultConverter.cs (1)
47
if (!converter.
TryWrite
(writer, element, options, ref state))
System\Text\Json\Serialization\Converters\Collection\IListConverter.cs (1)
60
if (!elementConverter.
TryWrite
(writer, element, options, ref state))
System\Text\Json\Serialization\Converters\Collection\ListOfTConverter.cs (1)
57
if (!elementConverter.
TryWrite
(writer, element, options, ref state))
System\Text\Json\Serialization\Converters\Collection\ReadOnlyMemoryConverter.cs (1)
70
if (!elementConverter.
TryWrite
(writer, value[index], options, ref state))
System\Text\Json\Serialization\Converters\Collection\StackOrQueueConverter.cs (1)
69
if (!converter.
TryWrite
(writer, element, options, ref state))
System\Text\Json\Serialization\Converters\FSharp\FSharpOptionConverter.cs (1)
64
return _elementConverter.
TryWrite
(writer, element, options, ref state);
System\Text\Json\Serialization\Converters\FSharp\FSharpValueOptionConverter.cs (1)
65
return _elementConverter.
TryWrite
(writer, element, options, ref state);
System\Text\Json\Serialization\Converters\Value\NullableConverter.cs (1)
59
return _elementConverter.
TryWrite
(writer, value.Value, options, ref state);
System\Text\Json\Serialization\JsonConverterOfT.cs (3)
113
return
TryWrite
(writer, valueOfT, options, ref state);
451
return
TryWrite
(writer, value, options, ref state);
462
return
TryWrite
(writer, value, options, ref state);
System\Text\Json\Serialization\JsonConverterOfT.WriteCore.cs (1)
16
return
TryWrite
(writer, value, options, ref state);
System\Text\Json\Serialization\JsonResumableConverterOfT.cs (1)
48
TryWrite
(writer, value, options, ref state);
System\Text\Json\Serialization\Metadata\JsonPropertyInfoOfT.cs (1)
247
return EffectiveConverter.
TryWrite
(writer, value, Options, ref state);