File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Controls Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2055,7 +2055,8 @@ void AddEmptyGroupItem(CollectionViewGroup group)
20552055
20562056 // add it to the list of placeholder items (this keeps it from being GC'd)
20572057 if ( _emptyGroupItems == null )
2058- _emptyGroupItems = new ArrayList ( ) ;
2058+ _emptyGroupItems = new List < EmptyGroupItem > ( ) ;
2059+
20592060 _emptyGroupItems . Add ( emptyGroupItem ) ;
20602061 }
20612062
@@ -2792,7 +2793,7 @@ void OnRefresh()
27922793 private ReadOnlyCollection < object > _itemsReadOnly ;
27932794 private GroupStyle _groupStyle ;
27942795 private ItemContainerGenerator _parent ;
2795- private ArrayList _emptyGroupItems ;
2796+ private List < EmptyGroupItem > _emptyGroupItems ;
27962797 private int _alternationCount ;
27972798
27982799 private Type _containerType ; // type of containers on the recycle queue
You can’t perform that action at this time.
0 commit comments