I am setting up an .editorconfig file to enforce certain conventions and code styles.
I have noticed that C# style rules only seem to apply to *.cs files and not Razor C# code blocks.
Take, as an example, this simple .editorconfig file:
root = true# Default settings[*]csharp_prefer_braces = when_multiline:errorIt works fine in a .cs file:

But it does not work in a @code block of a razor file:

Is this a known limitation? I am using Rider 2025.2.2.