This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug][Shapes] Shapes demos has some invalid IL code once updated to 4.8-pre2 #11541
Labels
a/shapes
a/Xaml </>
e/5 🕔
5
i/high
Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often
t/bug 🐛
Description
I've just updated my Shapes demos sample from 4.7 to 4.8-pre2, in order to try Shapes with Brushes. As a result there are
InvalidProgramException
s in two pages.Steps to Reproduce
Expected Behavior
Pages load and work as expected.
Actual Behavior
InvalidOperationException
on those pages: Invalid IL codeSystem.InvalidProgramException: Invalid IL code in ShapesDemos.ClipDemoPage:InitializeComponent (): IL_04d6: box 0x01000054
at ShapesDemos.ClipDemoPage..ctor () [0x00008] in /Users/davidbritch/repos/xamarin-forms-samples/UserInterface/ShapesDemos/ShapesDemos/Views/ClipDemoPage.xaml.cs:9
at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/mcs/class/corlib/System.Reflection/RuntimeMethodInfo.cs:936
Basic Information
Reproduction Link
ShapesDemos.zip
The text was updated successfully, but these errors were encountered: