3 writes to CanDeserialize
System.Text.Json (3)
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (3)
426
CanDeserialize
= false;
530
CanDeserialize
= HasSetter;
547
CanDeserialize
= false;
10 references to CanDeserialize
System.Text.Json (10)
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (3)
343
if (jsonPropertyInfo.
CanDeserialize
)
502
if (!jsonPropertyInfo.
CanDeserialize
)
538
Debug.Assert(jsonPropertyInfo.
CanDeserialize
);
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (4)
392
Debug.Assert(!info.
CanDeserialize
);
451
if (!
CanDeserialize
&&
538
CanDeserializeOrPopulate =
CanDeserialize
|| EffectiveObjectCreationHandling == JsonObjectCreationHandling.Populate;
560
CanDeserializeOrPopulate =
CanDeserialize
|| EffectiveObjectCreationHandling == JsonObjectCreationHandling.Populate;
System\Text\Json\Serialization\Metadata\JsonPropertyInfoOfT.cs (3)
283
if (default(T) is not null || !
CanDeserialize
)
287
Debug.Assert(
CanDeserialize
|| EffectiveObjectCreationHandling == JsonObjectCreationHandling.Populate);
346
if (
CanDeserialize
)