FuGetGallery
FuGetGallery copied to clipboard
Properly display `unmanaged` generic constraint
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>()
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