4 writes to IsInternalConverter
System.Text.Json (4)
System\Text\Json\Serialization\Converters\CastingConverter.cs (1)
31
IsInternalConverter
= sourceConverter.IsInternalConverter;
System\Text\Json\Serialization\Converters\JsonMetadataServicesConverter.cs (1)
38
IsInternalConverter
= converter.IsInternalConverter;
System\Text\Json\Serialization\Converters\Value\NullableConverter.cs (1)
23
IsInternalConverter
= elementConverter.IsInternalConverter;
System\Text\Json\Serialization\JsonConverter.cs (1)
20
IsInternalConverter
= GetType().Assembly == typeof(JsonConverter).Assembly;
15 references to IsInternalConverter
System.Text.Json (15)
System\Text\Json\Nodes\JsonValue.cs (2)
101
if (value is JsonElement element && jsonTypeInfo.EffectiveConverter.
IsInternalConverter
)
170
jsonTypeInfo is { EffectiveConverter.
IsInternalConverter
: true } &&
System\Text\Json\Nodes\JsonValueOfTPrimitive.cs (1)
21
Debug.Assert(converter is {
IsInternalConverter
: true, ConverterStrategy: ConverterStrategy.Value });
System\Text\Json\Serialization\Converters\CastingConverter.cs (1)
31
IsInternalConverter = sourceConverter.
IsInternalConverter
;
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (1)
321
if (keyConverter.
IsInternalConverter
&& keyConverter.Type == typeof(string))
System\Text\Json\Serialization\Converters\JsonMetadataServicesConverter.cs (1)
38
IsInternalConverter = converter.
IsInternalConverter
;
System\Text\Json\Serialization\Converters\Value\NullableConverter.cs (1)
23
IsInternalConverter = elementConverter.
IsInternalConverter
;
System\Text\Json\Serialization\JsonConverter.cs (1)
45
CanUseDirectReadOrWrite = value == ConverterStrategy.Value &&
IsInternalConverter
;
System\Text\Json\Serialization\JsonConverterOfT.cs (5)
208
Debug.Assert(
IsInternalConverter
);
361
Debug.Assert(
IsInternalConverter
);
449
if (!
IsInternalConverter
)
647
Debug.Assert(!
IsInternalConverter
&& Type == typeof(string));
667
if (!
IsInternalConverter
&& options.TypeInfoResolver is not JsonSerializerContext)
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (2)
570
if (declaringTypeNumberHandling != null && declaringTypeNumberHandling != JsonNumberHandling.Strict && !EffectiveConverter.
IsInternalConverter
)
702
if (!EffectiveConverter.
IsInternalConverter
||