error CS8802: Only one compilation unit can have top-level statements. #38811
Labels
csharp-diagnostics/tech
doc-enhancement
Improve the current content [org][type][category]
dotnet-csharp/prod
dotnet-csharp/svc
errors-warnings/subsvc
in-pr
This issue will be closed (fixed) by an active pull request.
Pri1
High priority, do before Pri2 and Pri3
Type of issue
Missing information
Description
[Enter feedback here]
"error CS8802: Only one compilation unit can have top-level statements." is displaying in my device please fix it
Page URL
https://learn.microsoft.com/en-us/dotnet/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error?f1url=%3FappId%3Droslyn%26k%3Dk(CS8802)
Content source URL
https://github.com/dotnet/docs/blob/main/docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md
Document Version Independent Id
58a19505-ac46-c5c8-12cc-fe87b6aa18a7
Article author
@BillWagner
Metadata
The text was updated successfully, but these errors were encountered: