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

[C# 14-Fundamentals and reference]: New Feature - nameof supports unbound generic types #44182

Open
BillWagner opened this issue Jan 8, 2025 · 0 comments
Assignees
Labels

Comments

@BillWagner
Copy link
Member

Visual Studio release

17.13.p3

Link to speclet

Link to Pull request

New behavior

This was actually merged in VS17.3.p2.

Unbound generic types, such as List<> can be used in nameof expressions. The nameof(List<>) expression evaluates to List.

Language reference tasks

  • Update the nameof page.

Note that the merge PR didn't add any new error codes. There's no corresponding issue for updating compiler errors and messages.

Everyday C# tasks

No response

@BillWagner BillWagner self-assigned this Jan 8, 2025
@dotnetrepoman dotnetrepoman bot added the 🗺️ mapQUEST Only used as a way to mark an issue as updated for quest. RepoMan should instantly remove it. label Jan 8, 2025
@dotnet-policy-service dotnet-policy-service bot added ⌚ Not Triaged Not triaged and removed 🗺️ mapQUEST Only used as a way to mark an issue as updated for quest. RepoMan should instantly remove it. labels Jan 8, 2025
@BillWagner BillWagner removed the ⌚ Not Triaged Not triaged label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

1 participant