[IronPython] Attempt to update field 'Z' on value type 'Vector3'; value type fields cannot be directly modified

Sanghyeon Seo sanxiyn at gmail.com
Sun May 7 18:48:01 CEST 2006

2006/5/8, Jonathan Jacobs <korpse-ironpython at kaydash.za.net>:
> I realise the error seems logical enough, but it isn't right. The
> documentation for Vector3 specifies that the fields X, Y and Z are all
> read/write and indeed C# code has no boggle doing just that.
> Vector3.GetType().IsValueType is true; I guess relying on IsValueType isn't
> enough.

Have you read this?

Seo Sanghyeon

More information about the Ironpython-users mailing list