[17.4] File Local types #30537
Labels
🏁 Release: .NET 7
Work items for the .NET 7 release
doc-idea
Indicates issues that are suggestions for new topics [org][type][category]
Pri1
High priority, do before Pri2 and Pri3
resolved-by-customer
Indicates issues where the customer no longer needs any help. [org][resolution]
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.The text was updated successfully, but these errors were encountered: