提交 5bac5ce2 编写于 作者: P Petr Houska

Fix bug introduced in 023d499

上级 df83c635
......@@ -61,7 +61,7 @@ public override async Task ComputeRefactoringsAsync(CodeRefactoringContext conte
}
syntaxFacts.GetPartsOfTupleExpression<TArgumentSyntax>(tuple, out _, out var arguments, out _);
var argumentIndex = potentialArguments.IndexOf(argument);
var argumentIndex = arguments.IndexOf(argument);
var elements = tupleType.TupleElements;
if (elements.IsDefaultOrEmpty || argumentIndex >= elements.Length)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册