Relative Content

Tag Archive for c#roslyn.net-standard-2.0codefixprovider

Roslyn ParameterListSyntax puts comma in wrong spot

In my CodeFixProvider I’m adding a new parameter to a constructor, but the formatting isn’t working. When the person has each parameter on a line of its own, the new parameter is added but at the start of the line with the comma on the new line. So instead of getting this: