When building the docs, dmd automatically highlights the names of function parameters, if not prefixed with an underscore. This is not currently done for class names, when referencing the enclosing class in the documentation of a member function.
See also https://dlang.org/phobos/std_file.html#.DirEntry for example, where this would solve an inconsistency.
Comment #1 by robert.schadek — 2024-12-13T18:53:39Z