Skip to content

Conversation

@BartoszKlonowski
Copy link
Contributor

@BartoszKlonowski BartoszKlonowski commented Nov 23, 2024

This pull request closes #38811

It introduces the page describing CS8802 error along with a simple example and explanation.


Internal previews

📄 File 🔗 Preview link
docs/csharp/language-reference/compiler-messages/cs8802.md Compiler Error CS8802
docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md Sorry, we don't have specifics on this C# error

@BartoszKlonowski BartoszKlonowski requested review from a team and BillWagner as code owners November 23, 2024 15:36
@dotnetrepoman dotnetrepoman bot added this to the November 2024 milestone Nov 23, 2024
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates PR is created by someone from the .NET community. label Nov 23, 2024
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 again @BartoszKlonowski

In addition to the changes noted in this file, can you remove CS8802 from the "sorry we don't have information on this error" file here: https://github.com/dotnet/docs/blob/main/docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md?plain=1#L428

@BartoszKlonowski
Copy link
Contributor Author

Ah, indeed, sorry @BillWagner, I just keep on forgetting to remove those :(

BartoszKlonowski and others added 3 commits November 25, 2024 20:50
A solution can, for example, contain multiple console applications.

Co-authored-by: Bill Wagner <[email protected]>
@BillWagner
Copy link
Member

Thanks again @BartoszKlonowski

I've approved the changes, and I'll :shipit: as soon as the build finishes.

@BillWagner BillWagner enabled auto-merge (squash) November 26, 2024 14:02
@BillWagner BillWagner merged commit 6b12a9b into dotnet:main Nov 26, 2024
8 checks passed
BillWagner added a commit to BillWagner/docs that referenced this pull request Dec 2, 2024
BillWagner added a commit that referenced this pull request Dec 2, 2024
* Add CS8002.md to the language reference TOC.

This was missed in #43728

Noticed in #43805

* add date metadata to C# 13 proposals
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Indicates PR is created by someone from the .NET community. dotnet-csharp/svc lang-reference/subsvc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

error CS8802: Only one compilation unit can have top-level statements.

3 participants