Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no type detail is shown when return type is generic #36

Open
barry-jones opened this issue Jan 18, 2019 · 1 comment
Open

no type detail is shown when return type is generic #36

barry-jones opened this issue Jan 18, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@barry-jones
Copy link
Owner

barry-jones commented Jan 18, 2019

When a return type is a generic type e.g. List the return type shows simply as List<>.

Perhaps the following would be better:

public List<ContentEntry> GetParents();

Would show in the documentation as:

Returns
ContentEntry - Details of return value

@barry-jones
Copy link
Owner Author

It is also incorrect then the generic type is defined in the library.

class Issue36_GenericReturnTypes<T>
{
	public Issue36_GenericReturnTypes<string> ReturnInLibraryGenericType() => null;
}

Produces the display name Issue36_GenericReturnTypes<T>. The syntax for the method is displayed correctly.

@barry-jones barry-jones added the bug Something isn't working label Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant