From 7131be0baec12b4968a7632da761806a2b2f67b4 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 1 Nov 2026 12:28:41 +0000 Subject: [PATCH] Regenerate CompatibilitySuppressions.xml after the Polyfill 11.4.5 bump [patch] Polyfill 11.4.5 changed which shim members are emitted per target framework. Package validation now reports 10 CP0014 and 1 CP0015 on the embedded ExperimentalAttribute and DefaultInterpolatedStringHandler shims (net8.0 to net9.0 and net9.0 to net10.0), and all 5 existing suppressions (4 CP0016 between net7.0 and net8.0, 1 CP0008 between netstandard2.0 and 2.1) no longer match anything. Release has failed at pack on every main run since Oct 14. The CI log lists each of these three times. Regenerated with -p:ApiCompatGenerateSuppressionFile=true. The diagnostics are all on Polyfill shim types, none on CodeBlocker's own API. Fixes #153 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017vfJW2yWAiM4Xm9iHUvALj --- CodeBlocker/CompatibilitySuppressions.xml | 76 +++++++++++++++++------ 1 file changed, 56 insertions(+), 20 deletions(-) diff --git a/CodeBlocker/CompatibilitySuppressions.xml b/CodeBlocker/CompatibilitySuppressions.xml index 9bd4b26..22034be 100644 --- a/CodeBlocker/CompatibilitySuppressions.xml +++ b/CodeBlocker/CompatibilitySuppressions.xml @@ -2,33 +2,69 @@ - CP0008 - T:ktsu.CodeBlocker.CodeBlocker - lib/netstandard2.0/ktsu.CodeBlocker.dll - lib/netstandard2.1/ktsu.CodeBlocker.dll + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.get_UrlFormat:[T:System.Runtime.CompilerServices.CompilerGeneratedAttribute] + lib/net8.0/ktsu.CodeBlocker.dll + lib/net9.0/ktsu.CodeBlocker.dll - CP0016 - T:ktsu.CodeBlocker.CodeBlocker:[T:System.Runtime.CompilerServices.NullableAttribute] - lib/net7.0/ktsu.CodeBlocker.dll - lib/net8.0/ktsu.CodeBlocker.dll + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.set_UrlFormat(System.String):[T:System.Runtime.CompilerServices.CompilerGeneratedAttribute] + lib/net8.0/ktsu.CodeBlocker.dll + lib/net9.0/ktsu.CodeBlocker.dll - CP0016 - T:ktsu.CodeBlocker.CodeBlocker:[T:System.Runtime.CompilerServices.NullableContextAttribute] - lib/net7.0/ktsu.CodeBlocker.dll - lib/net8.0/ktsu.CodeBlocker.dll + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.get_UrlFormat:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.CodeBlocker.dll + lib/net10.0/ktsu.CodeBlocker.dll - CP0016 - T:ktsu.CodeBlocker.Scope:[T:System.Runtime.CompilerServices.NullableAttribute] - lib/net7.0/ktsu.CodeBlocker.dll - lib/net8.0/ktsu.CodeBlocker.dll + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.set_UrlFormat(System.String):[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.CodeBlocker.dll + lib/net10.0/ktsu.CodeBlocker.dll - CP0016 - T:ktsu.CodeBlocker.Scope:[T:System.Runtime.CompilerServices.NullableContextAttribute] - lib/net7.0/ktsu.CodeBlocker.dll - lib/net8.0/ktsu.CodeBlocker.dll + CP0014 + M:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.#ctor(System.Int32,System.Int32,System.IFormatProvider,System.Span{System.Char}):[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.CodeBlocker.dll + lib/net10.0/ktsu.CodeBlocker.dll + + + CP0014 + M:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.AppendFormatted(System.ReadOnlySpan{System.Char},System.Int32,System.String):[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.CodeBlocker.dll + lib/net10.0/ktsu.CodeBlocker.dll + + + CP0014 + M:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.AppendFormatted(System.ReadOnlySpan{System.Char}):[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.CodeBlocker.dll + lib/net10.0/ktsu.CodeBlocker.dll + + + CP0014 + P:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.UrlFormat:[T:System.Runtime.CompilerServices.NullableAttribute] + lib/net9.0/ktsu.CodeBlocker.dll + lib/net10.0/ktsu.CodeBlocker.dll + + + CP0014 + T:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:[T:System.Runtime.CompilerServices.NullableAttribute] + lib/net9.0/ktsu.CodeBlocker.dll + lib/net10.0/ktsu.CodeBlocker.dll + + + CP0014 + T:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.CodeBlocker.dll + lib/net10.0/ktsu.CodeBlocker.dll + + + CP0015 + T:System.Diagnostics.CodeAnalysis.ExperimentalAttribute:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.CodeBlocker.dll + lib/net10.0/ktsu.CodeBlocker.dll \ No newline at end of file