3 writes to CanSerialize
System.Text.Json (3)
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (3)
425CanSerialize = false; 529CanSerialize = HasGetter; 556CanSerialize = false;
5 references to CanSerialize
System.Text.Json (5)
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (4)
340if (jsonPropertyInfo.CanSerialize) 356if (extensionDataProperty?.CanSerialize == true) 390if (jsonPropertyInfo.CanSerialize) 419if (extensionDataProperty?.CanSerialize == true)
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
391Debug.Assert(!info.CanSerialize);