The unmanaged keyword (constraint) is not on the keywords list.
Example:
class ConcreteClass<T> where T : unmanaged
{
}
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Hey, I'd like to fix this issue in the docs.
Ok, I'm beginning work on the PR.
I'm going to close this as its covered in the page on generic constraints.
@BillWagner WAIT WHAT! The problem is not that there is no content for it somewhere in the docs. The problem is that "unmanaged" IS a contexual keyword and it IS NOT in the contextual keywords list (read issue's title).
Actually you could simply add the keyword in the list in some couple of days, but you decided to close it after one year...
Fair point @0xaryan
I did misread the description going through this. Reopening
Most helpful comment
Hey, I'd like to fix this issue in the docs.