CppSharp
CppSharp copied to clipboard
Consider leaving getters returning objects by value as methods
trafficstars
When a method which can be converted to a getter (of a property) returns an object by value, syntax such as:
obj.Property.Subproperty = value;
doesn't work because the modification is only applied to a hidden copy. So maybe these methods shouldn't map to properties in order to give users the correct expectations.