Skip to content

Clarify top-level access modifiers #41871

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

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Clarify top-level access modifiers #41871

merged 1 commit into from
Jul 25, 2024

Conversation

BillWagner
Copy link
Member

@BillWagner BillWagner commented Jul 23, 2024

Fixes #41870.

One statement on file access stated correctly that file access is only allowed on top-level types. Another statement didn't include that note.


Internal previews

📄 File 🔗 Preview link
docs/csharp/programming-guide/classes-and-structs/access-modifiers.md Access Modifiers (C# Programming Guide)

Fixes #41870.

One statement on `file` access stated correctly that `file` access is only allowed on top-level types. Another statement didn't include that note.
@BillWagner
Copy link
Member Author

ping @adegeo for review

@BillWagner BillWagner enabled auto-merge (squash) July 23, 2024 13:31
@BillWagner BillWagner merged commit 912ae46 into main Jul 25, 2024
12 checks passed
@BillWagner BillWagner deleted the BillWagner-patch-1 branch July 25, 2024 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Access modifiers for top-level types documentation
3 participants