Skip to content

Descriptions are not shown on-hover for methods containing generic arguments (fix inside) #1

Description

@mylemans

The generated signature of a generic type (as an argument) is incorrect, therefor the on-hover description is not shown.

I'll fix it this evening @ git, but in the meanwhile, here is a quickfix:

In Extensions.cs

Find:
public static string AsSignature(this Type target, bool fullSignature)
{
string signature = target.FullName ?? target.Name;

Add:
if (target.FullName == null && !target.IsGenericParameter) { signature = target.Namespace + "." + signature; }

This should fix this issue. Seems to work just fine for me.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions