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

[Proposal]: Unbound generic types in nameof #8662

Open
CyrusNajmabadi opened this issue Nov 19, 2024 · 0 comments
Open

[Proposal]: Unbound generic types in nameof #8662

CyrusNajmabadi opened this issue Nov 19, 2024 · 0 comments
Assignees
Milestone

Comments

@CyrusNajmabadi
Copy link
Member

Unbound generic types in nameof

Summary

Allows unbound generic types to be used with nameof, as in nameof(List<>) to obtain the string "List", rather than having to specify an unused generic type argument in order to obtain the same string.

Design meetings

main/meetings/2017/LDM-2017-11-06.md#roslyn-20450
main/meetings/2024/LDM-2024-10-16.md#unbound-generic-types-in-nameof

@CyrusNajmabadi CyrusNajmabadi self-assigned this Nov 19, 2024
@CyrusNajmabadi CyrusNajmabadi added this to the Working Set milestone Nov 19, 2024
@dotnet dotnet locked and limited conversation to collaborators Nov 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant