Skip to content

Commit b8f1d50

Browse files
Merge pull request #34760 from dotnet/main
Merge to Live
2 parents 9271252 + ab45d91 commit b8f1d50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aspnetcore/release-notes/aspnetcore-10/includes/testAppsTopLevel.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Better support for testing apps with top-level statements
1+
### Better support for testing apps with top-level statements
22

33
.NET 10 now has better support for testing apps that use top-level statements. Previously developers had to manually add `public partial class Program` to the `Program.cs` file so that the test project could reference the `Program class`. This is because the top-level statement feature in C# 9 generated a `Program class` that was declared as internal.
44

@@ -9,4 +9,4 @@ In .NET 10, a source generator is used to generate the `public partial class Pro
99
The following PRs contribited to this feature:
1010

1111
- [PR 58199](https://github.com/dotnet/aspnetcore/pull/58199)
12-
- [PR 58482](https://github.com/dotnet/aspnetcore/pull/58482)
12+
- [PR 58482](https://github.com/dotnet/aspnetcore/pull/58482)

0 commit comments

Comments
 (0)