polytronicgr / sharpkit

Automatically exported from code.google.com/p/sharpkit
0 stars 0 forks source link

Structs are passed by reference #369

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Structs are passed by value in .NET, but the corresponding JS translation 
passes them by reference (because there are no structs in JS).

A fix could be cloning the struct when it's passed, but this could be tricky 
and impact performance. Still, it's something to be aware of.

Original issue reported on code.google.com by polofili...@gmail.com on 25 Sep 2014 at 8:40