Note: This call path originates from OnAutoInsert where C# is instructing us to indent the curly braces differently. We then apply on-type-formatting mechanics ontop of the typed content in order to format it. However, in this case we format it incorrectly.
Starting text:
public RenderFragment RenderFoo()
{
return (__builder) =>
{
@if (true){}
};
}

Note: This call path originates from OnAutoInsert where C# is instructing us to indent the curly braces differently. We then apply on-type-formatting mechanics ontop of the typed content in order to format it. However, in this case we format it incorrectly.
Starting text: