See https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/extension-methods
Unfortunately the tooling is a bit behind, in particular docfx does not support the extension block syntax yet.
See also #4220.
Once both are fixed, we should switch to the extension block syntax. See the #4221 draft PR.