dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
19.09k stars 4.04k forks source link

Fix `Implement abstract class` generates invalid code when target type has no body and is followed by file-scoped type #75992

Open just-ero opened 1 day ago

just-ero commented 1 day ago

Full issue information + repro project:
https://github.com/just-ero/roslyn-issues-repros/tree/main/4.13.0/000_ImplementAbstractClass_WithoutBodyWithFileScopedTypeBelow

just-ero commented 1 day ago

Let me know if this format of reporting issues is not welcome. I wanted to avoid duplicating the information here and on my repo.