mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
Each metadata tree node was projecting its rows into List<object> via Cast<object> before assigning to MetadataTablePageModel.Items. That collapsed the source's element type at the runtime interface chain — DataGridCollectionView.GetItemType walks IEnumerable<T> and only saw IEnumerable<object>, which made DataGridSortDescription.Initialize resolve a null propertyType, which made ReflectionHelper.GetNestedPropertyValue's "propertyInfo.PropertyType != propertyType" check return null for every row. Result: header click flipped the sort indicator but the row order never changed. Assisted-by: Claude:claude-opus-4-7:Claude Codepull/3755/head
11 changed files with 18 additions and 51 deletions
Loading…
Reference in new issue