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

Properly display unmanaged generic constraint #162

Open
Rekkonnect opened this issue Jan 16, 2022 · 1 comment
Open

Properly display unmanaged generic constraint #162

Rekkonnect opened this issue Jan 16, 2022 · 1 comment

Comments

@Rekkonnect
Copy link

Currently, in the documentation tab, the unmanaged constraint is shown as:

void UnmanagedMethod<T>()
    where T : ValueType modreq(System.Runtime.InteropServices.UnmanagedType)

Whereas in the code tab, it's also shown as:

void UnmanagedMethod<[System.Runtime.CompilerServices.IsUnmanaged] T>()
@siegfriedpammer
Copy link

FuGet should update to the latest version of ICSharpCode.Decompiler to fix this issue. Currently it is using version 3.2, the latest version is 7.2. If there are any questions on how to update/migrate to the latest version, feel free to ask.

The correct display would be:

void UnmanagedMethod<T>()
    where T : unmanaged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants