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