提交 e19060e3 编写于 作者: S Sam Harwell

Fix formatting nits

上级 faef9a19
......@@ -63,8 +63,8 @@ private static ExpressionSyntax GetCondition(SyntaxNode node)
}
private static void AddEdits(
SyntaxEditor editor,
Diagnostic diagnostic,
SyntaxEditor editor,
Diagnostic diagnostic,
CancellationToken cancellationToken)
{
var localDeclarationLocation = diagnostic.AdditionalLocations[0];
......@@ -90,7 +90,7 @@ private static ExpressionSyntax GetCondition(SyntaxNode node)
var declarationIndex = block.Statements.IndexOf(localDeclaration);
// Trivia on the local declaration will move to the next statement.
// use the callback form as the next statement may be the place where we're
// use the callback form as the next statement may be the place where we're
// inlining the declaration, and thus need to see the effects of that change.
editor.ReplaceNode(
block.Statements[declarationIndex + 1],
......@@ -112,4 +112,4 @@ public MyCodeAction(Func<CancellationToken, Task<Document>> createChangedDocumen
}
}
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册