1 write to Converter
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
46
Converter
= converter;
36 references to Converter
Microsoft.AspNetCore.OpenApi (2)
Schemas\OpenApiJsonSchema.Helpers.cs (2)
222
var valueConverter = (JsonConverter<OpenApiJsonSchema>)options.GetTypeInfo(typeof(OpenApiJsonSchema)).
Converter
;
288
var additionalPropsConverter = (JsonConverter<OpenApiJsonSchema>)options.GetTypeInfo(typeof(OpenApiJsonSchema)).
Converter
;
Shared (1)
JsonSchemaExporter\JsonSchemaExporter.cs (1)
116
JsonConverter effectiveConverter = customConverter ?? typeInfo.
Converter
;
System.Text.Json (33)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
89
JsonConverter effectiveConverter = customConverter ?? typeInfo.
Converter
;
System\Text\Json\Serialization\JsonConverter.MetadataHandling.cs (2)
89
polymorphicConverter = jsonTypeInfo.
Converter
;
94
Debug.Assert(jsonTypeInfo.
Converter
.CanHaveMetadata);
System\Text\Json\Serialization\JsonConverterOfT.cs (1)
378
Debug.Assert(jsonTypeInfo.
Converter
.Type == Type);
System\Text\Json\Serialization\JsonSerializerOptions.Converters.cs (1)
67
return jsonTypeInfo.
Converter
;
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (6)
85
typeInfo.ConstructorAttributeProvider = typeInfo.
Converter
.ConstructorInfo;
103
typeInfo.
Converter
.ConstructorInfo?.HasSetsRequiredMembersAttribute() ?? false;
288
Debug.Assert(typeInfo.
Converter
.ConstructorInfo != null);
289
ParameterInfo[] parameters = typeInfo.
Converter
.ConstructorInfo.GetParameters();
300
Debug.Assert(typeInfo.
Converter
.ConstructorInfo.DeclaringType != null);
301
ThrowHelper.ThrowNotSupportedException_ConstructorContainsNullParameterNames(typeInfo.
Converter
.ConstructorInfo.DeclaringType);
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Converters.cs (1)
307
JsonConverter<T> underlyingConverter = GetTypedConverter<T>(underlyingTypeInfo.
Converter
);
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Helpers.cs (1)
139
Debug.Assert(typeInfo.
Converter
.ElementType is null);
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (6)
191
if (
Converter
.IsConvertibleCollection)
368
internal bool IsNullable =>
Converter
.NullableElementConverter is not null;
751
PolymorphicTypeResolver = new PolymorphicTypeResolver(Options, PolymorphismOptions, Type,
Converter
.CanHaveMetadata);
886
=>
Converter
.ConstructorIsParameterized && CreateObject is null;
897
/// <see cref="
Converter
"/> property which will be resolved either from
928
/// <see cref="
Converter
"/> property which will be resolved either from
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.cs (1)
71
if (!
Converter
.SupportsCreateObjectDelegate)
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.WriteHelpers.cs (6)
34
Debug.Assert(
Converter
is JsonMetadataServicesConverter<T>);
43
Converter
.CanBePolymorphic &&
100
Debug.Assert(
Converter
is JsonMetadataServicesConverter<T>);
138
Converter
.CanBePolymorphic &&
263
Debug.Assert(
Converter
is JsonMetadataServicesConverter<T>);
285
Converter
.CanBePolymorphic &&
System\Text\Json\Serialization\ReadStack.cs (3)
223
return derivedJsonTypeInfo.
Converter
;
238
return Current.JsonTypeInfo.
Converter
;
399
private string DebuggerDisplay => $"Path = {JsonPath()}, Current = ConverterStrategy.{Current.JsonTypeInfo?.
Converter
.ConverterStrategy}, {Current.JsonTypeInfo?.Type.Name}";
System\Text\Json\Serialization\ReadStackFrame.cs (1)
166
private string DebuggerDisplay => $"ConverterStrategy.{JsonTypeInfo?.
Converter
.ConverterStrategy}, {JsonTypeInfo?.Type.Name}";
System\Text\Json\Serialization\WriteStackFrame.cs (3)
146
return derivedJsonTypeInfo.
Converter
;
157
return PolymorphicTypeInfo.
Converter
;
169
private readonly string DebuggerDisplay => $"ConverterStrategy.{JsonTypeInfo?.
Converter
.ConverterStrategy}, {JsonTypeInfo?.Type.Name}";