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

[17.4] File Local types #30537

Closed
Tracked by #30071
BillWagner opened this issue Aug 9, 2022 · 1 comment · Fixed by #31283
Closed
Tracked by #30071

[17.4] File Local types #30537

BillWagner opened this issue Aug 9, 2022 · 1 comment · Fixed by #31283
Assignees
Labels
🏁 Release: .NET 7 Work items for the .NET 7 release

Comments

@BillWagner
Copy link
Member

C# 11 will add "file local types".

Permit a file modifier on top-level type declarations. The type only exists in the file where it is declared.

This will require changes in the language reference to add the new access modifier. Look at the fundamentals section to consider if the file access modifier should be added there.

@PRMerger8 PRMerger8 added the Pri3 label Aug 9, 2022
@dotnet-bot dotnet-bot added the ⌚ Not Triaged Not triaged label Aug 9, 2022
@BillWagner BillWagner added Pri1 🏁 Release: .NET 7 Work items for the .NET 7 release and removed ⌚ Not Triaged Not triaged Pri3 labels Aug 10, 2022
@BillWagner BillWagner self-assigned this Aug 10, 2022
@BillWagner BillWagner moved this to 🏗 In progress in dotnet/docs: September Sprint Sep 16, 2022
@BillWagner
Copy link
Member Author

@Youssef1313 Is there an F1 tag for the file keyword?

@ghost ghost added the in-pr This issue will be closed (fixed) by an active pull request. label Sep 19, 2022
@BillWagner BillWagner moved this from Todo to In Progress in dotnet/docs: .NET 7 Release Sep 19, 2022
Repository owner moved this from In Progress to Done in dotnet/docs: .NET 7 Release Sep 19, 2022
@ghost ghost removed the in-pr This issue will be closed (fixed) by an active pull request. label Sep 19, 2022
@BillWagner BillWagner moved this from 🏗 In progress to ✅ Done in dotnet/docs: September Sprint Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏁 Release: .NET 7 Work items for the .NET 7 release
Projects
No open projects
Status: Done
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants