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