diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/MePullParser.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/MePullParser.cs index cf01a6011e9..c2943d93b70 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/MePullParser.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/MePullParser.cs @@ -495,8 +495,6 @@ private XamlNode Logic_EndPositionalParameters() // stack, but were not pushed onto the parser stack, so the // ME is still the CurrentType for us. - XamlType xamlType = _context.CurrentType; - _context.CurrentArgCount = 0; _context.CurrentMember = null; return new XamlNode(XamlNodeType.EndMember);