Skip to content

Commit

Permalink
Update to .NET 9
Browse files Browse the repository at this point in the history
  • Loading branch information
k94ll13nn3 committed Nov 17, 2024
1 parent 278ddf0 commit ec7a587
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "8.0.300",
"version": "9.0.100",
"rollForward": "latestMajor",
"allowPrerelease": false
}
Expand Down
2 changes: 1 addition & 1 deletion tests/AutoConstructor.Tests/AutoConstructor.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static Task RunAsync(
string? additionalProjectsSource = null,
bool runWithNullChecks = true)
{
return RunAsync(code, new[] { (generated, generatedName) }, nullable, diagnostics, configFileContent, additionalProjectsSource, runWithNullChecks);
return RunAsync(code, [(generated, generatedName)], nullable, diagnostics, configFileContent, additionalProjectsSource, runWithNullChecks);
}

public static async Task RunAsync(
Expand Down

0 comments on commit ec7a587

Please sign in to comment.