This tutorial needs to be updated for top-level statements
- Dominant language
- No language data
- Stars
- 4.8k
- Forks
- 6.1k
- Avg merge
- 15h 21m
- Merged PRs (30d)
- 370
Description
### Type of issue
Code doesn't work
### Description
The existing instructions won't work, because the default console app template now uses top-level statements. It should be updated to work on an app with top level statements.
### Page URL
https://learn.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/tutorials/how-to-write-csharp-analyzer-code-fix
### Content source URL
https://github.com/dotnet/docs/blob/main/docs/csharp/roslyn-sdk/tutorials/how-to-write-csharp-analyzer-code-fix.md
### Document Version Independent Id
a286e20b-1e43-dc57-e0fb-5a9dee7ec3f6
### Article author
@BillWagner
### Metadata
* ID: 6e3fc905-7aa1-7f5e-9bfe-fbcef461ad5e
* Service: **dotnet-csharp**
* Sub-service: **roslyn-sdk**
Contributor guide
Assessment
This issue has not been assessed yet.