Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Ungureanu <marius.ungureanu@xamarin.com>2016-09-26 01:16:38 +0300
committerMarius Ungureanu <marius.ungureanu@xamarin.com>2016-09-26 01:16:38 +0300
commitbdd56ad5afb8499fbd0f8cfeb3cde51937c06bb2 (patch)
tree7b6e69f57614ecfdc099afdea5b64612fd963ee7 /Xwt.Gtk/Xwt.GtkBackend/TreeViewBackend.cs
parentb5fe8830fd79b53241f13a196c5d86435ddc4db9 (diff)
[Perf] Misc method groups instead of linq where applicable.
Diffstat (limited to 'Xwt.Gtk/Xwt.GtkBackend/TreeViewBackend.cs')
-rw-r--r--Xwt.Gtk/Xwt.GtkBackend/TreeViewBackend.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xwt.Gtk/Xwt.GtkBackend/TreeViewBackend.cs b/Xwt.Gtk/Xwt.GtkBackend/TreeViewBackend.cs
index a2d04ee4..2a5d1f28 100644
--- a/Xwt.Gtk/Xwt.GtkBackend/TreeViewBackend.cs
+++ b/Xwt.Gtk/Xwt.GtkBackend/TreeViewBackend.cs
@@ -342,7 +342,7 @@ namespace Xwt.GtkBackend
TreePosition toggledItem = null;
- var pathParts = path.Split (':').Select (part => int.Parse (part));
+ var pathParts = path.Split (':').Select (int.Parse);
foreach (int pathPart in pathParts) {
toggledItem = treeFrontend.DataSource.GetChild (toggledItem, pathPart);