Docs: Add contextual 'unmanaged' keyword

Created on 26 Oct 2018  Â·  5Comments  Â·  Source: dotnet/docs

The unmanaged keyword (constraint) is not on the keywords list.

Example:

class ConcreteClass<T> where T : unmanaged
{

}

Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Area - C# Guide Technology - C# Language Reference P1

Most helpful comment

Hey, I'd like to fix this issue in the docs.

All 5 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

garfbradaz picture garfbradaz  Â·  3Comments

JagathPrasad picture JagathPrasad  Â·  3Comments

Manoj-Prabhakaran picture Manoj-Prabhakaran  Â·  3Comments

ite-klass picture ite-klass  Â·  3Comments

skylerberg picture skylerberg  Â·  3Comments