From 6c0265b6e87924b89780d9f5c994e951b991a179 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Sat, 22 Feb 2020 10:53:20 +0100 Subject: [PATCH] Fix comment. Fix spelling, and `VectorView` is `IReadOnlyList` in C#. --- src/Avalonia.Controls/SelectionModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Controls/SelectionModel.cs b/src/Avalonia.Controls/SelectionModel.cs index 5eb2a2da0a..023c4ee65e 100644 --- a/src/Avalonia.Controls/SelectionModel.cs +++ b/src/Avalonia.Controls/SelectionModel.cs @@ -227,7 +227,7 @@ namespace Avalonia.Controls } // Instead of creating a dumb vector that takes up the space for all the selected items, - // we create a custom VectorView implimentation that calls back using a delegate to find + // we create a custom IReadOnlyList implementation that calls back using a delegate to find // the selected item at a particular index. This avoid having to create the storage and copying // needed in a dumb vector. This also allows us to expose a tree of selected nodes into an // easier to consume flat vector view of objects.