From 136f074956c107d829e3a32a718d0e7795e017ed Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 12 Nov 2026 06:58:41 +0000 Subject: [PATCH 1/2] chore(deps): update dependency csharpier.msbuild to 1.4.0 --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index be79f5f..9c84f51 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -4,7 +4,7 @@ true - + From bc5973d85a331da73d59ecc970dc34b1585ed2cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20St=C3=BChmer?= Date: Thu, 12 Nov 2026 21:55:07 +0100 Subject: [PATCH 2/2] style: apply csharpier 1.4.0 formatting --- .../Style/RequireNumericLiteralSuffixCodeFixProvider.cs | 5 ++--- .../Documentation/UseLangwordSuppressorTests.cs | 4 ++-- .../FrameworkReferences.cs | 3 +-- test/NetEvolve.Analyzer.Tests.Unit/FrameworkReferences.cs | 3 +-- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/NetEvolve.Analyzer/Style/RequireNumericLiteralSuffixCodeFixProvider.cs b/src/NetEvolve.Analyzer/Style/RequireNumericLiteralSuffixCodeFixProvider.cs index e779276..7e6eb0f 100644 --- a/src/NetEvolve.Analyzer/Style/RequireNumericLiteralSuffixCodeFixProvider.cs +++ b/src/NetEvolve.Analyzer/Style/RequireNumericLiteralSuffixCodeFixProvider.cs @@ -92,9 +92,8 @@ ImmutableArray validSuffixes // RS1010: the missing equivalence key is intentional here — see the comment above. #pragma warning disable RS1010 context.RegisterCodeFix( - CodeAction.Create( - $"Use the '{suffix}' suffix", - cancellationToken => AddSuffixAsync(context.Document, literal, suffix, cancellationToken) + CodeAction.Create($"Use the '{suffix}' suffix", cancellationToken => + AddSuffixAsync(context.Document, literal, suffix, cancellationToken) ), diagnostic ); diff --git a/test/NetEvolve.Analyzer.Tests.Integration/Documentation/UseLangwordSuppressorTests.cs b/test/NetEvolve.Analyzer.Tests.Integration/Documentation/UseLangwordSuppressorTests.cs index 6869a8b..76da596 100644 --- a/test/NetEvolve.Analyzer.Tests.Integration/Documentation/UseLangwordSuppressorTests.cs +++ b/test/NetEvolve.Analyzer.Tests.Integration/Documentation/UseLangwordSuppressorTests.cs @@ -225,8 +225,8 @@ internal static IEnumerable FirstParamElement(SyntaxNode root) => .Take(1) .Select(element => element.GetLocation()); - private readonly Func> _selectLocations = - selectLocations ?? AllCOrCodeElements; + private readonly Func> _selectLocations = selectLocations + ?? AllCOrCodeElements; public override ImmutableArray SupportedDiagnostics { get; } = ImmutableArray.Create(Descriptor); diff --git a/test/NetEvolve.Analyzer.Tests.Integration/FrameworkReferences.cs b/test/NetEvolve.Analyzer.Tests.Integration/FrameworkReferences.cs index c9bf618..1201cb4 100644 --- a/test/NetEvolve.Analyzer.Tests.Integration/FrameworkReferences.cs +++ b/test/NetEvolve.Analyzer.Tests.Integration/FrameworkReferences.cs @@ -18,8 +18,7 @@ private static ImmutableArray Resolve() { // .NET Framework (net472/net48/net481) doesn't populate TRUSTED_PLATFORM_ASSEMBLIES; fall back to // the assemblies already loaded into this AppDomain, which cover the BCL surface test sources need. - var trustedAssemblies = - (string?)AppContext.GetData("TRUSTED_PLATFORM_ASSEMBLIES") + var trustedAssemblies = (string?)AppContext.GetData("TRUSTED_PLATFORM_ASSEMBLIES") ?? string.Join( Path.PathSeparator.ToString(), AppDomain diff --git a/test/NetEvolve.Analyzer.Tests.Unit/FrameworkReferences.cs b/test/NetEvolve.Analyzer.Tests.Unit/FrameworkReferences.cs index e3f036d..08eb9c9 100644 --- a/test/NetEvolve.Analyzer.Tests.Unit/FrameworkReferences.cs +++ b/test/NetEvolve.Analyzer.Tests.Unit/FrameworkReferences.cs @@ -18,8 +18,7 @@ private static ImmutableArray Resolve() { // .NET Framework (net472/net48/net481) doesn't populate TRUSTED_PLATFORM_ASSEMBLIES; fall back to // the assemblies already loaded into this AppDomain, which cover the BCL surface test sources need. - var trustedAssemblies = - (string?)AppContext.GetData("TRUSTED_PLATFORM_ASSEMBLIES") + var trustedAssemblies = (string?)AppContext.GetData("TRUSTED_PLATFORM_ASSEMBLIES") ?? string.Join( Path.PathSeparator.ToString(), AppDomain