R#6 and Object Initializers
Hello,
I set ReSharper to use BSD style for arrays and object initializers and whenever I use the cleanup feature it just fails to do so and as far as it seems it's using the K&R style instead.
This is what I expect to happen,
psi = new ProcessStartInfo("cmd.exe")
{
RedirectStandardOutput = true,
RedirectStandardError = true,
CreateNoWindow = true,
UseShellExecute = false,
WindowStyle = ProcessWindowStyle.Hidden
};
However, this is what i get.
psi = new ProcessStartInfo("cmd.exe") {
RedirectStandardOutput = true,
RedirectStandardError = true,
CreateNoWindow = true,
UseShellExecute = false,
WindowStyle = ProcessWindowStyle.Hidden
};
Please sign in to leave a comment.