From fafc4341338b15abfa3d8186fee31d77ddd13659 Mon Sep 17 00:00:00 2001 From: ds5678 <49847914+ds5678@users.noreply.github.com> Date: Thu, 2 Oct 2025 12:09:59 -0700 Subject: [PATCH] Formatting --- .github/workflows/build-ilspy.yml | 6 +++--- .../TestCases/Pretty/Issue3571_C.cs | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-ilspy.yml b/.github/workflows/build-ilspy.yml index e9d1fe4cc..f071a03e6 100644 --- a/.github/workflows/build-ilspy.yml +++ b/.github/workflows/build-ilspy.yml @@ -65,6 +65,9 @@ jobs: - name: Build run: msbuild ILSpy.sln /p:Configuration=${{ matrix.configuration }} /p:Platform=$env:BuildPlatform /m + - name: Format check + run: dotnet-format whitespace --verify-no-changes --verbosity detailed ILSpy.sln + - name: Execute unit tests run: dotnet test --solution ilspy.sln --configuration ${{ matrix.configuration }} --no-build --report-trx --results-directory test-results/${{ matrix.configuration }} @@ -81,9 +84,6 @@ jobs: with: paths: "test-results/${{ matrix.configuration }}/*.trx" folded: true - - - name: Format check - run: dotnet-format whitespace --verify-no-changes --verbosity detailed ILSpy.sln - name: Verify package contents if: matrix.configuration == 'debug' diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3571_C.cs b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3571_C.cs index e8da53842..8f20467df 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3571_C.cs +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3571_C.cs @@ -1,5 +1,6 @@ using System; using System.Runtime.InteropServices; + using ICSharpCode.Decompiler.Tests.TestCases.Pretty.Issue3571_Helper; namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty