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

Champion "Allow System.Delegate as a constraint" (15.7) #103

Open
1 of 5 tasks
gafter opened this issue Feb 14, 2017 · 5 comments
Open
1 of 5 tasks

Champion "Allow System.Delegate as a constraint" (15.7) #103

gafter opened this issue Feb 14, 2017 · 5 comments
Assignees
Labels
Implemented Needs ECMA Spec This feature has been implemented in C#, but still needs to be merged into the ECMA specification Proposal champion
Milestone

Comments

@gafter
Copy link
Member

gafter commented Feb 14, 2017

Allows where T : System.Delegate

  • Proposal added
  • Discussed in LDM
  • Decision in LDM
  • Finalized (done, rejected, inactive)
  • Spec'ed

See also dotnet/roslyn#158 #86

@gafter gafter changed the title Generic constraint "delegate" (or allow System.Delegate as a constraint) Champion Generic constraint "delegate" (or allow System.Delegate as a constraint) Feb 15, 2017
@gafter gafter changed the title Champion Generic constraint "delegate" (or allow System.Delegate as a constraint) Champion "Generic constraint delegate (or allow System.Delegate as a constraint)" Feb 21, 2017
@gafter gafter added this to the X.X candidate milestone Feb 22, 2017
@jnm2
Copy link
Contributor

jnm2 commented Apr 21, 2017

If 7.1 had only one new capability, allowing delegate and enum constraints, I would be ecstatic!

@jjvanzon
Copy link

I have wanted the enum constraint for ages. Should be a different proposal, though.

@jnm2
Copy link
Contributor

jnm2 commented Apr 21, 2017

@janjoostvanzon #104

@jjvanzon
Copy link

@jnm2: Thanks!

@jcouv jcouv modified the milestones: X.X candidate, 7.3 candidate Dec 12, 2017
@jcouv
Copy link
Member

jcouv commented Dec 12, 2017

Moved to 7.3 candidates bucket, as Omar is starting prototyping this proposal.

@jcouv jcouv assigned gafter and unassigned AnthonyDGreen Jan 29, 2018
@jcouv jcouv changed the title Champion "Generic constraint delegate (or allow System.Delegate as a constraint)" Champion "Allow System.Delegate as a constraint" (15.7) Mar 16, 2018
@OmarTawfik OmarTawfik removed their assignment Mar 31, 2018
@333fred 333fred added the Implemented Needs ECMA Spec This feature has been implemented in C#, but still needs to be merged into the ECMA specification label Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Implemented Needs ECMA Spec This feature has been implemented in C#, but still needs to be merged into the ECMA specification Proposal champion
Projects
None yet
Development

No branches or pull requests

7 participants