Exception:未能比较数组中的两个元素。尚未设置 Order 属性。使用 GetOrder 方法获取值。

报错信息

InvalidOperationException
   在 System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
   在 System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer`1 comparer)
   在 System.Collections.Generic.List`1.Sort(Comparison`1 comparison)
   在 Quicker.Utilities.Ext.CollectionExt.Sort[T](ObservableCollection`1 collection, Comparison`1 comparison)
   在 Quicker.View.X.XActionUiHelper.SortVariableListByType(ObservableCollection`1 variables)
   在 Quicker.View.X.Controls.VariableListControl.Ihx6gR4HSI9(Object  , RoutedEventArgs  )
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

InvalidOperationException
尚未设置 Order 属性。使用 GetOrder 方法获取值。
   在 System.ComponentModel.DataAnnotations.DisplayAttribute.get_Order()
   在 Quicker.View.X.XActionUiHelper.gbc6in5o6KF(VarType  )
   在 Quicker.View.X.XActionUiHelper.<>c.U6Qvid0ySGssVYDUu9cD(VarType  )
   在 Quicker.View.X.XActionUiHelper.<>c.cu8Sl3madsr(ActionVariable a, ActionVariable b)
   在 System.Collections.Generic.ArraySortHelper`1.InsertionSort(T[] keys, Int32 lo, Int32 hi, IComparer`1 comparer)
   在 System.Collections.Generic.ArraySortHelper`1.IntrospectiveSort(T[] keys, Int32 left, Int32 length, IComparer`1 comparer)
   在 System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer) 

解决方法

暂无解决方案。

相关信息
0 查看
2021-10-26 14:31
Quicker版本
版本 反馈次数