We have a .NET Standard library. It has code rules turned on. It has XAML files that generate code behinds. When we reference this library from our UWP app and try to run the UWP app, we get this error:
Severity Code Description Project File Line Suppression State
Error CA0001 CA0001 : An error was encountered while parsing IL for method: 'Adapt.Presentation.XamarinForms.SystemSetup.PagePanelSavePageContent.InitializeComponent', instruction at offset '0x387' with opcode 'Callvirt'. Active
I have logged this as a bug here:
Please either offer up your workarounds, or show the bug some love if you love code rulz.