barry-jones / live-documenter

.NET documentation generator and live reader. Generate documentation from .NET code and xml comments, fast, quick and easy.
https://livedocumenter.barryjones.me.uk
MIT License
71 stars 4 forks source link

syntax on exported constructors is not formatted correctly #26

Closed barry-jones closed 5 years ago

barry-jones commented 5 years ago

When a constructor has parameters, th C# syntax does not indent the parameters like it does on methods.

public EventDef(
string name,
AssemblyDef definingAssembly,
TypeDef containingType
)

As appose to a method formatting:

public TypeDef FindType(
    string theNamespace,
    string theTypeName
    )