public class Obj
{
public string this[
[A] int X,
[B, VeryLongAttributeWithSoManyArguments(123, 321)] int Y,
[C, LongAttributeThatIsLong] int Y
] => X + Y + Z;
public string Method(
[A] int X,
[B, VeryLongAttributeWithSoManyArguments(123, 321)] int Y,
[C, LongAttributeThatIsLong] int Y
) => X + Y + Z;
}
Output:
public class Obj
{
public string this[[A] int X, [B, VeryLongAttributeWithSoManyArguments(123, 321)] int Y, [
C,
LongAttributeThatIsLong
]
int Y] => X + Y + Z;
public string Method(
[A] int X,
[B, VeryLongAttributeWithSoManyArguments(123, 321)] int Y,
[C, LongAttributeThatIsLong] int Y
) => X + Y + Z;
}
Expected behavior:
Both indexer and Method being formatted similarly with multiple lines for parameters.
Input:
Output:
Expected behavior: Both indexer and Method being formatted similarly with multiple lines for parameters.