1 write to EffectiveConverter
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.cs (1)
22
EffectiveConverter
= converter.CreateCastingConverter<T>();
13 references to EffectiveConverter
System.Text.Json (13)
System\Text\Json\Nodes\JsonValue.cs (3)
101
if (value is JsonElement element && jsonTypeInfo.
EffectiveConverter
.IsInternalConverter)
170
jsonTypeInfo is {
EffectiveConverter
.IsInternalConverter: true } &&
175
return new JsonValuePrimitive<T>(value, jsonTypeInfo.
EffectiveConverter
, options);
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (1)
52
return ((JsonTypeInfo<TElement>)elementTypeInfo).
EffectiveConverter
;
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (1)
69
return ((JsonTypeInfo<T>)typeInfo).
EffectiveConverter
;
System\Text\Json\Serialization\Converters\Collection\RootLevelListConverter.cs (1)
30
JsonConverter<T> elementConverter = _elementTypeInfo.
EffectiveConverter
;
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
894
return ((JsonTypeInfo<TValue>)dictionaryValueInfo).
EffectiveConverter
;
System\Text\Json\Serialization\Metadata\JsonPropertyInfoOfT.cs (1)
154
?? ((JsonTypeInfo<T>)jsonTypeInfo).
EffectiveConverter
; // Fall back to the effective converter for the type.
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.ReadHelper.cs (2)
20
bool success =
EffectiveConverter
.ReadCore(ref reader, out T? result, Options, ref state);
116
bool success =
EffectiveConverter
.ReadCore(ref reader, out value, Options, ref readStack);
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.WriteHelpers.cs (3)
56
bool success =
EffectiveConverter
.WriteCore(writer, rootValue, Options, ref state);
171
isFinalBlock =
EffectiveConverter
.WriteCore(writer, rootValue, Options, ref state);
311
isFinalBlock =
EffectiveConverter
.WriteCore(writer, rootValue, Options, ref state);