From 73f86bc77778f3e5da245b88baeb7642805497bf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 22 Jul 2026 22:37:52 +0000 Subject: [PATCH 1/2] Bump jetbrains.resharper.globaltools from 2026.1.4 to 2026.2.0 --- updated-dependencies: - dependency-name: jetbrains.resharper.globaltools dependency-version: 2026.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .config/dotnet-tools.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 9eb9fad6c8..57e182e997 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "jetbrains.resharper.globaltools": { - "version": "2026.1.4", + "version": "2026.2.0", "commands": [ "jb" ], From 6f6cbb60d3b47582afefa5a0eda48dd5ac9cd1e2 Mon Sep 17 00:00:00 2001 From: Bart Koelman <10324372+bkoelman@users.noreply.github.com> Date: Sat, 18 Jul 2026 01:52:26 +0200 Subject: [PATCH 2/2] Adapt to new ReSharper settings --- JsonApiDotNetCore.slnx.DotSettings | 1 + test/TestBuildingBlocks/JsonApiStringConverter.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/JsonApiDotNetCore.slnx.DotSettings b/JsonApiDotNetCore.slnx.DotSettings index 8c39c0abcc..3429a9d6a1 100644 --- a/JsonApiDotNetCore.slnx.DotSettings +++ b/JsonApiDotNetCore.slnx.DotSettings @@ -605,6 +605,7 @@ True True True + True True Replace argument null check using throw expression with ArgumentNullException.ThrowIfNull True diff --git a/test/TestBuildingBlocks/JsonApiStringConverter.cs b/test/TestBuildingBlocks/JsonApiStringConverter.cs index 9bf008af4b..5bedbcdbfc 100644 --- a/test/TestBuildingBlocks/JsonApiStringConverter.cs +++ b/test/TestBuildingBlocks/JsonApiStringConverter.cs @@ -9,7 +9,7 @@ public static string ExtractErrorId(string responseBody) try { using JsonDocument document = JsonDocument.Parse(responseBody); - return document.RootElement.GetProperty("errors").EnumerateArray().Single()!.GetProperty("id").GetString()!; + return document.RootElement.GetProperty("errors").EnumerateArray().Single().GetProperty("id").GetString()!; } catch (Exception exception) {