9 references to Value
System.Text.Json (9)
System\Text\Json\Nodes\JsonValueOfTPrimitive.cs (1)
21Debug.Assert(converter is { IsInternalConverter: true, ConverterStrategy: ConverterStrategy.Value });
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (1)
397Debug.Assert(jsonPropertyInfo.EffectiveConverter.ConverterStrategy != ConverterStrategy.Value);
System\Text\Json\Serialization\JsonConverter.cs (2)
45CanUseDirectReadOrWrite = value == ConverterStrategy.Value && IsInternalConverter; 46RequiresReadAhead = value == ConverterStrategy.Value;
System\Text\Json\Serialization\JsonConverterOfT.cs (4)
53private protected override ConverterStrategy GetDefaultConverterStrategy() => ConverterStrategy.Value; 163if (ConverterStrategy == ConverterStrategy.Value) 342if (ConverterStrategy == ConverterStrategy.Value) 501Debug.Assert(isValueConverter == (ConverterStrategy == ConverterStrategy.Value));
System\Text\Json\Serialization\Metadata\JsonPropertyInfoOfT.cs (1)
185EffectiveConverter.ConverterStrategy != ConverterStrategy.Value &&