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
Ignoring the collection expression issue which is tracked separately, this looks to be because we are failing to detect the get property initializer it seems. Doing the below instead does work.
public IReadOnlyList<ShaderRunnerViewModel> ComputeShaderOptions { get; } =
->
public IReadOnlyList<ShaderRunnerViewModel> ComputeShaderOptions = new ShaderRunnerViewModel[]
Describe the bug
To Reproduce
Triggered by this
ItemsSource
binding. The viewmodel property is this one.Works.
Crashes.
Note
I've tried using an array expression instead of a collection expression, I still get the same exact crash.
Stack trace
Expected behavior
Should work fine
Version Info
Latest from staging/AOT (016e9ec)
Additional context
Possibly related to #1661.
The text was updated successfully, but these errors were encountered: