neuecc/MarkdownGenerator

Generic method comment is ignored

KonH opened this issue · 0 comments

KonH commented

I have found a bug about comments on generic methods.

Steps to reproduce:

Generate docs from code like this:

public class ExampleClass {
	/// <summary>
	/// Simple method summary
	/// </summary>
	public void SimpleMethod() {
		// ...
	}
	/// <summary>
	/// Generic method summary
	/// </summary>
	public void GenericMethod<T>() {
		// ...
	}
}	

Actual result:

Methods

Type Name Summary
void GenericMethod()
void SimpleMethod() Simple method summary

Expected result:

Methods

Type Name Summary
void GenericMethod() Generic method summary
void SimpleMethod() Simple method summary