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