Skip to content

Update CS0060 documentation #46917

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 2 commits into from
Jun 23, 2025
Merged

Update CS0060 documentation #46917

merged 2 commits into from
Jun 23, 2025

Conversation

drewnoakes
Copy link
Member

@drewnoakes drewnoakes commented Jun 23, 2025

Improve the documentation for CS0060 to be clearer about the cause of the issue, and how it can be resolved. Also explain that types may be made less accessible while subtyping, as the previous doc suggested they had to be the same ("consistent").


Internal previews

📄 File 🔗 Preview link
docs/csharp/misc/cs0060.md Compiler Error CS0060

Improve the documentation for CS0060 to be clearer about the cause of the issue, and how it can be resolved. Also explain that types may be made less accessible while subtyping, as the previous doc suggested they had to be the same ("consistent").
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @drewnoakes (and @gewarren)

After I accept the suggestions, I'll :shipit:

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@BillWagner BillWagner enabled auto-merge (squash) June 23, 2025 15:05
@BillWagner BillWagner merged commit 208c82a into main Jun 23, 2025
10 checks passed
@BillWagner BillWagner deleted the drewnoakes-CS0060 branch June 23, 2025 15:10
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.

3 participants