Uranuz:

Same situation happens when I assign reference data to properties.

Someone has suggested to solve this problem with an attribute, like "owned", that forbids to return mutable reference data owned by a class/struct instance.

Bye,
bearophuile

Reply via email to