Bug - Reformat Code - reorder type members breaks structures
If you use Reformat Code with Reorder Type members, it reorders structs too. R# should not reorder members of a class or struct with a StructLayout attribute.
In my case, I use both classes and structs but they all have StructLayout attributes (certain P/Invoke calls are easier with classes instead of structs). Those types members are sensitive and must be skipped.
--Oren
Please sign in to leave a comment.
This problem is fixed in 4.0
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Oren Novotny" <no_reply@jetbrains.com> wrote in message
news:23622838.1199586933405.JavaMail.itn@is.intellij.net...
>
>