Open
Description
The error code SA1137: Elements should have the same indentation
is not raised in C# 12 collection expressions.
Example:
SA1137 is correctly raised inside an object initialization (example1), but it is missing in collection expressions (example2)
Example code
private readonly List<string> example1 = new()
{
"a",
"b",
"c",
};
private readonly List<string> example2 =
[
"a",
"b",
"c",
];