Using https://www.nuget.org/packages/Microsoft.CodeAnalysis.CSharp.CodeStyle/4.8.0-3.final of the CodeStyle package leads to a bunch of formatting violations for collection literals, which had to be suppressed via pragmas. These seem to be addressed in the 4.9.xxx version of the package, but there is no public 17.9 Preview version of VS that is released yet. Once that is released, we should move to 4.9.0-1.final version of the package and remove the pragmas tagged with this issue URI
The CodeStyle package disables formatting in collection expressions due to #69219 and #70060. This is an unfortunate expansion of #8269 to another feature.
Using https://www.nuget.org/packages/Microsoft.CodeAnalysis.CSharp.CodeStyle/4.8.0-3.final of the CodeStyle package leads to a bunch of formatting violations for collection literals, which had to be suppressed via pragmas. These seem to be addressed in the 4.9.xxx version of the package, but there is no public 17.9 Preview version of VS that is released yet. Once that is released, we should move to 4.9.0-1.final version of the package and remove the pragmas tagged with this issue URI