Robert Fraser Wrote: > > struct Foo > { > int x; > } > > void bar(in Foo var) > { > var.x = 10; > } > > Allowed? And also, what if it was a reference type instead of a value type: class Foo { int x; } void bar(Foo var) { var.x = 5; // Is this allowed? }