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

Closed
BillWagner opened this issue Jan 8, 2025 · 0 comments · Fixed by #44641
Closed
Assignees
Labels
🏁 Release: .NET 10 Work items for the .NET 10 release dotnet-csharp/svc in-pr This issue will be closed (fixed) by an active pull request. 📌 seQUESTered Identifies that an issue has been imported into Quest. resolved-by-customer whats-new/subsvc

Comments

@BillWagner
Copy link
Member

BillWagner commented Jan 8, 2025

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


Associated WorkItem - 370946

@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
@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 31, 2025
@BillWagner BillWagner moved this from 🔖 Ready to 🏗 In progress in dotnet/docs January 2025 sprint project Jan 31, 2025
@dotnet-policy-service dotnet-policy-service bot removed the 🗺️ mapQUEST Only used as a way to mark an issue as updated for quest. RepoMan should instantly remove it. label Jan 31, 2025
BillWagner added a commit to BillWagner/docs that referenced this issue Jan 31, 2025
Fixes dotnet#44182

Add that `nameof` now supports open generic types.

This is the first C# 14 feature I've added, so create the C# 14 file, and update the language version tables accordingly.
@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 31, 2025
@BillWagner BillWagner moved this from 🏗 In progress to 👀 In review in dotnet/docs January 2025 sprint project Jan 31, 2025
@dotnet-policy-service dotnet-policy-service bot removed the 🗺️ mapQUEST Only used as a way to mark an issue as updated for quest. RepoMan should instantly remove it. label Jan 31, 2025
@dotnet-policy-service dotnet-policy-service bot added the in-pr This issue will be closed (fixed) by an active pull request. label Jan 31, 2025
@BillWagner BillWagner moved this from 🔖 Ready to 👀 In review in dotnet/docs February 2025 sprint project Feb 3, 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 Feb 3, 2025
@dotnet-policy-service dotnet-policy-service bot removed the 🗺️ mapQUEST Only used as a way to mark an issue as updated for quest. RepoMan should instantly remove it. label Feb 3, 2025
BillWagner added a commit to BillWagner/docs that referenced this issue Feb 3, 2025
Fixes dotnet#44182

Add that `nameof` now supports open generic types.

This is the first C# 14 feature I've added, so create the C# 14 file, and update the language version tables accordingly.
@BillWagner BillWagner added the 🗺️ reQUEST Triggers an issue to be imported into Quest. label Feb 6, 2025
BillWagner added a commit to BillWagner/docs that referenced this issue Feb 6, 2025
Fixes dotnet#44182

Add that `nameof` now supports open generic types.

This is the first C# 14 feature I've added, so create the C# 14 file, and update the language version tables accordingly.
@sequestor sequestor bot added 📌 seQUESTered Identifies that an issue has been imported into Quest. and removed 🗺️ reQUEST Triggers an issue to be imported into Quest. labels Feb 7, 2025
BillWagner added a commit to BillWagner/docs that referenced this issue Feb 10, 2025
Fixes dotnet#44182

Add that `nameof` now supports open generic types.

This is the first C# 14 feature I've added, so create the C# 14 file, and update the language version tables accordingly.
BillWagner added a commit to BillWagner/docs that referenced this issue Feb 10, 2025
Fixes dotnet#44182

Add that `nameof` now supports open generic types.

This is the first C# 14 feature I've added, so create the C# 14 file, and update the language version tables accordingly.
BillWagner added a commit to BillWagner/docs that referenced this issue Feb 13, 2025
Fixes dotnet#44182

Add that `nameof` now supports open generic types.

This is the first C# 14 feature I've added, so create the C# 14 file, and update the language version tables accordingly.
BillWagner added a commit to BillWagner/docs that referenced this issue Feb 14, 2025
Fixes dotnet#44182

Add that `nameof` now supports open generic types.

This is the first C# 14 feature I've added, so create the C# 14 file, and update the language version tables accordingly.
BillWagner added a commit to BillWagner/docs that referenced this issue Feb 18, 2025
Fixes dotnet#44182

Add that `nameof` now supports open generic types.

This is the first C# 14 feature I've added, so create the C# 14 file, and update the language version tables accordingly.
BillWagner added a commit to BillWagner/docs that referenced this issue Feb 19, 2025
Fixes dotnet#44182

Add that `nameof` now supports open generic types.

This is the first C# 14 feature I've added, so create the C# 14 file, and update the language version tables accordingly.
BillWagner added a commit to BillWagner/docs that referenced this issue Feb 20, 2025
Fixes dotnet#44182

Add that `nameof` now supports open generic types.

This is the first C# 14 feature I've added, so create the C# 14 file, and update the language version tables accordingly.
BillWagner added a commit to BillWagner/docs that referenced this issue Feb 25, 2025
Fixes dotnet#44182

Add that `nameof` now supports open generic types.

This is the first C# 14 feature I've added, so create the C# 14 file, and update the language version tables accordingly.
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in dotnet/docs February 2025 sprint project Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏁 Release: .NET 10 Work items for the .NET 10 release dotnet-csharp/svc in-pr This issue will be closed (fixed) by an active pull request. 📌 seQUESTered Identifies that an issue has been imported into Quest. resolved-by-customer whats-new/subsvc
Projects
No open projects
1 participant