From c51e3148debc8de125fcaa7ac0367ae0a92df786 Mon Sep 17 00:00:00 2001 From: Eilon Lipton Date: Mon, 18 May 2020 10:19:01 -0700 Subject: [PATCH] Fix variable naming for consistency --- .../Elements/Handlers/ElementHandler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.MobileBlazorBindings/Elements/Handlers/ElementHandler.cs b/src/Microsoft.MobileBlazorBindings/Elements/Handlers/ElementHandler.cs index dd6b9c4d..05ac7125 100644 --- a/src/Microsoft.MobileBlazorBindings/Elements/Handlers/ElementHandler.cs +++ b/src/Microsoft.MobileBlazorBindings/Elements/Handlers/ElementHandler.cs @@ -106,10 +106,10 @@ public virtual int GetPhysicalSiblingIndex() // A ContentPage can have only 1 child, so the child's index is always 0. return 0; } - case XF.TabbedPage tabbedPage: + case XF.TabbedPage parentAsTabbedPage: { var childAsPage = nativeComponent as XF.Page; - return tabbedPage.Children.IndexOf(childAsPage); + return parentAsTabbedPage.Children.IndexOf(childAsPage); } case XF.ScrollView _: {