From 466f22e92645e41b9a00fc080cbc55a123164fb1 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 1 Nov 2026 17:25:56 +0000 Subject: [PATCH] Add CompatibilitySuppressions.xml for the Polyfill 11.4.5 shim drift [patch] Polyfill 11.4.5 changed the nullable and compiler-generated attributes on its embedded ExperimentalAttribute and DefaultInterpolatedStringHandler shims, so package validation reported CP0014/CP0015 between the net8.0, net9.0 and net10.0 assets and every pack on main has failed since 2026-10-13. The diagnostics are on Polyfill's internal shims, not on DelegateTransform's API. Generated with `dotnet pack -c Release -p:ApiCompatGenerateSuppressionFile=true` on SDK 10.0.403. The 11 entries match the 11 diagnostics in the failing CI run 41251357978. Fixes #90 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017vfJW4kJTwmbNJbKX5P18J --- .../CompatibilitySuppressions.xml | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 DelegateTransform/CompatibilitySuppressions.xml diff --git a/DelegateTransform/CompatibilitySuppressions.xml b/DelegateTransform/CompatibilitySuppressions.xml new file mode 100644 index 0000000..77b6a7c --- /dev/null +++ b/DelegateTransform/CompatibilitySuppressions.xml @@ -0,0 +1,70 @@ + + + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.get_UrlFormat:[T:System.Runtime.CompilerServices.CompilerGeneratedAttribute] + lib/net8.0/ktsu.DelegateTransform.dll + lib/net9.0/ktsu.DelegateTransform.dll + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.set_UrlFormat(System.String):[T:System.Runtime.CompilerServices.CompilerGeneratedAttribute] + lib/net8.0/ktsu.DelegateTransform.dll + lib/net9.0/ktsu.DelegateTransform.dll + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.get_UrlFormat:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.DelegateTransform.dll + lib/net10.0/ktsu.DelegateTransform.dll + + + CP0014 + M:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.set_UrlFormat(System.String):[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.DelegateTransform.dll + lib/net10.0/ktsu.DelegateTransform.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.DelegateTransform.dll + lib/net10.0/ktsu.DelegateTransform.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.DelegateTransform.dll + lib/net10.0/ktsu.DelegateTransform.dll + + + CP0014 + M:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.AppendFormatted(System.ReadOnlySpan{System.Char}):[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.DelegateTransform.dll + lib/net10.0/ktsu.DelegateTransform.dll + + + CP0014 + P:System.Diagnostics.CodeAnalysis.ExperimentalAttribute.UrlFormat:[T:System.Runtime.CompilerServices.NullableAttribute] + lib/net9.0/ktsu.DelegateTransform.dll + lib/net10.0/ktsu.DelegateTransform.dll + + + CP0014 + T:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:[T:System.Runtime.CompilerServices.NullableAttribute] + lib/net9.0/ktsu.DelegateTransform.dll + lib/net10.0/ktsu.DelegateTransform.dll + + + CP0014 + T:System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.DelegateTransform.dll + lib/net10.0/ktsu.DelegateTransform.dll + + + CP0015 + T:System.Diagnostics.CodeAnalysis.ExperimentalAttribute:[T:System.Runtime.CompilerServices.NullableContextAttribute] + lib/net9.0/ktsu.DelegateTransform.dll + lib/net10.0/ktsu.DelegateTransform.dll + + \ No newline at end of file