You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
Warpten commentedon Apr 21, 2019
structshaveStructLayoutAttributewhich can definitely help. Should we enforce that attribute? What about reference types?