Declaring structs as static is currently not supported by AOT. So if you put private static StructName staticstructexample; in your class and you have defined StructName, the result will be a error message from aot telling you that StructName is not supported or StructName is NotImplementedEngine
Modification to the test case of Struct (patch) is attached. Bascailly its just has a The private static Point staticPoint; is commented out in the patch as a reminder as suggested by DarxKies. Hope to see this implemented in the not to distant future. Donno Out.
staticstruct.patch
Description: Binary data
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ SharpOS-Developers mailing list SharpOS-Developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sharpos-developers