Repository navigation
Conversation
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23678/wasm-skia-net9/index.html |
|
The build 221171 found UI Test snapshots differences: Details
|
The op_Explicit method was hand-emitted alongside the implicit conversion operators purely to preserve binary compatibility: C# forbids declaring both implicit and explicit conversions between the same two types (CS0557), and switching the historical explicit operator to implicit is a binary (not source) break. The shim kept old binaries that emitted an IL call to op_Explicit linking. At a major version that binary break is acceptable. There is no source break: C# explicit-cast syntax already binds to the implicit operator, and there are no in-repo callers of the literal method. Record the removed member in PackageDiffIgnore.xml (6.5 baseline) so the package-diff gate accepts the intentional break. Part of #2125 (Phase 3 breaking changes). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
a3a011c to
57727d9
Compare
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23678/wasm-skia-net9/index.html |
|
The build 221296 found UI Test snapshots differences: Details
|
GitHub Issue: unoplatform/uno-private#2125
PR Type:
💬 Other... — breaking change (binary-compat shim removal), part of the Uno 7.0 breaking-changes epic.
What changed? 🚀
Removes the hand-emitted
op_Explicitbinary-compatibility shim onMicrosoft.UI.Input.PointerPoint(BC43), leaving only the implicit conversion operators:public static PointerPoint op_Explicit(PointerPoint)method insrc/Uno.UI/UI/Input/WinRT/PointerPoint.cs. It was a manually-declared static method (name-matching the C# explicit-conversion operator) that existed solely to keep the historicalop_ExplicitIL symbol alive after the conversion was switched from explicit to implicit during the InteractionTracker work. C# forbids declaring both implicit and explicit conversions between the same two types (CS0557), so the raw method was hand-emitted next to the implicit operator and hidden with[EditorBrowsable(Never)].build/PackageDiffIgnore.xmlrecords the removed public member under the6.5baseline so the API-diff gate accepts the intentional binary break.specs/050-breaking-changes-rollup/spec.md).No behavioral change: the two
implicit operatorconversions between MUX and WUXPointerPointremain. Uno-internal explicit-cast call sites (e.g.PointerRoutedEventArgs) already bind to the implicit operator, and there are no in-repo callers of the literalop_Explicitmethod (the only other reference is a genericop_Implicit/op_Explicitname check inUno.ReferenceImplComparer, which needs no change).Validation:
Uno.UI.Skia(net10.0) builds clean (0 warnings, 0 errors). The package-diff gate itself only runs in CI against the released baseline; the ignore entry was format-verified against the tool'sSignatureExtensions.ToSignatureand the existing entries.PR Checklist ✅
Screenshots Compare Test Runresults.Breaking change — impact & migration path
Impact: Pure binary-compatibility break, not a source break. The only thing affected is a third-party binary compiled against an older Uno that emitted an IL
callto the literalop_Explicitmethod — it would throwMissingMethodExceptionat runtime. That symbol was[EditorBrowsable(Never)]and depending on it directly is extremely rare (practically near-zero real-world impact). C# source that casts a MUXPointerPointto a WUXPointerPoint— whether via explicit-cast syntax or implicitly — still compiles unchanged through the implicit operator.Migration: Recompile against 7.0. No source changes required. Binary compatibility is expected to break at a major version anyway.