You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Binding this with PublishAoT causes a runtime crash:
{get{vargroups=(fromiteminSamples
orderby item.Category
group item by item.Category into gselectnewSampleGroup(g){Key=g.Key??"Misc"});returngroups;// If you add .ToList() here no crash}}CollectionViewSourcem_CollectionViewSource;publicCollectionViewSourceCollectionViewSource{get{if(m_CollectionViewSource==null){m_CollectionViewSource=newCollectionViewSource(){IsSourceGrouped=true,Source=SamplesByCategory,ItemsPath=newPropertyPath("Items")};}returnm_CollectionViewSource;}}}
Revisiting this I can't even assign a List<string> or string[] to the ItemsSource property of a ListView without getting the (unhelpful) System.ArgumentException: 'Value does not fall within the expected range.' error.
`
Description
Binding this with PublishAoT causes a runtime crash:
Steps To Reproduce
Expected Behavior
No crash ;-)
Version Info
Additional Context
No response
The text was updated successfully, but these errors were encountered: