提交 2b1e5c0d 编写于 作者: M Manish Vasani

Address feedback

上级 a61cebd6
......@@ -65,7 +65,7 @@ public Task<SyntaxNode> ReplaceAsync(SyntaxNode memberDeclaration, SemanticModel
// then the replacement "M(out int _)" => "M(out _)" will cause overload resolution error.
// Bail out if replacement changes semantics.
var speculationAnalyzer = new SpeculationAnalyzer(declarationExpression,
replacementNode, semanticModel, cancellationToken, skipVerificationForReplacedNode: true);
replacementNode, semanticModel, cancellationToken);
if (!speculationAnalyzer.ReplacementChangesSemantics())
{
editor.ReplaceNode(declarationExpression, replacementNode);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册