Skip to content

Commit

Permalink
chore(deps): upgrade to .net 9 sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee committed Oct 22, 2024
1 parent a284684 commit 4e5c291
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Octokit.Webhooks",
"image": "mcr.microsoft.com/devcontainers/dotnet:dev-8.0",
"image": "mcr.microsoft.com/devcontainers/dotnet:dev-9.0",
"postCreateCommand": "dotnet restore",
"features": {
"ghcr.io/devcontainers/features/dotnet": {
Expand Down
4 changes: 2 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"sdk": {
"rollForward": "latestFeature",
"allowPrerelease": false,
"version": "8.0.403"
"allowPrerelease": true,
"version": "9.0.100-rc.2.24474.11"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ private static List<StringEnum<TEnum>> ReadInternal(ref Utf8JsonReader reader)
{
if (reader.TokenType != JsonTokenType.StartArray)
{
returnValue.Add((StringEnum<TEnum>)JsonSerializer.Deserialize(ref reader, typeof(StringEnum<TEnum>), Options)!);
returnValue.Add(JsonSerializer.Deserialize<StringEnum<TEnum>>(ref reader, Options)!);
}

reader.Read();
_ = reader.Read();
}

return returnValue!;
return returnValue;
}

private static void WriteInternal(Utf8JsonWriter writer, IEnumerable<StringEnum<TEnum>> value)
Expand Down

0 comments on commit 4e5c291

Please sign in to comment.