Warpten / DBClientFiles.NET

The new version of DBFilesClient.NET.
GNU General Public License v3.0
11 stars 5 forks source link

property order #5

Open Warpten opened 6 years ago

Warpten commented 6 years ago

Type.GetProperties and associates return an array of PropertyInfo in no particular order. They coincidentally match order in declaration but that might change, as theres, per MSDN:

The GetProperties method does not return properties in a particular order, such as alphabetical or declaration order.

might be a problem in the future

Warpten commented 5 years ago

structs have StructLayoutAttribute which can definitely help. Should we enforce that attribute? What about reference types?